netapp-cloudmanager.AwsFsxVolume
Explore with Pulumi AI
Requires a Amazon FSx ONTAP system. NFS and CIFS volumes are supported.
Example Usage
S
Create netapp-cloudmanager_aws_fsx_volume of type NFS:
import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
const fsx_volume_nfs = new netapp_cloudmanager.AwsFsxVolume("fsx-volume-nfs", {
volumeProtocol: "nfs",
size: 10,
unit: "GB",
exportPolicyType: "custom",
exportPolicyIps: ["0.0.0.0/0"],
exportPolicyNfsVersions: ["nfs4"],
fileSystemId: "your-file-system-id",
tags: {
abc: "xyz",
},
clientId: netapp_cloudmanager_connector_gcp["cm-gcp"].client_id,
}, {
provider: netapp_cloudmanager,
});
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager
fsx_volume_nfs = netapp_cloudmanager.AwsFsxVolume("fsx-volume-nfs",
volume_protocol="nfs",
size=10,
unit="GB",
export_policy_type="custom",
export_policy_ips=["0.0.0.0/0"],
export_policy_nfs_versions=["nfs4"],
file_system_id="your-file-system-id",
tags={
"abc": "xyz",
},
client_id=netapp_cloudmanager_connector_gcp["cm-gcp"]["client_id"],
opts = pulumi.ResourceOptions(provider=netapp_cloudmanager))
package main
import (
netappcloudmanager "github.com/pulumi/pulumi-terraform-provider/sdks/go/netapp-cloudmanager/v25/netapp-cloudmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netappcloudmanager.NewAwsFsxVolume(ctx, "fsx-volume-nfs", &netappcloudmanager.AwsFsxVolumeArgs{
VolumeProtocol: pulumi.String("nfs"),
Size: pulumi.Float64(10),
Unit: pulumi.String("GB"),
ExportPolicyType: pulumi.String("custom"),
ExportPolicyIps: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
ExportPolicyNfsVersions: pulumi.StringArray{
pulumi.String("nfs4"),
},
FileSystemId: pulumi.String("your-file-system-id"),
Tags: pulumi.StringMap{
"abc": pulumi.String("xyz"),
},
ClientId: pulumi.Any(netapp_cloudmanager_connector_gcp.CmGcp.Client_id),
}, pulumi.Provider(netapp_cloudmanager))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NetappCloudmanager = Pulumi.NetappCloudmanager;
return await Deployment.RunAsync(() =>
{
var fsx_volume_nfs = new NetappCloudmanager.AwsFsxVolume("fsx-volume-nfs", new()
{
VolumeProtocol = "nfs",
Size = 10,
Unit = "GB",
ExportPolicyType = "custom",
ExportPolicyIps = new[]
{
"0.0.0.0/0",
},
ExportPolicyNfsVersions = new[]
{
"nfs4",
},
FileSystemId = "your-file-system-id",
Tags =
{
{ "abc", "xyz" },
},
ClientId = netapp_cloudmanager_connector_gcp.Cm_gcp.Client_id,
}, new CustomResourceOptions
{
Provider = netapp_cloudmanager,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netappcloudmanager.AwsFsxVolume;
import com.pulumi.netappcloudmanager.AwsFsxVolumeArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var fsx_volume_nfs = new AwsFsxVolume("fsx-volume-nfs", AwsFsxVolumeArgs.builder()
.volumeProtocol("nfs")
.size(10)
.unit("GB")
.exportPolicyType("custom")
.exportPolicyIps("0.0.0.0/0")
.exportPolicyNfsVersions("nfs4")
.fileSystemId("your-file-system-id")
.tags(Map.of("abc", "xyz"))
.clientId(netapp_cloudmanager_connector_gcp.cm-gcp().client_id())
.build(), CustomResourceOptions.builder()
.provider(netapp_cloudmanager)
.build());
}
}
resources:
fsx-volume-nfs:
type: netapp-cloudmanager:AwsFsxVolume
properties:
volumeProtocol: nfs
size: 10
unit: GB
exportPolicyType: custom
exportPolicyIps:
- 0.0.0.0/0
exportPolicyNfsVersions:
- nfs4
fileSystemId: your-file-system-id
tags:
abc: xyz
clientId: ${["netapp-cloudmanager_connector_gcp"]"cm-gcp"[%!s(MISSING)].client_id}
options:
provider: ${["netapp-cloudmanager"]}
Create netapp-cloudmanager_aws_fsx_volume of type CIFS:
import * as pulumi from "@pulumi/pulumi";
import * as netapp_cloudmanager from "@pulumi/netapp-cloudmanager";
const fsx_volume_cifs = new netapp_cloudmanager.AwsFsxVolume("fsx-volume-cifs", {
volumeProtocol: "cifs",
size: 10,
unit: "GB",
shareName: "share_cifs",
permission: "full_control",
users: ["Everyone"],
fileSystemId: "your-file-system-id",
clientId: netapp_cloudmanager_connector_gcp["cm-gcp"].client_id,
}, {
provider: netapp_cloudmanager,
});
import pulumi
import pulumi_netapp_cloudmanager as netapp_cloudmanager
fsx_volume_cifs = netapp_cloudmanager.AwsFsxVolume("fsx-volume-cifs",
volume_protocol="cifs",
size=10,
unit="GB",
share_name="share_cifs",
permission="full_control",
users=["Everyone"],
file_system_id="your-file-system-id",
client_id=netapp_cloudmanager_connector_gcp["cm-gcp"]["client_id"],
opts = pulumi.ResourceOptions(provider=netapp_cloudmanager))
package main
import (
netappcloudmanager "github.com/pulumi/pulumi-terraform-provider/sdks/go/netapp-cloudmanager/v25/netapp-cloudmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netappcloudmanager.NewAwsFsxVolume(ctx, "fsx-volume-cifs", &netappcloudmanager.AwsFsxVolumeArgs{
VolumeProtocol: pulumi.String("cifs"),
Size: pulumi.Float64(10),
Unit: pulumi.String("GB"),
ShareName: pulumi.String("share_cifs"),
Permission: pulumi.String("full_control"),
Users: pulumi.StringArray{
pulumi.String("Everyone"),
},
FileSystemId: pulumi.String("your-file-system-id"),
ClientId: pulumi.Any(netapp_cloudmanager_connector_gcp.CmGcp.Client_id),
}, pulumi.Provider(netapp_cloudmanager))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NetappCloudmanager = Pulumi.NetappCloudmanager;
return await Deployment.RunAsync(() =>
{
var fsx_volume_cifs = new NetappCloudmanager.AwsFsxVolume("fsx-volume-cifs", new()
{
VolumeProtocol = "cifs",
Size = 10,
Unit = "GB",
ShareName = "share_cifs",
Permission = "full_control",
Users = new[]
{
"Everyone",
},
FileSystemId = "your-file-system-id",
ClientId = netapp_cloudmanager_connector_gcp.Cm_gcp.Client_id,
}, new CustomResourceOptions
{
Provider = netapp_cloudmanager,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netappcloudmanager.AwsFsxVolume;
import com.pulumi.netappcloudmanager.AwsFsxVolumeArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var fsx_volume_cifs = new AwsFsxVolume("fsx-volume-cifs", AwsFsxVolumeArgs.builder()
.volumeProtocol("cifs")
.size(10)
.unit("GB")
.shareName("share_cifs")
.permission("full_control")
.users("Everyone")
.fileSystemId("your-file-system-id")
.clientId(netapp_cloudmanager_connector_gcp.cm-gcp().client_id())
.build(), CustomResourceOptions.builder()
.provider(netapp_cloudmanager)
.build());
}
}
resources:
fsx-volume-cifs:
type: netapp-cloudmanager:AwsFsxVolume
properties:
volumeProtocol: cifs
size: 10
unit: GB
shareName: share_cifs
permission: full_control
users:
- Everyone
fileSystemId: your-file-system-id
clientId: ${["netapp-cloudmanager_connector_gcp"]"cm-gcp"[%!s(MISSING)].client_id}
options:
provider: ${["netapp-cloudmanager"]}
Create AwsFsxVolume Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AwsFsxVolume(name: string, args: AwsFsxVolumeArgs, opts?: CustomResourceOptions);
@overload
def AwsFsxVolume(resource_name: str,
args: AwsFsxVolumeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AwsFsxVolume(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_system_id: Optional[str] = None,
client_id: Optional[str] = None,
volume_protocol: Optional[str] = None,
unit: Optional[str] = None,
tenant_id: Optional[str] = None,
size: Optional[float] = None,
permission: Optional[str] = None,
name: Optional[str] = None,
aws_fsx_volume_id: Optional[str] = None,
share_name: Optional[str] = None,
export_policy_type: Optional[str] = None,
snapshot_policy_name: Optional[str] = None,
svm_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
export_policy_nfs_versions: Optional[Sequence[str]] = None,
tiering_policy: Optional[str] = None,
export_policy_ips: Optional[Sequence[str]] = None,
users: Optional[Sequence[str]] = None,
enable_storage_efficiency: Optional[bool] = None)
func NewAwsFsxVolume(ctx *Context, name string, args AwsFsxVolumeArgs, opts ...ResourceOption) (*AwsFsxVolume, error)
public AwsFsxVolume(string name, AwsFsxVolumeArgs args, CustomResourceOptions? opts = null)
public AwsFsxVolume(String name, AwsFsxVolumeArgs args)
public AwsFsxVolume(String name, AwsFsxVolumeArgs args, CustomResourceOptions options)
type: netapp-cloudmanager:AwsFsxVolume
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AwsFsxVolumeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AwsFsxVolumeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AwsFsxVolumeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwsFsxVolumeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AwsFsxVolumeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsFsxVolumeResource = new NetappCloudmanager.AwsFsxVolume("awsFsxVolumeResource", new()
{
FileSystemId = "string",
ClientId = "string",
VolumeProtocol = "string",
Unit = "string",
TenantId = "string",
Size = 0,
Permission = "string",
Name = "string",
AwsFsxVolumeId = "string",
ShareName = "string",
ExportPolicyType = "string",
SnapshotPolicyName = "string",
SvmName = "string",
Tags =
{
{ "string", "string" },
},
ExportPolicyNfsVersions = new[]
{
"string",
},
TieringPolicy = "string",
ExportPolicyIps = new[]
{
"string",
},
Users = new[]
{
"string",
},
EnableStorageEfficiency = false,
});
example, err := netappcloudmanager.NewAwsFsxVolume(ctx, "awsFsxVolumeResource", &netappcloudmanager.AwsFsxVolumeArgs{
FileSystemId: pulumi.String("string"),
ClientId: pulumi.String("string"),
VolumeProtocol: pulumi.String("string"),
Unit: pulumi.String("string"),
TenantId: pulumi.String("string"),
Size: pulumi.Float64(0),
Permission: pulumi.String("string"),
Name: pulumi.String("string"),
AwsFsxVolumeId: pulumi.String("string"),
ShareName: pulumi.String("string"),
ExportPolicyType: pulumi.String("string"),
SnapshotPolicyName: pulumi.String("string"),
SvmName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ExportPolicyNfsVersions: pulumi.StringArray{
pulumi.String("string"),
},
TieringPolicy: pulumi.String("string"),
ExportPolicyIps: pulumi.StringArray{
pulumi.String("string"),
},
Users: pulumi.StringArray{
pulumi.String("string"),
},
EnableStorageEfficiency: pulumi.Bool(false),
})
var awsFsxVolumeResource = new AwsFsxVolume("awsFsxVolumeResource", AwsFsxVolumeArgs.builder()
.fileSystemId("string")
.clientId("string")
.volumeProtocol("string")
.unit("string")
.tenantId("string")
.size(0)
.permission("string")
.name("string")
.awsFsxVolumeId("string")
.shareName("string")
.exportPolicyType("string")
.snapshotPolicyName("string")
.svmName("string")
.tags(Map.of("string", "string"))
.exportPolicyNfsVersions("string")
.tieringPolicy("string")
.exportPolicyIps("string")
.users("string")
.enableStorageEfficiency(false)
.build());
aws_fsx_volume_resource = netapp_cloudmanager.AwsFsxVolume("awsFsxVolumeResource",
file_system_id="string",
client_id="string",
volume_protocol="string",
unit="string",
tenant_id="string",
size=0,
permission="string",
name="string",
aws_fsx_volume_id="string",
share_name="string",
export_policy_type="string",
snapshot_policy_name="string",
svm_name="string",
tags={
"string": "string",
},
export_policy_nfs_versions=["string"],
tiering_policy="string",
export_policy_ips=["string"],
users=["string"],
enable_storage_efficiency=False)
const awsFsxVolumeResource = new netapp_cloudmanager.AwsFsxVolume("awsFsxVolumeResource", {
fileSystemId: "string",
clientId: "string",
volumeProtocol: "string",
unit: "string",
tenantId: "string",
size: 0,
permission: "string",
name: "string",
awsFsxVolumeId: "string",
shareName: "string",
exportPolicyType: "string",
snapshotPolicyName: "string",
svmName: "string",
tags: {
string: "string",
},
exportPolicyNfsVersions: ["string"],
tieringPolicy: "string",
exportPolicyIps: ["string"],
users: ["string"],
enableStorageEfficiency: false,
});
type: netapp-cloudmanager:AwsFsxVolume
properties:
awsFsxVolumeId: string
clientId: string
enableStorageEfficiency: false
exportPolicyIps:
- string
exportPolicyNfsVersions:
- string
exportPolicyType: string
fileSystemId: string
name: string
permission: string
shareName: string
size: 0
snapshotPolicyName: string
svmName: string
tags:
string: string
tenantId: string
tieringPolicy: string
unit: string
users:
- string
volumeProtocol: string
AwsFsxVolume Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AwsFsxVolume resource accepts the following input properties:
- Client
Id string - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- File
System stringId - Size double
- The volume size, supported with decimal numbers.
- Tenant
Id string - The workspace id.
- Unit string
- Volume
Protocol string - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- Aws
Fsx stringVolume Id - The uuid of the volume.
- Enable
Storage boolEfficiency - Enable storage efficiency.
- Export
Policy List<string>Ips - Custom export policy list of IPs. (NFS protocol parameters)
- Export
Policy List<string>Nfs Versions - Export policy protocol. (NFS protocol parameters)
- Export
Policy stringType - Name string
- The name of the volume.
- Permission string
- CIFS share permission type. (CIFS protocol parameters)
- string
- Share name. (CIFS protocol parameters)
- Snapshot
Policy stringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- Svm
Name string - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Dictionary<string, string>
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- Tiering
Policy string - Users List<string>
- List of users with the permission. (CIFS protocol parameters)
- Client
Id string - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- File
System stringId - Size float64
- The volume size, supported with decimal numbers.
- Tenant
Id string - The workspace id.
- Unit string
- Volume
Protocol string - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- Aws
Fsx stringVolume Id - The uuid of the volume.
- Enable
Storage boolEfficiency - Enable storage efficiency.
- Export
Policy []stringIps - Custom export policy list of IPs. (NFS protocol parameters)
- Export
Policy []stringNfs Versions - Export policy protocol. (NFS protocol parameters)
- Export
Policy stringType - Name string
- The name of the volume.
- Permission string
- CIFS share permission type. (CIFS protocol parameters)
- string
- Share name. (CIFS protocol parameters)
- Snapshot
Policy stringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- Svm
Name string - The name of the SVM. The default SVM name is used, if a name isn't provided.
- map[string]string
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- Tiering
Policy string - Users []string
- List of users with the permission. (CIFS protocol parameters)
- client
Id String - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- file
System StringId - size Double
- The volume size, supported with decimal numbers.
- tenant
Id String - The workspace id.
- unit String
- volume
Protocol String - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws
Fsx StringVolume Id - The uuid of the volume.
- enable
Storage BooleanEfficiency - Enable storage efficiency.
- export
Policy List<String>Ips - Custom export policy list of IPs. (NFS protocol parameters)
- export
Policy List<String>Nfs Versions - Export policy protocol. (NFS protocol parameters)
- export
Policy StringType - name String
- The name of the volume.
- permission String
- CIFS share permission type. (CIFS protocol parameters)
- String
- Share name. (CIFS protocol parameters)
- snapshot
Policy StringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm
Name String - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Map<String,String>
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tiering
Policy String - users List<String>
- List of users with the permission. (CIFS protocol parameters)
- client
Id string - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- file
System stringId - size number
- The volume size, supported with decimal numbers.
- tenant
Id string - The workspace id.
- unit string
- volume
Protocol string - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws
Fsx stringVolume Id - The uuid of the volume.
- enable
Storage booleanEfficiency - Enable storage efficiency.
- export
Policy string[]Ips - Custom export policy list of IPs. (NFS protocol parameters)
- export
Policy string[]Nfs Versions - Export policy protocol. (NFS protocol parameters)
- export
Policy stringType - name string
- The name of the volume.
- permission string
- CIFS share permission type. (CIFS protocol parameters)
- string
- Share name. (CIFS protocol parameters)
- snapshot
Policy stringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm
Name string - The name of the SVM. The default SVM name is used, if a name isn't provided.
- {[key: string]: string}
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tiering
Policy string - users string[]
- List of users with the permission. (CIFS protocol parameters)
- client_
id str - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- file_
system_ strid - size float
- The volume size, supported with decimal numbers.
- tenant_
id str - The workspace id.
- unit str
- volume_
protocol str - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws_
fsx_ strvolume_ id - The uuid of the volume.
- enable_
storage_ boolefficiency - Enable storage efficiency.
- export_
policy_ Sequence[str]ips - Custom export policy list of IPs. (NFS protocol parameters)
- export_
policy_ Sequence[str]nfs_ versions - Export policy protocol. (NFS protocol parameters)
- export_
policy_ strtype - name str
- The name of the volume.
- permission str
- CIFS share permission type. (CIFS protocol parameters)
- str
- Share name. (CIFS protocol parameters)
- snapshot_
policy_ strname - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm_
name str - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Mapping[str, str]
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tiering_
policy str - users Sequence[str]
- List of users with the permission. (CIFS protocol parameters)
- client
Id String - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- file
System StringId - size Number
- The volume size, supported with decimal numbers.
- tenant
Id String - The workspace id.
- unit String
- volume
Protocol String - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws
Fsx StringVolume Id - The uuid of the volume.
- enable
Storage BooleanEfficiency - Enable storage efficiency.
- export
Policy List<String>Ips - Custom export policy list of IPs. (NFS protocol parameters)
- export
Policy List<String>Nfs Versions - Export policy protocol. (NFS protocol parameters)
- export
Policy StringType - name String
- The name of the volume.
- permission String
- CIFS share permission type. (CIFS protocol parameters)
- String
- Share name. (CIFS protocol parameters)
- snapshot
Policy StringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm
Name String - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Map<String>
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tiering
Policy String - users List<String>
- List of users with the permission. (CIFS protocol parameters)
Outputs
All input properties are implicitly available as output properties. Additionally, the AwsFsxVolume resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AwsFsxVolume Resource
Get an existing AwsFsxVolume resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AwsFsxVolumeState, opts?: CustomResourceOptions): AwsFsxVolume
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_fsx_volume_id: Optional[str] = None,
client_id: Optional[str] = None,
enable_storage_efficiency: Optional[bool] = None,
export_policy_ips: Optional[Sequence[str]] = None,
export_policy_nfs_versions: Optional[Sequence[str]] = None,
export_policy_type: Optional[str] = None,
file_system_id: Optional[str] = None,
name: Optional[str] = None,
permission: Optional[str] = None,
share_name: Optional[str] = None,
size: Optional[float] = None,
snapshot_policy_name: Optional[str] = None,
svm_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_id: Optional[str] = None,
tiering_policy: Optional[str] = None,
unit: Optional[str] = None,
users: Optional[Sequence[str]] = None,
volume_protocol: Optional[str] = None) -> AwsFsxVolume
func GetAwsFsxVolume(ctx *Context, name string, id IDInput, state *AwsFsxVolumeState, opts ...ResourceOption) (*AwsFsxVolume, error)
public static AwsFsxVolume Get(string name, Input<string> id, AwsFsxVolumeState? state, CustomResourceOptions? opts = null)
public static AwsFsxVolume get(String name, Output<String> id, AwsFsxVolumeState state, CustomResourceOptions options)
resources: _: type: netapp-cloudmanager:AwsFsxVolume get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Aws
Fsx stringVolume Id - The uuid of the volume.
- Client
Id string - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- Enable
Storage boolEfficiency - Enable storage efficiency.
- Export
Policy List<string>Ips - Custom export policy list of IPs. (NFS protocol parameters)
- Export
Policy List<string>Nfs Versions - Export policy protocol. (NFS protocol parameters)
- Export
Policy stringType - File
System stringId - Name string
- The name of the volume.
- Permission string
- CIFS share permission type. (CIFS protocol parameters)
- string
- Share name. (CIFS protocol parameters)
- Size double
- The volume size, supported with decimal numbers.
- Snapshot
Policy stringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- Svm
Name string - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Dictionary<string, string>
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- Tenant
Id string - The workspace id.
- Tiering
Policy string - Unit string
- Users List<string>
- List of users with the permission. (CIFS protocol parameters)
- Volume
Protocol string - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- Aws
Fsx stringVolume Id - The uuid of the volume.
- Client
Id string - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- Enable
Storage boolEfficiency - Enable storage efficiency.
- Export
Policy []stringIps - Custom export policy list of IPs. (NFS protocol parameters)
- Export
Policy []stringNfs Versions - Export policy protocol. (NFS protocol parameters)
- Export
Policy stringType - File
System stringId - Name string
- The name of the volume.
- Permission string
- CIFS share permission type. (CIFS protocol parameters)
- string
- Share name. (CIFS protocol parameters)
- Size float64
- The volume size, supported with decimal numbers.
- Snapshot
Policy stringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- Svm
Name string - The name of the SVM. The default SVM name is used, if a name isn't provided.
- map[string]string
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- Tenant
Id string - The workspace id.
- Tiering
Policy string - Unit string
- Users []string
- List of users with the permission. (CIFS protocol parameters)
- Volume
Protocol string - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws
Fsx StringVolume Id - The uuid of the volume.
- client
Id String - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- enable
Storage BooleanEfficiency - Enable storage efficiency.
- export
Policy List<String>Ips - Custom export policy list of IPs. (NFS protocol parameters)
- export
Policy List<String>Nfs Versions - Export policy protocol. (NFS protocol parameters)
- export
Policy StringType - file
System StringId - name String
- The name of the volume.
- permission String
- CIFS share permission type. (CIFS protocol parameters)
- String
- Share name. (CIFS protocol parameters)
- size Double
- The volume size, supported with decimal numbers.
- snapshot
Policy StringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm
Name String - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Map<String,String>
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tenant
Id String - The workspace id.
- tiering
Policy String - unit String
- users List<String>
- List of users with the permission. (CIFS protocol parameters)
- volume
Protocol String - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws
Fsx stringVolume Id - The uuid of the volume.
- client
Id string - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- enable
Storage booleanEfficiency - Enable storage efficiency.
- export
Policy string[]Ips - Custom export policy list of IPs. (NFS protocol parameters)
- export
Policy string[]Nfs Versions - Export policy protocol. (NFS protocol parameters)
- export
Policy stringType - file
System stringId - name string
- The name of the volume.
- permission string
- CIFS share permission type. (CIFS protocol parameters)
- string
- Share name. (CIFS protocol parameters)
- size number
- The volume size, supported with decimal numbers.
- snapshot
Policy stringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm
Name string - The name of the SVM. The default SVM name is used, if a name isn't provided.
- {[key: string]: string}
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tenant
Id string - The workspace id.
- tiering
Policy string - unit string
- users string[]
- List of users with the permission. (CIFS protocol parameters)
- volume
Protocol string - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws_
fsx_ strvolume_ id - The uuid of the volume.
- client_
id str - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- enable_
storage_ boolefficiency - Enable storage efficiency.
- export_
policy_ Sequence[str]ips - Custom export policy list of IPs. (NFS protocol parameters)
- export_
policy_ Sequence[str]nfs_ versions - Export policy protocol. (NFS protocol parameters)
- export_
policy_ strtype - file_
system_ strid - name str
- The name of the volume.
- permission str
- CIFS share permission type. (CIFS protocol parameters)
- str
- Share name. (CIFS protocol parameters)
- size float
- The volume size, supported with decimal numbers.
- snapshot_
policy_ strname - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm_
name str - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Mapping[str, str]
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tenant_
id str - The workspace id.
- tiering_
policy str - unit str
- users Sequence[str]
- List of users with the permission. (CIFS protocol parameters)
- volume_
protocol str - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
- aws
Fsx StringVolume Id - The uuid of the volume.
- client
Id String - The client ID of the Cloud Manager Connector. You can find the ID from a previous created Connector action as shown in the example, or from the Connector tab on https://console.bluexp.netapp.com/.
- enable
Storage BooleanEfficiency - Enable storage efficiency.
- export
Policy List<String>Ips - Custom export policy list of IPs. (NFS protocol parameters)
- export
Policy List<String>Nfs Versions - Export policy protocol. (NFS protocol parameters)
- export
Policy StringType - file
System StringId - name String
- The name of the volume.
- permission String
- CIFS share permission type. (CIFS protocol parameters)
- String
- Share name. (CIFS protocol parameters)
- size Number
- The volume size, supported with decimal numbers.
- snapshot
Policy StringName - Snapshot policy name. The default is 'default'. (NFS protocol parameters)
- svm
Name String - The name of the SVM. The default SVM name is used, if a name isn't provided.
- Map<String>
- Set tags for the volume during creation. The API doesn't contain any information about tags so the provider doesn't guarantee tags will be added successfully and detect any drift after create.
- tenant
Id String - The workspace id.
- tiering
Policy String - unit String
- users List<String>
- List of users with the permission. (CIFS protocol parameters)
- volume
Protocol String - The protocol for the volume: ['nfs', 'cifs']. This affects the provided parameters.
Package Details
- Repository
- netapp-cloudmanager netapp/terraform-provider-netapp-cloudmanager
- License
- Notes
- This Pulumi package is based on the
netapp-cloudmanager
Terraform Provider.