Class Volume
Manages a NetApp Volume.
Inherited Members
Namespace: Pulumi.Azure.NetApp
Assembly: Pulumi.Azure.dll
Syntax
public class Volume : CustomResource
Constructors
View SourceVolume(String, VolumeArgs, CustomResourceOptions)
Create a Volume resource with the given unique name, arguments, and options.
Declaration
public Volume(string name, VolumeArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| VolumeArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountName
The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> AccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ExportPolicyRules
One or more export_policy_rule block defined below.
Declaration
public Output<ImmutableArray<VolumeExportPolicyRule>> ExportPolicyRules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<VolumeExportPolicyRule>> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MountIpAddresses
A list of IPv4 Addresses which should be used to mount the volume.
Declaration
public Output<ImmutableArray<string>> MountIpAddresses { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Name
The name of the NetApp Volume. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PoolName
The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> PoolName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Protocols
The target volume protocol expressed as a list. Supported single value include CIFS, NFSv3, or NFSv4.1. If argument is not defined it will default to NFSv3. Changing this forces a new resource to be created and data will be lost.
Declaration
public Output<ImmutableArray<string>> Protocols { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
ResourceGroupName
The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceLevel
The target performance of the file system. Valid values include Premium, Standard, or Ultra.
Declaration
public Output<string> ServiceLevel { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StorageQuotaInGb
The maximum Storage Quota allowed for a file system in Gigabytes.
Declaration
public Output<int> StorageQuotaInGb { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
SubnetId
The ID of the Subnet the NetApp Volume resides in, which must have the Microsoft.NetApp/volumes delegation. Changing this forces a new resource to be created.
Declaration
public Output<string> SubnetId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
VolumePath
A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
Declaration
public Output<string> VolumePath { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, VolumeState, CustomResourceOptions)
Get an existing Volume resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Volume Get(string name, Input<string> id, VolumeState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| VolumeState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Volume |