Show / Hide Table of Contents

Class Volume

Manages a NetApp Volume.

Inheritance
System.Object
Resource
CustomResource
Volume
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.NetApp
Assembly: Pulumi.Azure.dll
Syntax
public class Volume : CustomResource

Constructors

View Source

Volume(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 Source

AccountName

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>
View Source

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>>
View Source

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>
View Source

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>>
View Source

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>
View Source

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>
View Source

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>>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.