This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.

netapp

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

class pulumi_azure.netapp.Account(resource_name, opts=None, active_directory=None, location=None, name=None, resource_group_name=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages a NetApp Account.

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

import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.netapp.Account("exampleAccount",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location,
    active_directory={
        "username": "aduser",
        "password": "aduserpwd",
        "smbServerName": "SMBSERVER",
        "dns_servers": ["1.2.3.4"],
        "domain": "westcentralus.com",
        "organizationalUnit": "OU=FirstLevel",
    })
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • active_directory (pulumi.Input[dict]) – A active_directory block as defined below.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Account. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

The active_directory object supports the following:

  • dns_servers (pulumi.Input[list]) - A list of DNS server IP addresses for the Active Directory domain. Only allows IPv4 address.

  • domain (pulumi.Input[str]) - The name of the Active Directory domain.

  • organizationalUnit (pulumi.Input[str]) - The Organizational Unit (OU) within the Active Directory Domain.

  • password (pulumi.Input[str]) - The password associated with the username.

  • smbServerName (pulumi.Input[str]) - 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.

  • username (pulumi.Input[str]) - The Username of Active Directory Domain Administrator.

active_directory: pulumi.Output[dict] = None

A active_directory block as defined below.

  • dns_servers (list) - A list of DNS server IP addresses for the Active Directory domain. Only allows IPv4 address.

  • domain (str) - The name of the Active Directory domain.

  • organizationalUnit (str) - The Organizational Unit (OU) within the Active Directory Domain.

  • password (str) - The password associated with the username.

  • smbServerName (str) - 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.

  • username (str) - The Username of Active Directory Domain Administrator.

location: pulumi.Output[str] = None

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

name: pulumi.Output[str] = None

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

resource_group_name: pulumi.Output[str] = None

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

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, active_directory=None, location=None, name=None, resource_group_name=None, tags=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • active_directory (pulumi.Input[dict]) – A active_directory block as defined below.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Account. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

The active_directory object supports the following:

  • dns_servers (pulumi.Input[list]) - A list of DNS server IP addresses for the Active Directory domain. Only allows IPv4 address.

  • domain (pulumi.Input[str]) - The name of the Active Directory domain.

  • organizationalUnit (pulumi.Input[str]) - The Organizational Unit (OU) within the Active Directory Domain.

  • password (pulumi.Input[str]) - The password associated with the username.

  • smbServerName (pulumi.Input[str]) - 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.

  • username (pulumi.Input[str]) - The Username of Active Directory Domain Administrator.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.netapp.AwaitableGetAccountResult(id=None, location=None, name=None, resource_group_name=None)
class pulumi_azure.netapp.AwaitableGetPoolResult(account_name=None, id=None, location=None, name=None, resource_group_name=None, service_level=None, size_in_tb=None)
class pulumi_azure.netapp.AwaitableGetSnapshotResult(account_name=None, id=None, location=None, name=None, pool_name=None, resource_group_name=None, volume_name=None)
class pulumi_azure.netapp.AwaitableGetVolumeResult(account_name=None, id=None, location=None, mount_ip_addresses=None, name=None, pool_name=None, protocols=None, resource_group_name=None, service_level=None, storage_quota_in_gb=None, subnet_id=None, volume_path=None)
class pulumi_azure.netapp.GetAccountResult(id=None, location=None, name=None, resource_group_name=None)

A collection of values returned by getAccount.

id = None

The provider-assigned unique ID for this managed resource.

location = None

The Azure Region where the NetApp Account exists.

class pulumi_azure.netapp.GetPoolResult(account_name=None, id=None, location=None, name=None, resource_group_name=None, service_level=None, size_in_tb=None)

A collection of values returned by getPool.

id = None

The provider-assigned unique ID for this managed resource.

location = None

The Azure Region where the NetApp Pool exists.

service_level = None

The service level of the file system.

size_in_tb = None

Provisioned size of the pool in TB.

class pulumi_azure.netapp.GetSnapshotResult(account_name=None, id=None, location=None, name=None, pool_name=None, resource_group_name=None, volume_name=None)

A collection of values returned by getSnapshot.

id = None

The provider-assigned unique ID for this managed resource.

location = None

The Azure Region where the NetApp Snapshot exists.

class pulumi_azure.netapp.GetVolumeResult(account_name=None, id=None, location=None, mount_ip_addresses=None, name=None, pool_name=None, protocols=None, resource_group_name=None, service_level=None, storage_quota_in_gb=None, subnet_id=None, volume_path=None)

A collection of values returned by getVolume.

id = None

The provider-assigned unique ID for this managed resource.

location = None

The Azure Region where the NetApp Volume exists.

mount_ip_addresses = None

A list of IPv4 Addresses which should be used to mount the volume.

service_level = None

The service level of the file system.

storage_quota_in_gb = None

The maximum Storage Quota in Gigabytes allowed for a file system.

subnet_id = None

The ID of a Subnet in which the NetApp Volume resides.

volume_path = None

The unique file path of the volume.

class pulumi_azure.netapp.Pool(resource_name, opts=None, account_name=None, location=None, name=None, resource_group_name=None, service_level=None, size_in_tb=None, tags=None, __props__=None, __name__=None, __opts__=None)

Manages a Pool within a NetApp Account.

import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.netapp.Account("exampleAccount",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_pool = azure.netapp.Pool("examplePool",
    account_name=example_account.name,
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    service_level="Premium",
    size_in_tb=4)
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • account_name (pulumi.Input[str]) – The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Pool. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.

  • service_level (pulumi.Input[str]) – The service level of the file system. Valid values include Premium, Standard, or Ultra.

  • size_in_tb (pulumi.Input[float]) – Provisioned size of the pool in TB. Value must be between 4 and 500.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

account_name: pulumi.Output[str] = None

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

location: pulumi.Output[str] = None

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

name: pulumi.Output[str] = None

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

resource_group_name: pulumi.Output[str] = None

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

service_level: pulumi.Output[str] = None

The service level of the file system. Valid values include Premium, Standard, or Ultra.

size_in_tb: pulumi.Output[float] = None

Provisioned size of the pool in TB. Value must be between 4 and 500.

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, account_name=None, location=None, name=None, resource_group_name=None, service_level=None, size_in_tb=None, tags=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • account_name (pulumi.Input[str]) – The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Pool. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.

  • service_level (pulumi.Input[str]) – The service level of the file system. Valid values include Premium, Standard, or Ultra.

  • size_in_tb (pulumi.Input[float]) – Provisioned size of the pool in TB. Value must be between 4 and 500.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.netapp.Snapshot(resource_name, opts=None, account_name=None, location=None, name=None, pool_name=None, resource_group_name=None, tags=None, volume_name=None, __props__=None, __name__=None, __opts__=None)

Manages a NetApp Snapshot.

import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
    address_spaces=["10.0.0.0/16"],
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_subnet = azure.network.Subnet("exampleSubnet",
    resource_group_name=example_resource_group.name,
    virtual_network_name=example_virtual_network.name,
    address_prefix="10.0.2.0/24",
    delegation=[{
        "name": "netapp",
        "service_delegation": {
            "name": "Microsoft.Netapp/volumes",
            "actions": [
                "Microsoft.Network/networkinterfaces/*",
                "Microsoft.Network/virtualNetworks/subnets/join/action",
            ],
        },
    }])
example_account = azure.netapp.Account("exampleAccount",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_pool = azure.netapp.Pool("examplePool",
    account_name=example_account.name,
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    service_level="Premium",
    size_in_tb="4")
example_volume = azure.netapp.Volume("exampleVolume",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    account_name=example_account.name,
    pool_name=example_pool.name,
    volume_path="my-unique-file-path",
    service_level="Premium",
    subnet_id=azurerm_subnet["test"]["id"],
    storage_quota_in_gb="100")
example_snapshot = azure.netapp.Snapshot("exampleSnapshot",
    account_name=example_account.name,
    pool_name=example_pool.name,
    volume_name=example_volume.name,
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • account_name (pulumi.Input[str]) – The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Snapshot. Changing this forces a new resource to be created.

  • pool_name (pulumi.Input[str]) – The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • volume_name (pulumi.Input[str]) – The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

account_name: pulumi.Output[str] = None

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

location: pulumi.Output[str] = None

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

name: pulumi.Output[str] = None

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

pool_name: pulumi.Output[str] = None

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

resource_group_name: pulumi.Output[str] = None

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

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

volume_name: pulumi.Output[str] = None

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

static get(resource_name, id, opts=None, account_name=None, location=None, name=None, pool_name=None, resource_group_name=None, tags=None, volume_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • account_name (pulumi.Input[str]) – The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Snapshot. Changing this forces a new resource to be created.

  • pool_name (pulumi.Input[str]) – The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • volume_name (pulumi.Input[str]) – The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_azure.netapp.Volume(resource_name, opts=None, account_name=None, export_policy_rules=None, location=None, name=None, pool_name=None, protocols=None, resource_group_name=None, service_level=None, storage_quota_in_gb=None, subnet_id=None, tags=None, volume_path=None, __props__=None, __name__=None, __opts__=None)

Manages a NetApp Volume.

import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    address_spaces=["10.0.0.0/16"])
example_subnet = azure.network.Subnet("exampleSubnet",
    resource_group_name=example_resource_group.name,
    virtual_network_name=example_virtual_network.name,
    address_prefix="10.0.2.0/24",
    delegation=[{
        "name": "netapp",
        "service_delegation": {
            "name": "Microsoft.Netapp/volumes",
            "actions": [
                "Microsoft.Network/networkinterfaces/*",
                "Microsoft.Network/virtualNetworks/subnets/join/action",
            ],
        },
    }])
example_account = azure.netapp.Account("exampleAccount",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_pool = azure.netapp.Pool("examplePool",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    account_name=example_account.name,
    service_level="Premium",
    size_in_tb=4)
example_volume = azure.netapp.Volume("exampleVolume",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    account_name=example_account.name,
    pool_name=example_pool.name,
    volume_path="my-unique-file-path",
    service_level="Premium",
    subnet_id=example_subnet.id,
    protocols=["NFSv4.1"],
    storage_quota_in_gb=100)
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • account_name (pulumi.Input[str]) – The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

  • export_policy_rules (pulumi.Input[list]) – One or more export_policy_rule block defined below.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • name (pulumi.Input[str]) – The name of the NetApp Volume. Changing this forces a new resource to be created.

  • pool_name (pulumi.Input[str]) – The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

  • protocols (pulumi.Input[list]) – 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.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.

  • service_level (pulumi.Input[str]) – The target performance of the file system. Valid values include Premium, Standard, or Ultra.

  • storage_quota_in_gb (pulumi.Input[float]) – The maximum Storage Quota allowed for a file system in Gigabytes.

  • subnet_id (pulumi.Input[str]) – 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.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • volume_path (pulumi.Input[str]) – A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.

The export_policy_rules object supports the following:

  • allowedClients (pulumi.Input[list]) - A list of allowed clients IPv4 addresses.

  • cifsEnabled (pulumi.Input[bool]) - Is the CIFS protocol allowed?

  • nfsv3Enabled (pulumi.Input[bool]) - Is the NFSv3 protocol allowed?

  • nfsv4Enabled (pulumi.Input[bool]) - Is the NFSv4 protocol allowed?

  • protocolsEnabled (pulumi.Input[str]) - 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: cifs_enabled, nfsv3_enabled and nfsv4_enabled.

  • ruleIndex (pulumi.Input[float]) - The index number of the rule.

  • unixReadOnly (pulumi.Input[bool]) - Is the file system on unix read only?

  • unixReadWrite (pulumi.Input[bool]) - Is the file system on unix read and write?

account_name: pulumi.Output[str] = None

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

export_policy_rules: pulumi.Output[list] = None

One or more export_policy_rule block defined below.

  • allowedClients (list) - A list of allowed clients IPv4 addresses.

  • cifsEnabled (bool) - Is the CIFS protocol allowed?

  • nfsv3Enabled (bool) - Is the NFSv3 protocol allowed?

  • nfsv4Enabled (bool) - Is the NFSv4 protocol allowed?

  • protocolsEnabled (str) - 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: cifs_enabled, nfsv3_enabled and nfsv4_enabled.

  • ruleIndex (float) - The index number of the rule.

  • unixReadOnly (bool) - Is the file system on unix read only?

  • unixReadWrite (bool) - Is the file system on unix read and write?

location: pulumi.Output[str] = None

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

mount_ip_addresses: pulumi.Output[list] = None

A list of IPv4 Addresses which should be used to mount the volume.

name: pulumi.Output[str] = None

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

pool_name: pulumi.Output[str] = None

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

protocols: pulumi.Output[list] = None

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.

resource_group_name: pulumi.Output[str] = None

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

service_level: pulumi.Output[str] = None

The target performance of the file system. Valid values include Premium, Standard, or Ultra.

storage_quota_in_gb: pulumi.Output[float] = None

The maximum Storage Quota allowed for a file system in Gigabytes.

subnet_id: pulumi.Output[str] = None

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.

tags: pulumi.Output[dict] = None

A mapping of tags to assign to the resource.

volume_path: pulumi.Output[str] = None

A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.

static get(resource_name, id, opts=None, account_name=None, export_policy_rules=None, location=None, mount_ip_addresses=None, name=None, pool_name=None, protocols=None, resource_group_name=None, service_level=None, storage_quota_in_gb=None, subnet_id=None, tags=None, volume_path=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • account_name (pulumi.Input[str]) – The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.

  • export_policy_rules (pulumi.Input[list]) – One or more export_policy_rule block defined below.

  • location (pulumi.Input[str]) – Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

  • mount_ip_addresses (pulumi.Input[list]) – A list of IPv4 Addresses which should be used to mount the volume.

  • name (pulumi.Input[str]) – The name of the NetApp Volume. Changing this forces a new resource to be created.

  • pool_name (pulumi.Input[str]) – The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.

  • protocols (pulumi.Input[list]) – 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.

  • resource_group_name (pulumi.Input[str]) – The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.

  • service_level (pulumi.Input[str]) – The target performance of the file system. Valid values include Premium, Standard, or Ultra.

  • storage_quota_in_gb (pulumi.Input[float]) – The maximum Storage Quota allowed for a file system in Gigabytes.

  • subnet_id (pulumi.Input[str]) – 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.

  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.

  • volume_path (pulumi.Input[str]) – A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.

The export_policy_rules object supports the following:

  • allowedClients (pulumi.Input[list]) - A list of allowed clients IPv4 addresses.

  • cifsEnabled (pulumi.Input[bool]) - Is the CIFS protocol allowed?

  • nfsv3Enabled (pulumi.Input[bool]) - Is the NFSv3 protocol allowed?

  • nfsv4Enabled (pulumi.Input[bool]) - Is the NFSv4 protocol allowed?

  • protocolsEnabled (pulumi.Input[str]) - 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: cifs_enabled, nfsv3_enabled and nfsv4_enabled.

  • ruleIndex (pulumi.Input[float]) - The index number of the rule.

  • unixReadOnly (pulumi.Input[bool]) - Is the file system on unix read only?

  • unixReadWrite (pulumi.Input[bool]) - Is the file system on unix read and write?

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

pulumi_azure.netapp.get_account(name=None, resource_group_name=None, opts=None)

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

import pulumi
import pulumi_azure as azure

example = azure.netapp.get_account(resource_group_name="acctestRG",
    name="acctestnetappaccount")
pulumi.export("netappAccountId", example.id)
Parameters
  • name (str) – The name of the NetApp Account.

  • resource_group_name (str) – The Name of the Resource Group where the NetApp Account exists.

pulumi_azure.netapp.get_pool(account_name=None, name=None, resource_group_name=None, opts=None)

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

import pulumi
import pulumi_azure as azure

example = azure.netapp.get_pool(resource_group_name="acctestRG",
    account_name="acctestnetappaccount",
    name="acctestnetapppool")
pulumi.export("netappPoolId", example.id)
Parameters
  • account_name (str) – The name of the NetApp account where the NetApp pool exists.

  • name (str) – The name of the NetApp Pool.

  • resource_group_name (str) – The Name of the Resource Group where the NetApp Pool exists.

pulumi_azure.netapp.get_snapshot(account_name=None, name=None, pool_name=None, resource_group_name=None, volume_name=None, opts=None)

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

import pulumi
import pulumi_azure as azure

test = azure.netapp.get_snapshot(resource_group_name="acctestRG",
    name="acctestnetappsnapshot",
    account_name="acctestnetappaccount",
    pool_name="acctestnetapppool",
    volume_name="acctestnetappvolume")
pulumi.export("netappSnapshotId", data["azurerm_netapp_snapshot"]["example"]["id"])
Parameters
  • account_name (str) – The name of the NetApp Account where the NetApp Pool exists.

  • name (str) – The name of the NetApp Snapshot.

  • pool_name (str) – The name of the NetApp Pool where the NetApp Volume exists.

  • resource_group_name (str) – The Name of the Resource Group where the NetApp Snapshot exists.

  • volume_name (str) – The name of the NetApp Volume where the NetApp Snapshot exists.

pulumi_azure.netapp.get_volume(account_name=None, name=None, pool_name=None, resource_group_name=None, opts=None)

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

import pulumi
import pulumi_azure as azure

example = azure.netapp.get_volume(resource_group_name="acctestRG",
    account_name="acctestnetappaccount",
    pool_name="acctestnetapppool",
    name="example-volume")
pulumi.export("netappVolumeId", example.id)
Parameters
  • account_name (str) – The name of the NetApp account where the NetApp pool exists.

  • name (str) – The name of the NetApp Volume.

  • pool_name (str) – The name of the NetApp pool where the NetApp volume exists.

  • resource_group_name (str) – The Name of the Resource Group where the NetApp Volume exists.