netapp

package
v3.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// A `activeDirectory` block as defined below.
	ActiveDirectory AccountActiveDirectoryPtrOutput `pulumi:"activeDirectory"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the NetApp Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a NetApp Account.

> **NOTE:** Azure allows only one active directory can be joined to a single subscription at a time for NetApp Account.

## NetApp Account Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			ActiveDirectory: &netapp.AccountActiveDirectoryArgs{
				Username:      pulumi.String("aduser"),
				Password:      pulumi.String("aduserpwd"),
				SmbServerName: pulumi.String("SMBSERVER"),
				DnsServers: pulumi.StringArray{
					pulumi.String("1.2.3.4"),
				},
				Domain:             pulumi.String("westcentralus.com"),
				OrganizationalUnit: pulumi.String("OU=FirstLevel"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NetApp Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:netapp/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1

```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

func (*Account) ElementType added in v3.31.1

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput added in v3.31.1

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext added in v3.31.1

func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

func (*Account) ToAccountPtrOutput added in v3.47.1

func (i *Account) ToAccountPtrOutput() AccountPtrOutput

func (*Account) ToAccountPtrOutputWithContext added in v3.47.1

func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountActiveDirectory

type AccountActiveDirectory struct {
	// A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address.
	DnsServers []string `pulumi:"dnsServers"`
	// The name of the Active Directory domain.
	Domain string `pulumi:"domain"`
	// The Organizational Unit (OU) within the Active Directory Domain.
	OrganizationalUnit *string `pulumi:"organizationalUnit"`
	// The password associated with the `username`.
	Password string `pulumi:"password"`
	// The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes.
	SmbServerName string `pulumi:"smbServerName"`
	// The Username of Active Directory Domain Administrator.
	Username string `pulumi:"username"`
}

type AccountActiveDirectoryArgs

type AccountActiveDirectoryArgs struct {
	// A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address.
	DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
	// The name of the Active Directory domain.
	Domain pulumi.StringInput `pulumi:"domain"`
	// The Organizational Unit (OU) within the Active Directory Domain.
	OrganizationalUnit pulumi.StringPtrInput `pulumi:"organizationalUnit"`
	// The password associated with the `username`.
	Password pulumi.StringInput `pulumi:"password"`
	// The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes.
	SmbServerName pulumi.StringInput `pulumi:"smbServerName"`
	// The Username of Active Directory Domain Administrator.
	Username pulumi.StringInput `pulumi:"username"`
}

func (AccountActiveDirectoryArgs) ElementType

func (AccountActiveDirectoryArgs) ElementType() reflect.Type

func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutput

func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput

func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutputWithContext

func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutputWithContext(ctx context.Context) AccountActiveDirectoryOutput

func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutput

func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput

func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutputWithContext

func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput

type AccountActiveDirectoryInput

type AccountActiveDirectoryInput interface {
	pulumi.Input

	ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput
	ToAccountActiveDirectoryOutputWithContext(context.Context) AccountActiveDirectoryOutput
}

AccountActiveDirectoryInput is an input type that accepts AccountActiveDirectoryArgs and AccountActiveDirectoryOutput values. You can construct a concrete instance of `AccountActiveDirectoryInput` via:

AccountActiveDirectoryArgs{...}

type AccountActiveDirectoryOutput

type AccountActiveDirectoryOutput struct{ *pulumi.OutputState }

func (AccountActiveDirectoryOutput) DnsServers

A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address.

func (AccountActiveDirectoryOutput) Domain

The name of the Active Directory domain.

func (AccountActiveDirectoryOutput) ElementType

func (AccountActiveDirectoryOutput) OrganizationalUnit

func (o AccountActiveDirectoryOutput) OrganizationalUnit() pulumi.StringPtrOutput

The Organizational Unit (OU) within the Active Directory Domain.

func (AccountActiveDirectoryOutput) Password

The password associated with the `username`.

func (AccountActiveDirectoryOutput) SmbServerName

The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes.

func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutput

func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput

func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutputWithContext

func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutputWithContext(ctx context.Context) AccountActiveDirectoryOutput

func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutput

func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput

func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutputWithContext

func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput

func (AccountActiveDirectoryOutput) Username

The Username of Active Directory Domain Administrator.

type AccountActiveDirectoryPtrInput

type AccountActiveDirectoryPtrInput interface {
	pulumi.Input

	ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
	ToAccountActiveDirectoryPtrOutputWithContext(context.Context) AccountActiveDirectoryPtrOutput
}

AccountActiveDirectoryPtrInput is an input type that accepts AccountActiveDirectoryArgs, AccountActiveDirectoryPtr and AccountActiveDirectoryPtrOutput values. You can construct a concrete instance of `AccountActiveDirectoryPtrInput` via:

        AccountActiveDirectoryArgs{...}

or:

        nil

type AccountActiveDirectoryPtrOutput

type AccountActiveDirectoryPtrOutput struct{ *pulumi.OutputState }

func (AccountActiveDirectoryPtrOutput) DnsServers

A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address.

func (AccountActiveDirectoryPtrOutput) Domain

The name of the Active Directory domain.

func (AccountActiveDirectoryPtrOutput) Elem

func (AccountActiveDirectoryPtrOutput) ElementType

func (AccountActiveDirectoryPtrOutput) OrganizationalUnit

The Organizational Unit (OU) within the Active Directory Domain.

func (AccountActiveDirectoryPtrOutput) Password

The password associated with the `username`.

func (AccountActiveDirectoryPtrOutput) SmbServerName

The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes.

func (AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutput

func (o AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput

func (AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutputWithContext

func (o AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput

func (AccountActiveDirectoryPtrOutput) Username

The Username of Active Directory Domain Administrator.

type AccountArgs

type AccountArgs struct {
	// A `activeDirectory` block as defined below.
	ActiveDirectory AccountActiveDirectoryPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray added in v3.47.1

type AccountArray []AccountInput

func (AccountArray) ElementType added in v3.47.1

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput added in v3.47.1

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext added in v3.47.1

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput added in v3.47.1

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput added in v3.47.1

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType added in v3.47.1

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index added in v3.47.1

func (AccountArrayOutput) ToAccountArrayOutput added in v3.47.1

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext added in v3.47.1

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountInput added in v3.31.1

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountMap added in v3.47.1

type AccountMap map[string]AccountInput

func (AccountMap) ElementType added in v3.47.1

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput added in v3.47.1

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext added in v3.47.1

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput added in v3.47.1

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput added in v3.47.1

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType added in v3.47.1

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex added in v3.47.1

func (AccountMapOutput) ToAccountMapOutput added in v3.47.1

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext added in v3.47.1

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountOutput added in v3.31.1

type AccountOutput struct {
	*pulumi.OutputState
}

func (AccountOutput) ElementType added in v3.31.1

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput added in v3.31.1

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext added in v3.31.1

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

func (AccountOutput) ToAccountPtrOutput added in v3.47.1

func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput

func (AccountOutput) ToAccountPtrOutputWithContext added in v3.47.1

func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountPtrInput added in v3.47.1

type AccountPtrInput interface {
	pulumi.Input

	ToAccountPtrOutput() AccountPtrOutput
	ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
}

type AccountPtrOutput added in v3.47.1

type AccountPtrOutput struct {
	*pulumi.OutputState
}

func (AccountPtrOutput) ElementType added in v3.47.1

func (AccountPtrOutput) ElementType() reflect.Type

func (AccountPtrOutput) ToAccountPtrOutput added in v3.47.1

func (o AccountPtrOutput) ToAccountPtrOutput() AccountPtrOutput

func (AccountPtrOutput) ToAccountPtrOutputWithContext added in v3.47.1

func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountState

type AccountState struct {
	// A `activeDirectory` block as defined below.
	ActiveDirectory AccountActiveDirectoryPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type GetVolumeDataProtectionReplication added in v3.49.0

type GetVolumeDataProtectionReplication struct {
	EndpointType           string `pulumi:"endpointType"`
	RemoteVolumeLocation   string `pulumi:"remoteVolumeLocation"`
	RemoteVolumeResourceId string `pulumi:"remoteVolumeResourceId"`
	ReplicationSchedule    string `pulumi:"replicationSchedule"`
}

type GetVolumeDataProtectionReplicationArgs added in v3.49.0

type GetVolumeDataProtectionReplicationArgs struct {
	EndpointType           pulumi.StringInput `pulumi:"endpointType"`
	RemoteVolumeLocation   pulumi.StringInput `pulumi:"remoteVolumeLocation"`
	RemoteVolumeResourceId pulumi.StringInput `pulumi:"remoteVolumeResourceId"`
	ReplicationSchedule    pulumi.StringInput `pulumi:"replicationSchedule"`
}

func (GetVolumeDataProtectionReplicationArgs) ElementType added in v3.49.0

func (GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutput added in v3.49.0

func (i GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput

func (GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutputWithContext added in v3.49.0

func (i GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationOutput

type GetVolumeDataProtectionReplicationArray added in v3.49.0

type GetVolumeDataProtectionReplicationArray []GetVolumeDataProtectionReplicationInput

func (GetVolumeDataProtectionReplicationArray) ElementType added in v3.49.0

func (GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutput added in v3.49.0

func (i GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput

func (GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutputWithContext added in v3.49.0

func (i GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationArrayOutput

type GetVolumeDataProtectionReplicationArrayInput added in v3.49.0

type GetVolumeDataProtectionReplicationArrayInput interface {
	pulumi.Input

	ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput
	ToGetVolumeDataProtectionReplicationArrayOutputWithContext(context.Context) GetVolumeDataProtectionReplicationArrayOutput
}

GetVolumeDataProtectionReplicationArrayInput is an input type that accepts GetVolumeDataProtectionReplicationArray and GetVolumeDataProtectionReplicationArrayOutput values. You can construct a concrete instance of `GetVolumeDataProtectionReplicationArrayInput` via:

GetVolumeDataProtectionReplicationArray{ GetVolumeDataProtectionReplicationArgs{...} }

type GetVolumeDataProtectionReplicationArrayOutput added in v3.49.0

type GetVolumeDataProtectionReplicationArrayOutput struct{ *pulumi.OutputState }

func (GetVolumeDataProtectionReplicationArrayOutput) ElementType added in v3.49.0

func (GetVolumeDataProtectionReplicationArrayOutput) Index added in v3.49.0

func (GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutput added in v3.49.0

func (o GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput

func (GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutputWithContext added in v3.49.0

func (o GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationArrayOutput

type GetVolumeDataProtectionReplicationInput added in v3.49.0

type GetVolumeDataProtectionReplicationInput interface {
	pulumi.Input

	ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput
	ToGetVolumeDataProtectionReplicationOutputWithContext(context.Context) GetVolumeDataProtectionReplicationOutput
}

GetVolumeDataProtectionReplicationInput is an input type that accepts GetVolumeDataProtectionReplicationArgs and GetVolumeDataProtectionReplicationOutput values. You can construct a concrete instance of `GetVolumeDataProtectionReplicationInput` via:

GetVolumeDataProtectionReplicationArgs{...}

type GetVolumeDataProtectionReplicationOutput added in v3.49.0

type GetVolumeDataProtectionReplicationOutput struct{ *pulumi.OutputState }

func (GetVolumeDataProtectionReplicationOutput) ElementType added in v3.49.0

func (GetVolumeDataProtectionReplicationOutput) EndpointType added in v3.49.0

func (GetVolumeDataProtectionReplicationOutput) RemoteVolumeLocation added in v3.49.0

func (GetVolumeDataProtectionReplicationOutput) RemoteVolumeResourceId added in v3.49.0

func (GetVolumeDataProtectionReplicationOutput) ReplicationSchedule added in v3.49.0

func (GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutput added in v3.49.0

func (o GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput

func (GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutputWithContext added in v3.49.0

func (o GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationOutput

type LookupAccountArgs

type LookupAccountArgs struct {
	// The name of the NetApp Account.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the NetApp Account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

type LookupAccountResult

type LookupAccountResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the NetApp Account exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of values returned by getAccount.

func LookupAccount

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

Uses this data source to access information about an existing NetApp Account.

## NetApp Account Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := netapp.LookupAccount(ctx, &netapp.LookupAccountArgs{
			ResourceGroupName: "acctestRG",
			Name:              "acctestnetappaccount",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("netappAccountId", example.Id)
		return nil
	})
}

```

type LookupPoolArgs

type LookupPoolArgs struct {
	// The name of the NetApp account where the NetApp pool exists.
	AccountName string `pulumi:"accountName"`
	// The name of the NetApp Pool.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the NetApp Pool exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getPool.

type LookupPoolResult

type LookupPoolResult struct {
	AccountName string `pulumi:"accountName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the NetApp Pool exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The service level of the file system.
	ServiceLevel string `pulumi:"serviceLevel"`
	// Provisioned size of the pool in TB.
	SizeInTb int `pulumi:"sizeInTb"`
}

A collection of values returned by getPool.

func LookupPool

func LookupPool(ctx *pulumi.Context, args *LookupPoolArgs, opts ...pulumi.InvokeOption) (*LookupPoolResult, error)

Uses this data source to access information about an existing NetApp Pool.

## NetApp Pool Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := netapp.LookupPool(ctx, &netapp.LookupPoolArgs{
			ResourceGroupName: "acctestRG",
			AccountName:       "acctestnetappaccount",
			Name:              "acctestnetapppool",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("netappPoolId", example.Id)
		return nil
	})
}

```

type LookupSnapshotArgs

type LookupSnapshotArgs struct {
	// The name of the NetApp Account where the NetApp Pool exists.
	AccountName string `pulumi:"accountName"`
	// The name of the NetApp Snapshot.
	Name string `pulumi:"name"`
	// The name of the NetApp Pool where the NetApp Volume exists.
	PoolName string `pulumi:"poolName"`
	// The Name of the Resource Group where the NetApp Snapshot exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the NetApp Volume where the NetApp Snapshot exists.
	VolumeName string `pulumi:"volumeName"`
}

A collection of arguments for invoking getSnapshot.

type LookupSnapshotResult

type LookupSnapshotResult struct {
	AccountName string `pulumi:"accountName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the NetApp Snapshot exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	PoolName          string `pulumi:"poolName"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	VolumeName        string `pulumi:"volumeName"`
}

A collection of values returned by getSnapshot.

func LookupSnapshot

func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)

Uses this data source to access information about an existing NetApp Snapshot.

## NetApp Snapshot Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := netapp.LookupSnapshot(ctx, &netapp.LookupSnapshotArgs{
			ResourceGroupName: "acctestRG",
			Name:              "acctestnetappsnapshot",
			AccountName:       "acctestnetappaccount",
			PoolName:          "acctestnetapppool",
			VolumeName:        "acctestnetappvolume",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("netappSnapshotId", data.Azurerm_netapp_snapshot.Example.Id)
		return nil
	})
}

```

type LookupVolumeArgs

type LookupVolumeArgs struct {
	// The name of the NetApp account where the NetApp pool exists.
	AccountName string `pulumi:"accountName"`
	// The name of the NetApp Volume.
	Name string `pulumi:"name"`
	// The name of the NetApp pool where the NetApp volume exists.
	PoolName string `pulumi:"poolName"`
	// The Name of the Resource Group where the NetApp Volume exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeResult

type LookupVolumeResult struct {
	AccountName                string                               `pulumi:"accountName"`
	DataProtectionReplications []GetVolumeDataProtectionReplication `pulumi:"dataProtectionReplications"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region where the NetApp Volume exists.
	Location string `pulumi:"location"`
	// A list of IPv4 Addresses which should be used to mount the volume.
	MountIpAddresses  []string `pulumi:"mountIpAddresses"`
	Name              string   `pulumi:"name"`
	PoolName          string   `pulumi:"poolName"`
	Protocols         []string `pulumi:"protocols"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// The service level of the file system.
	ServiceLevel string `pulumi:"serviceLevel"`
	// The maximum Storage Quota in Gigabytes allowed for a file system.
	StorageQuotaInGb int `pulumi:"storageQuotaInGb"`
	// The ID of a Subnet in which the NetApp Volume resides.
	SubnetId string `pulumi:"subnetId"`
	// The unique file path of the volume.
	VolumePath string `pulumi:"volumePath"`
}

A collection of values returned by getVolume.

func LookupVolume

func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)

Uses this data source to access information about an existing NetApp Volume.

## NetApp Volume Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := netapp.LookupVolume(ctx, &netapp.LookupVolumeArgs{
			ResourceGroupName: "acctestRG",
			AccountName:       "acctestnetappaccount",
			PoolName:          "acctestnetapppool",
			Name:              "example-volume",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("netappVolumeId", example.Id)
		return nil
	})
}

```

type Pool

type Pool struct {
	pulumi.CustomResourceState

	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the NetApp Pool. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The service level of the file system. Valid values include `Premium`, `Standard`, or `Ultra`.
	ServiceLevel pulumi.StringOutput `pulumi:"serviceLevel"`
	// Provisioned size of the pool in TB. Value must be between `4` and `500`.
	SizeInTb pulumi.IntOutput `pulumi:"sizeInTb"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Pool within a NetApp Account.

## NetApp Pool Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = netapp.NewPool(ctx, "examplePool", &netapp.PoolArgs{
			AccountName:       exampleAccount.Name,
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ServiceLevel:      pulumi.String("Premium"),
			SizeInTb:          pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NetApp Pool can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:netapp/pool:Pool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1

```

func GetPool

func GetPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PoolState, opts ...pulumi.ResourceOption) (*Pool, error)

GetPool gets an existing Pool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPool

func NewPool(ctx *pulumi.Context,
	name string, args *PoolArgs, opts ...pulumi.ResourceOption) (*Pool, error)

NewPool registers a new resource with the given unique name, arguments, and options.

func (*Pool) ElementType added in v3.31.1

func (*Pool) ElementType() reflect.Type

func (*Pool) ToPoolOutput added in v3.31.1

func (i *Pool) ToPoolOutput() PoolOutput

func (*Pool) ToPoolOutputWithContext added in v3.31.1

func (i *Pool) ToPoolOutputWithContext(ctx context.Context) PoolOutput

func (*Pool) ToPoolPtrOutput added in v3.47.1

func (i *Pool) ToPoolPtrOutput() PoolPtrOutput

func (*Pool) ToPoolPtrOutputWithContext added in v3.47.1

func (i *Pool) ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput

type PoolArgs

type PoolArgs struct {
	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Pool. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The service level of the file system. Valid values include `Premium`, `Standard`, or `Ultra`.
	ServiceLevel pulumi.StringInput
	// Provisioned size of the pool in TB. Value must be between `4` and `500`.
	SizeInTb pulumi.IntInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Pool resource.

func (PoolArgs) ElementType

func (PoolArgs) ElementType() reflect.Type

type PoolArray added in v3.47.1

type PoolArray []PoolInput

func (PoolArray) ElementType added in v3.47.1

func (PoolArray) ElementType() reflect.Type

func (PoolArray) ToPoolArrayOutput added in v3.47.1

func (i PoolArray) ToPoolArrayOutput() PoolArrayOutput

func (PoolArray) ToPoolArrayOutputWithContext added in v3.47.1

func (i PoolArray) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolArrayInput added in v3.47.1

type PoolArrayInput interface {
	pulumi.Input

	ToPoolArrayOutput() PoolArrayOutput
	ToPoolArrayOutputWithContext(context.Context) PoolArrayOutput
}

PoolArrayInput is an input type that accepts PoolArray and PoolArrayOutput values. You can construct a concrete instance of `PoolArrayInput` via:

PoolArray{ PoolArgs{...} }

type PoolArrayOutput added in v3.47.1

type PoolArrayOutput struct{ *pulumi.OutputState }

func (PoolArrayOutput) ElementType added in v3.47.1

func (PoolArrayOutput) ElementType() reflect.Type

func (PoolArrayOutput) Index added in v3.47.1

func (PoolArrayOutput) ToPoolArrayOutput added in v3.47.1

func (o PoolArrayOutput) ToPoolArrayOutput() PoolArrayOutput

func (PoolArrayOutput) ToPoolArrayOutputWithContext added in v3.47.1

func (o PoolArrayOutput) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolInput added in v3.31.1

type PoolInput interface {
	pulumi.Input

	ToPoolOutput() PoolOutput
	ToPoolOutputWithContext(ctx context.Context) PoolOutput
}

type PoolMap added in v3.47.1

type PoolMap map[string]PoolInput

func (PoolMap) ElementType added in v3.47.1

func (PoolMap) ElementType() reflect.Type

func (PoolMap) ToPoolMapOutput added in v3.47.1

func (i PoolMap) ToPoolMapOutput() PoolMapOutput

func (PoolMap) ToPoolMapOutputWithContext added in v3.47.1

func (i PoolMap) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolMapInput added in v3.47.1

type PoolMapInput interface {
	pulumi.Input

	ToPoolMapOutput() PoolMapOutput
	ToPoolMapOutputWithContext(context.Context) PoolMapOutput
}

PoolMapInput is an input type that accepts PoolMap and PoolMapOutput values. You can construct a concrete instance of `PoolMapInput` via:

PoolMap{ "key": PoolArgs{...} }

type PoolMapOutput added in v3.47.1

type PoolMapOutput struct{ *pulumi.OutputState }

func (PoolMapOutput) ElementType added in v3.47.1

func (PoolMapOutput) ElementType() reflect.Type

func (PoolMapOutput) MapIndex added in v3.47.1

func (PoolMapOutput) ToPoolMapOutput added in v3.47.1

func (o PoolMapOutput) ToPoolMapOutput() PoolMapOutput

func (PoolMapOutput) ToPoolMapOutputWithContext added in v3.47.1

func (o PoolMapOutput) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolOutput added in v3.31.1

type PoolOutput struct {
	*pulumi.OutputState
}

func (PoolOutput) ElementType added in v3.31.1

func (PoolOutput) ElementType() reflect.Type

func (PoolOutput) ToPoolOutput added in v3.31.1

func (o PoolOutput) ToPoolOutput() PoolOutput

func (PoolOutput) ToPoolOutputWithContext added in v3.31.1

func (o PoolOutput) ToPoolOutputWithContext(ctx context.Context) PoolOutput

func (PoolOutput) ToPoolPtrOutput added in v3.47.1

func (o PoolOutput) ToPoolPtrOutput() PoolPtrOutput

func (PoolOutput) ToPoolPtrOutputWithContext added in v3.47.1

func (o PoolOutput) ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput

type PoolPtrInput added in v3.47.1

type PoolPtrInput interface {
	pulumi.Input

	ToPoolPtrOutput() PoolPtrOutput
	ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput
}

type PoolPtrOutput added in v3.47.1

type PoolPtrOutput struct {
	*pulumi.OutputState
}

func (PoolPtrOutput) ElementType added in v3.47.1

func (PoolPtrOutput) ElementType() reflect.Type

func (PoolPtrOutput) ToPoolPtrOutput added in v3.47.1

func (o PoolPtrOutput) ToPoolPtrOutput() PoolPtrOutput

func (PoolPtrOutput) ToPoolPtrOutputWithContext added in v3.47.1

func (o PoolPtrOutput) ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput

type PoolState

type PoolState struct {
	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Pool. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The service level of the file system. Valid values include `Premium`, `Standard`, or `Ultra`.
	ServiceLevel pulumi.StringPtrInput
	// Provisioned size of the pool in TB. Value must be between `4` and `500`.
	SizeInTb pulumi.IntPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (PoolState) ElementType

func (PoolState) ElementType() reflect.Type

type Snapshot

type Snapshot struct {
	pulumi.CustomResourceState

	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the NetApp Snapshot. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
	PoolName pulumi.StringOutput `pulumi:"poolName"`
	// The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Deprecated: This property as been deprecated as the API no longer supports tags and will be removed in version 3.0 of the provider.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.
	VolumeName pulumi.StringOutput `pulumi:"volumeName"`
}

Manages a NetApp Snapshot.

## NetApp Snapshot Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("netapp"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Name: pulumi.String("Microsoft.Netapp/volumes"),
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/networkinterfaces/*"),
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		examplePool, err := netapp.NewPool(ctx, "examplePool", &netapp.PoolArgs{
			AccountName:       exampleAccount.Name,
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ServiceLevel:      pulumi.String("Premium"),
			SizeInTb:          pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		exampleVolume, err := netapp.NewVolume(ctx, "exampleVolume", &netapp.VolumeArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AccountName:       exampleAccount.Name,
			PoolName:          examplePool.Name,
			VolumePath:        pulumi.String("my-unique-file-path"),
			ServiceLevel:      pulumi.String("Premium"),
			SubnetId:          pulumi.Any(azurerm_subnet.Test.Id),
			StorageQuotaInGb:  pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		_, err = netapp.NewSnapshot(ctx, "exampleSnapshot", &netapp.SnapshotArgs{
			AccountName:       exampleAccount.Name,
			PoolName:          examplePool.Name,
			VolumeName:        exampleVolume.Name,
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NetApp Snapshot can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:netapp/snapshot:Snapshot example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1

```

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)

GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSnapshot

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)

NewSnapshot registers a new resource with the given unique name, arguments, and options.

func (*Snapshot) ElementType added in v3.31.1

func (*Snapshot) ElementType() reflect.Type

func (*Snapshot) ToSnapshotOutput added in v3.31.1

func (i *Snapshot) ToSnapshotOutput() SnapshotOutput

func (*Snapshot) ToSnapshotOutputWithContext added in v3.31.1

func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

func (*Snapshot) ToSnapshotPtrOutput added in v3.47.1

func (i *Snapshot) ToSnapshotPtrOutput() SnapshotPtrOutput

func (*Snapshot) ToSnapshotPtrOutputWithContext added in v3.47.1

func (i *Snapshot) ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput

type SnapshotArgs

type SnapshotArgs struct {
	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Snapshot. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
	PoolName pulumi.StringInput
	// The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Deprecated: This property as been deprecated as the API no longer supports tags and will be removed in version 3.0 of the provider.
	Tags pulumi.StringMapInput
	// The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.
	VolumeName pulumi.StringInput
}

The set of arguments for constructing a Snapshot resource.

func (SnapshotArgs) ElementType

func (SnapshotArgs) ElementType() reflect.Type

type SnapshotArray added in v3.47.1

type SnapshotArray []SnapshotInput

func (SnapshotArray) ElementType added in v3.47.1

func (SnapshotArray) ElementType() reflect.Type

func (SnapshotArray) ToSnapshotArrayOutput added in v3.47.1

func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArray) ToSnapshotArrayOutputWithContext added in v3.47.1

func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotArrayInput added in v3.47.1

type SnapshotArrayInput interface {
	pulumi.Input

	ToSnapshotArrayOutput() SnapshotArrayOutput
	ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput
}

SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:

SnapshotArray{ SnapshotArgs{...} }

type SnapshotArrayOutput added in v3.47.1

type SnapshotArrayOutput struct{ *pulumi.OutputState }

func (SnapshotArrayOutput) ElementType added in v3.47.1

func (SnapshotArrayOutput) ElementType() reflect.Type

func (SnapshotArrayOutput) Index added in v3.47.1

func (SnapshotArrayOutput) ToSnapshotArrayOutput added in v3.47.1

func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput

func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext added in v3.47.1

func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput

type SnapshotInput added in v3.31.1

type SnapshotInput interface {
	pulumi.Input

	ToSnapshotOutput() SnapshotOutput
	ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
}

type SnapshotMap added in v3.47.1

type SnapshotMap map[string]SnapshotInput

func (SnapshotMap) ElementType added in v3.47.1

func (SnapshotMap) ElementType() reflect.Type

func (SnapshotMap) ToSnapshotMapOutput added in v3.47.1

func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMap) ToSnapshotMapOutputWithContext added in v3.47.1

func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotMapInput added in v3.47.1

type SnapshotMapInput interface {
	pulumi.Input

	ToSnapshotMapOutput() SnapshotMapOutput
	ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput
}

SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:

SnapshotMap{ "key": SnapshotArgs{...} }

type SnapshotMapOutput added in v3.47.1

type SnapshotMapOutput struct{ *pulumi.OutputState }

func (SnapshotMapOutput) ElementType added in v3.47.1

func (SnapshotMapOutput) ElementType() reflect.Type

func (SnapshotMapOutput) MapIndex added in v3.47.1

func (SnapshotMapOutput) ToSnapshotMapOutput added in v3.47.1

func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput

func (SnapshotMapOutput) ToSnapshotMapOutputWithContext added in v3.47.1

func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput

type SnapshotOutput added in v3.31.1

type SnapshotOutput struct {
	*pulumi.OutputState
}

func (SnapshotOutput) ElementType added in v3.31.1

func (SnapshotOutput) ElementType() reflect.Type

func (SnapshotOutput) ToSnapshotOutput added in v3.31.1

func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput

func (SnapshotOutput) ToSnapshotOutputWithContext added in v3.31.1

func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput

func (SnapshotOutput) ToSnapshotPtrOutput added in v3.47.1

func (o SnapshotOutput) ToSnapshotPtrOutput() SnapshotPtrOutput

func (SnapshotOutput) ToSnapshotPtrOutputWithContext added in v3.47.1

func (o SnapshotOutput) ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput

type SnapshotPtrInput added in v3.47.1

type SnapshotPtrInput interface {
	pulumi.Input

	ToSnapshotPtrOutput() SnapshotPtrOutput
	ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput
}

type SnapshotPtrOutput added in v3.47.1

type SnapshotPtrOutput struct {
	*pulumi.OutputState
}

func (SnapshotPtrOutput) ElementType added in v3.47.1

func (SnapshotPtrOutput) ElementType() reflect.Type

func (SnapshotPtrOutput) ToSnapshotPtrOutput added in v3.47.1

func (o SnapshotPtrOutput) ToSnapshotPtrOutput() SnapshotPtrOutput

func (SnapshotPtrOutput) ToSnapshotPtrOutputWithContext added in v3.47.1

func (o SnapshotPtrOutput) ToSnapshotPtrOutputWithContext(ctx context.Context) SnapshotPtrOutput

type SnapshotState

type SnapshotState struct {
	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Snapshot. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
	PoolName pulumi.StringPtrInput
	// The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Deprecated: This property as been deprecated as the API no longer supports tags and will be removed in version 3.0 of the provider.
	Tags pulumi.StringMapInput
	// The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.
	VolumeName pulumi.StringPtrInput
}

func (SnapshotState) ElementType

func (SnapshotState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: `protocols`, `subnetId`, `location`, `serviceLevel`, `resourceGroupName`, `accountName` and `poolName`.
	CreateFromSnapshotResourceId pulumi.StringOutput                      `pulumi:"createFromSnapshotResourceId"`
	DataProtectionReplication    VolumeDataProtectionReplicationPtrOutput `pulumi:"dataProtectionReplication"`
	// One or more `exportPolicyRule` block defined below.
	ExportPolicyRules VolumeExportPolicyRuleArrayOutput `pulumi:"exportPolicyRules"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A list of IPv4 Addresses which should be used to mount the volume.
	MountIpAddresses pulumi.StringArrayOutput `pulumi:"mountIpAddresses"`
	// The name of the NetApp Volume. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
	PoolName pulumi.StringOutput `pulumi:"poolName"`
	// 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. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to [Create a dual-protocol volume for Azure NetApp Files](https://docs.microsoft.com/en-us/azure/azure-netapp-files/create-volumes-dual-protocol) document.
	Protocols pulumi.StringArrayOutput `pulumi:"protocols"`
	// The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The target performance of the file system. Valid values include `Premium`, `Standard`, or `Ultra`.
	ServiceLevel pulumi.StringOutput `pulumi:"serviceLevel"`
	// The maximum Storage Quota allowed for a file system in Gigabytes.
	StorageQuotaInGb pulumi.IntOutput `pulumi:"storageQuotaInGb"`
	// 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.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
	VolumePath pulumi.StringOutput `pulumi:"volumePath"`
}

Manages a NetApp Volume.

## NetApp Volume Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/netapp"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("netapp"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Name: pulumi.String("Microsoft.Netapp/volumes"),
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/networkinterfaces/*"),
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		examplePool, err := netapp.NewPool(ctx, "examplePool", &netapp.PoolArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AccountName:       exampleAccount.Name,
			ServiceLevel:      pulumi.String("Premium"),
			SizeInTb:          pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		_, err = netapp.NewVolume(ctx, "exampleVolume", &netapp.VolumeArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AccountName:       exampleAccount.Name,
			PoolName:          examplePool.Name,
			VolumePath:        pulumi.String("my-unique-file-path"),
			ServiceLevel:      pulumi.String("Premium"),
			SubnetId:          exampleSubnet.ID(),
			Protocols: pulumi.StringArray{
				pulumi.String("NFSv4.1"),
			},
			StorageQuotaInGb:             pulumi.Int(100),
			CreateFromSnapshotResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1"),
			DataProtectionReplication: &netapp.VolumeDataProtectionReplicationArgs{
				EndpointType:           pulumi.String("dst"),
				RemoteVolumeLocation:   pulumi.Any(azurerm_resource_group.Example_primary.Location),
				RemoteVolumeResourceId: pulumi.Any(azurerm_netapp_volume.Example_primary.Id),
				ReplicationFrequency:   pulumi.String("10minutes"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NetApp Volumes can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:netapp/volume:Volume example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1

```

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

NewVolume registers a new resource with the given unique name, arguments, and options.

func (*Volume) ElementType added in v3.31.1

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput added in v3.31.1

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext added in v3.31.1

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (*Volume) ToVolumePtrOutput added in v3.47.1

func (i *Volume) ToVolumePtrOutput() VolumePtrOutput

func (*Volume) ToVolumePtrOutputWithContext added in v3.47.1

func (i *Volume) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumeArgs

type VolumeArgs struct {
	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: `protocols`, `subnetId`, `location`, `serviceLevel`, `resourceGroupName`, `accountName` and `poolName`.
	CreateFromSnapshotResourceId pulumi.StringPtrInput
	DataProtectionReplication    VolumeDataProtectionReplicationPtrInput
	// One or more `exportPolicyRule` block defined below.
	ExportPolicyRules VolumeExportPolicyRuleArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the NetApp Volume. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
	PoolName pulumi.StringInput
	// 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. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to [Create a dual-protocol volume for Azure NetApp Files](https://docs.microsoft.com/en-us/azure/azure-netapp-files/create-volumes-dual-protocol) document.
	Protocols pulumi.StringArrayInput
	// The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The target performance of the file system. Valid values include `Premium`, `Standard`, or `Ultra`.
	ServiceLevel pulumi.StringInput
	// The maximum Storage Quota allowed for a file system in Gigabytes.
	StorageQuotaInGb pulumi.IntInput
	// 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.
	SubnetId pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
	VolumePath pulumi.StringInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray added in v3.47.1

type VolumeArray []VolumeInput

func (VolumeArray) ElementType added in v3.47.1

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput added in v3.47.1

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext added in v3.47.1

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput added in v3.47.1

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput added in v3.47.1

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType added in v3.47.1

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index added in v3.47.1

func (VolumeArrayOutput) ToVolumeArrayOutput added in v3.47.1

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext added in v3.47.1

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeDataProtectionReplication added in v3.49.0

type VolumeDataProtectionReplication struct {
	// The endpoint type, default value is `dst` for destination.
	EndpointType *string `pulumi:"endpointType"`
	// Primary volume's location.
	RemoteVolumeLocation string `pulumi:"remoteVolumeLocation"`
	// Primary volume's resource id.
	RemoteVolumeResourceId string `pulumi:"remoteVolumeResourceId"`
	// Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
	ReplicationFrequency string `pulumi:"replicationFrequency"`
}

type VolumeDataProtectionReplicationArgs added in v3.49.0

type VolumeDataProtectionReplicationArgs struct {
	// The endpoint type, default value is `dst` for destination.
	EndpointType pulumi.StringPtrInput `pulumi:"endpointType"`
	// Primary volume's location.
	RemoteVolumeLocation pulumi.StringInput `pulumi:"remoteVolumeLocation"`
	// Primary volume's resource id.
	RemoteVolumeResourceId pulumi.StringInput `pulumi:"remoteVolumeResourceId"`
	// Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
	ReplicationFrequency pulumi.StringInput `pulumi:"replicationFrequency"`
}

func (VolumeDataProtectionReplicationArgs) ElementType added in v3.49.0

func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutput added in v3.49.0

func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput

func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutputWithContext added in v3.49.0

func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationOutput

func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutput added in v3.49.0

func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput

func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutputWithContext added in v3.49.0

func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput

type VolumeDataProtectionReplicationInput added in v3.49.0

type VolumeDataProtectionReplicationInput interface {
	pulumi.Input

	ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput
	ToVolumeDataProtectionReplicationOutputWithContext(context.Context) VolumeDataProtectionReplicationOutput
}

VolumeDataProtectionReplicationInput is an input type that accepts VolumeDataProtectionReplicationArgs and VolumeDataProtectionReplicationOutput values. You can construct a concrete instance of `VolumeDataProtectionReplicationInput` via:

VolumeDataProtectionReplicationArgs{...}

type VolumeDataProtectionReplicationOutput added in v3.49.0

type VolumeDataProtectionReplicationOutput struct{ *pulumi.OutputState }

func (VolumeDataProtectionReplicationOutput) ElementType added in v3.49.0

func (VolumeDataProtectionReplicationOutput) EndpointType added in v3.49.0

The endpoint type, default value is `dst` for destination.

func (VolumeDataProtectionReplicationOutput) RemoteVolumeLocation added in v3.49.0

Primary volume's location.

func (VolumeDataProtectionReplicationOutput) RemoteVolumeResourceId added in v3.49.0

func (o VolumeDataProtectionReplicationOutput) RemoteVolumeResourceId() pulumi.StringOutput

Primary volume's resource id.

func (VolumeDataProtectionReplicationOutput) ReplicationFrequency added in v3.49.0

Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.

func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutput added in v3.49.0

func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput

func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutputWithContext added in v3.49.0

func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationOutput

func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutput added in v3.49.0

func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput

func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext added in v3.49.0

func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput

type VolumeDataProtectionReplicationPtrInput added in v3.49.0

type VolumeDataProtectionReplicationPtrInput interface {
	pulumi.Input

	ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
	ToVolumeDataProtectionReplicationPtrOutputWithContext(context.Context) VolumeDataProtectionReplicationPtrOutput
}

VolumeDataProtectionReplicationPtrInput is an input type that accepts VolumeDataProtectionReplicationArgs, VolumeDataProtectionReplicationPtr and VolumeDataProtectionReplicationPtrOutput values. You can construct a concrete instance of `VolumeDataProtectionReplicationPtrInput` via:

        VolumeDataProtectionReplicationArgs{...}

or:

        nil

type VolumeDataProtectionReplicationPtrOutput added in v3.49.0

type VolumeDataProtectionReplicationPtrOutput struct{ *pulumi.OutputState }

func (VolumeDataProtectionReplicationPtrOutput) Elem added in v3.49.0

func (VolumeDataProtectionReplicationPtrOutput) ElementType added in v3.49.0

func (VolumeDataProtectionReplicationPtrOutput) EndpointType added in v3.49.0

The endpoint type, default value is `dst` for destination.

func (VolumeDataProtectionReplicationPtrOutput) RemoteVolumeLocation added in v3.49.0

Primary volume's location.

func (VolumeDataProtectionReplicationPtrOutput) RemoteVolumeResourceId added in v3.49.0

Primary volume's resource id.

func (VolumeDataProtectionReplicationPtrOutput) ReplicationFrequency added in v3.49.0

Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.

func (VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutput added in v3.49.0

func (o VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput

func (VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext added in v3.49.0

func (o VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput

type VolumeExportPolicyRule

type VolumeExportPolicyRule struct {
	// A list of allowed clients IPv4 addresses.
	AllowedClients []string `pulumi:"allowedClients"`
	// Is the CIFS protocol allowed?
	//
	// Deprecated: Deprecated in favour of `protocols_enabled`
	CifsEnabled *bool `pulumi:"cifsEnabled"`
	// Is the NFSv3 protocol allowed?
	//
	// Deprecated: Deprecated in favour of `protocols_enabled`
	Nfsv3Enabled *bool `pulumi:"nfsv3Enabled"`
	// Is the NFSv4 protocol allowed?
	//
	// Deprecated: Deprecated in favour of `protocols_enabled`
	Nfsv4Enabled *bool `pulumi:"nfsv4Enabled"`
	// A list of allowed protocols. Valid values include `CIFS`, `NFSv3`, or `NFSv4.1`. Only one value is supported at this time. This replaces the previous arguments: `cifsEnabled`, `nfsv3Enabled` and `nfsv4Enabled`.
	ProtocolsEnabled  *string `pulumi:"protocolsEnabled"`
	RootAccessEnabled *bool   `pulumi:"rootAccessEnabled"`
	// The index number of the rule.
	RuleIndex int `pulumi:"ruleIndex"`
	// Is the file system on unix read only?
	UnixReadOnly *bool `pulumi:"unixReadOnly"`
	// Is the file system on unix read and write?
	UnixReadWrite *bool `pulumi:"unixReadWrite"`
}

type VolumeExportPolicyRuleArgs

type VolumeExportPolicyRuleArgs struct {
	// A list of allowed clients IPv4 addresses.
	AllowedClients pulumi.StringArrayInput `pulumi:"allowedClients"`
	// Is the CIFS protocol allowed?
	//
	// Deprecated: Deprecated in favour of `protocols_enabled`
	CifsEnabled pulumi.BoolPtrInput `pulumi:"cifsEnabled"`
	// Is the NFSv3 protocol allowed?
	//
	// Deprecated: Deprecated in favour of `protocols_enabled`
	Nfsv3Enabled pulumi.BoolPtrInput `pulumi:"nfsv3Enabled"`
	// Is the NFSv4 protocol allowed?
	//
	// Deprecated: Deprecated in favour of `protocols_enabled`
	Nfsv4Enabled pulumi.BoolPtrInput `pulumi:"nfsv4Enabled"`
	// A list of allowed protocols. Valid values include `CIFS`, `NFSv3`, or `NFSv4.1`. Only one value is supported at this time. This replaces the previous arguments: `cifsEnabled`, `nfsv3Enabled` and `nfsv4Enabled`.
	ProtocolsEnabled  pulumi.StringPtrInput `pulumi:"protocolsEnabled"`
	RootAccessEnabled pulumi.BoolPtrInput   `pulumi:"rootAccessEnabled"`
	// The index number of the rule.
	RuleIndex pulumi.IntInput `pulumi:"ruleIndex"`
	// Is the file system on unix read only?
	UnixReadOnly pulumi.BoolPtrInput `pulumi:"unixReadOnly"`
	// Is the file system on unix read and write?
	UnixReadWrite pulumi.BoolPtrInput `pulumi:"unixReadWrite"`
}

func (VolumeExportPolicyRuleArgs) ElementType

func (VolumeExportPolicyRuleArgs) ElementType() reflect.Type

func (VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutput

func (i VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput

func (VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutputWithContext

func (i VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutputWithContext(ctx context.Context) VolumeExportPolicyRuleOutput

type VolumeExportPolicyRuleArray

type VolumeExportPolicyRuleArray []VolumeExportPolicyRuleInput

func (VolumeExportPolicyRuleArray) ElementType

func (VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutput

func (i VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput

func (VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutputWithContext

func (i VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutputWithContext(ctx context.Context) VolumeExportPolicyRuleArrayOutput

type VolumeExportPolicyRuleArrayInput

type VolumeExportPolicyRuleArrayInput interface {
	pulumi.Input

	ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput
	ToVolumeExportPolicyRuleArrayOutputWithContext(context.Context) VolumeExportPolicyRuleArrayOutput
}

VolumeExportPolicyRuleArrayInput is an input type that accepts VolumeExportPolicyRuleArray and VolumeExportPolicyRuleArrayOutput values. You can construct a concrete instance of `VolumeExportPolicyRuleArrayInput` via:

VolumeExportPolicyRuleArray{ VolumeExportPolicyRuleArgs{...} }

type VolumeExportPolicyRuleArrayOutput

type VolumeExportPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (VolumeExportPolicyRuleArrayOutput) ElementType

func (VolumeExportPolicyRuleArrayOutput) Index

func (VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutput

func (o VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput

func (VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutputWithContext

func (o VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutputWithContext(ctx context.Context) VolumeExportPolicyRuleArrayOutput

type VolumeExportPolicyRuleInput

type VolumeExportPolicyRuleInput interface {
	pulumi.Input

	ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput
	ToVolumeExportPolicyRuleOutputWithContext(context.Context) VolumeExportPolicyRuleOutput
}

VolumeExportPolicyRuleInput is an input type that accepts VolumeExportPolicyRuleArgs and VolumeExportPolicyRuleOutput values. You can construct a concrete instance of `VolumeExportPolicyRuleInput` via:

VolumeExportPolicyRuleArgs{...}

type VolumeExportPolicyRuleOutput

type VolumeExportPolicyRuleOutput struct{ *pulumi.OutputState }

func (VolumeExportPolicyRuleOutput) AllowedClients

A list of allowed clients IPv4 addresses.

func (VolumeExportPolicyRuleOutput) CifsEnabled deprecated

Is the CIFS protocol allowed?

Deprecated: Deprecated in favour of `protocols_enabled`

func (VolumeExportPolicyRuleOutput) ElementType

func (VolumeExportPolicyRuleOutput) Nfsv3Enabled deprecated

Is the NFSv3 protocol allowed?

Deprecated: Deprecated in favour of `protocols_enabled`

func (VolumeExportPolicyRuleOutput) Nfsv4Enabled deprecated

Is the NFSv4 protocol allowed?

Deprecated: Deprecated in favour of `protocols_enabled`

func (VolumeExportPolicyRuleOutput) ProtocolsEnabled

A list of allowed protocols. Valid values include `CIFS`, `NFSv3`, or `NFSv4.1`. Only one value is supported at this time. This replaces the previous arguments: `cifsEnabled`, `nfsv3Enabled` and `nfsv4Enabled`.

func (VolumeExportPolicyRuleOutput) RootAccessEnabled added in v3.55.0

func (o VolumeExportPolicyRuleOutput) RootAccessEnabled() pulumi.BoolPtrOutput

func (VolumeExportPolicyRuleOutput) RuleIndex

The index number of the rule.

func (VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutput

func (o VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput

func (VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutputWithContext

func (o VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutputWithContext(ctx context.Context) VolumeExportPolicyRuleOutput

func (VolumeExportPolicyRuleOutput) UnixReadOnly

Is the file system on unix read only?

func (VolumeExportPolicyRuleOutput) UnixReadWrite

Is the file system on unix read and write?

type VolumeInput added in v3.31.1

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeMap added in v3.47.1

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType added in v3.47.1

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput added in v3.47.1

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext added in v3.47.1

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput added in v3.47.1

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput added in v3.47.1

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType added in v3.47.1

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex added in v3.47.1

func (VolumeMapOutput) ToVolumeMapOutput added in v3.47.1

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext added in v3.47.1

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput added in v3.31.1

type VolumeOutput struct {
	*pulumi.OutputState
}

func (VolumeOutput) ElementType added in v3.31.1

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) ToVolumeOutput added in v3.31.1

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext added in v3.31.1

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (VolumeOutput) ToVolumePtrOutput added in v3.47.1

func (o VolumeOutput) ToVolumePtrOutput() VolumePtrOutput

func (VolumeOutput) ToVolumePtrOutputWithContext added in v3.47.1

func (o VolumeOutput) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumePtrInput added in v3.47.1

type VolumePtrInput interface {
	pulumi.Input

	ToVolumePtrOutput() VolumePtrOutput
	ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput
}

type VolumePtrOutput added in v3.47.1

type VolumePtrOutput struct {
	*pulumi.OutputState
}

func (VolumePtrOutput) ElementType added in v3.47.1

func (VolumePtrOutput) ElementType() reflect.Type

func (VolumePtrOutput) ToVolumePtrOutput added in v3.47.1

func (o VolumePtrOutput) ToVolumePtrOutput() VolumePtrOutput

func (VolumePtrOutput) ToVolumePtrOutputWithContext added in v3.47.1

func (o VolumePtrOutput) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumeState

type VolumeState struct {
	// The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: `protocols`, `subnetId`, `location`, `serviceLevel`, `resourceGroupName`, `accountName` and `poolName`.
	CreateFromSnapshotResourceId pulumi.StringPtrInput
	DataProtectionReplication    VolumeDataProtectionReplicationPtrInput
	// One or more `exportPolicyRule` block defined below.
	ExportPolicyRules VolumeExportPolicyRuleArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A list of IPv4 Addresses which should be used to mount the volume.
	MountIpAddresses pulumi.StringArrayInput
	// The name of the NetApp Volume. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
	PoolName pulumi.StringPtrInput
	// 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. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to [Create a dual-protocol volume for Azure NetApp Files](https://docs.microsoft.com/en-us/azure/azure-netapp-files/create-volumes-dual-protocol) document.
	Protocols pulumi.StringArrayInput
	// The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The target performance of the file system. Valid values include `Premium`, `Standard`, or `Ultra`.
	ServiceLevel pulumi.StringPtrInput
	// The maximum Storage Quota allowed for a file system in Gigabytes.
	StorageQuotaInGb pulumi.IntPtrInput
	// 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.
	SubnetId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
	VolumePath pulumi.StringPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL