Snapshot
Manages a NetApp Snapshot.
Create a Snapshot Resource
new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);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:
- Account
Name string 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 string 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 stringName The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- Volume
Name 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.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Account
Name string 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 string 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 stringName The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- Volume
Name 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.
- map[string]string
A mapping of tags to assign to the resource.
- account
Name string 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 string 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 stringName The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- volume
Name 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.
- {[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_ strname 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.
- 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:
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): Snapshotstatic 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:
- Account
Name 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.
- Pool
Name string 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 stringName The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Volume
Name 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 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.
- Pool
Name string 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 stringName The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- Volume
Name 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 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.
- pool
Name string 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 stringName The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- volume
Name 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_ strname The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
- 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
azurermTerraform Provider.