Snapshot

Manages a NetApp Snapshot.

Create a Snapshot Resource

def Snapshot(resource_name, opts=None, account_name=None, location=None, name=None, pool_name=None, resource_group_name=None, tags=None, volume_name=None, __props__=None);
func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)
public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SnapshotArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Snapshot Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Snapshot resource accepts the following input properties:

AccountName string

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

PoolName string

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

VolumeName string

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

AccountName string

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

PoolName string

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

VolumeName string

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

accountName string

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

poolName string

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

volumeName string

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

account_name str

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

pool_name str

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

volume_name str

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Snapshot Resource

Get an existing Snapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SnapshotState, opts?: CustomResourceOptions): Snapshot
static get(resource_name, id, opts=None, account_name=None, location=None, name=None, pool_name=None, resource_group_name=None, tags=None, volume_name=None, __props__=None);
func GetSnapshot(ctx *Context, name string, id IDInput, state *SnapshotState, opts ...ResourceOption) (*Snapshot, error)
public static Snapshot Get(string name, Input<string> id, SnapshotState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccountName string

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

PoolName string

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

VolumeName string

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

AccountName string

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

Location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

PoolName string

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

VolumeName string

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

accountName string

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

location string

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

poolName string

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

volumeName string

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

account_name str

The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

location str

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

The name of the NetApp Snapshot. Changing this forces a new resource to be created.

pool_name str

The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

volume_name str

The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.