Package com.pulumi.aws.datasync
Class LocationFsxOntapFileSystem
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.datasync.LocationFsxOntapFileSystem
-
public class LocationFsxOntapFileSystem extends com.pulumi.resources.CustomResource
Resource for managing an AWS DataSync Location FSx Ontap File System. ## Example Usage ### Basic Usage <!--Start PulumiCodeChooser --> <!--End PulumiCodeChooser --> ## Import Using `pulumi import`, import `aws_datasync_location_fsx_ontap_file_system` using the `DataSync-ARN#FSx-ontap-svm-ARN`. For example: ```sh $ pulumi import aws:datasync/locationFsxOntapFileSystem:LocationFsxOntapFileSystem example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:storage-virtual-machine/svm-12345678abcdef123 ```
-
-
Constructor Summary
Constructors Constructor Description LocationFsxOntapFileSystem(java.lang.String name)
LocationFsxOntapFileSystem(java.lang.String name, LocationFsxOntapFileSystemArgs args)
LocationFsxOntapFileSystem(java.lang.String name, LocationFsxOntapFileSystemArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.lang.String>
creationTime()
com.pulumi.core.Output<java.lang.String>
fsxFilesystemArn()
static LocationFsxOntapFileSystem
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, LocationFsxOntapFileSystemState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<LocationFsxOntapFileSystemProtocol>
protocol()
com.pulumi.core.Output<java.util.List<java.lang.String>>
securityGroupArns()
com.pulumi.core.Output<java.lang.String>
storageVirtualMachineArn()
com.pulumi.core.Output<java.lang.String>
subdirectory()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
com.pulumi.core.Output<java.lang.String>
uri()
-
-
-
Constructor Detail
-
LocationFsxOntapFileSystem
public LocationFsxOntapFileSystem(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
LocationFsxOntapFileSystem
public LocationFsxOntapFileSystem(java.lang.String name, LocationFsxOntapFileSystemArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
LocationFsxOntapFileSystem
public LocationFsxOntapFileSystem(java.lang.String name, LocationFsxOntapFileSystemArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the DataSync Location for the FSx Ontap File System.
-
creationTime
public com.pulumi.core.Output<java.lang.String> creationTime()
-
fsxFilesystemArn
public com.pulumi.core.Output<java.lang.String> fsxFilesystemArn()
- Returns:
- ARN of the FSx Ontap File System.
-
protocol
public com.pulumi.core.Output<LocationFsxOntapFileSystemProtocol> protocol()
- Returns:
- The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
-
securityGroupArns
public com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupArns()
- Returns:
- The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use): * Network File System (NFS): TCP ports 111, 635, and 2049 * Server Message Block (SMB): TCP port 445
-
storageVirtualMachineArn
public com.pulumi.core.Output<java.lang.String> storageVirtualMachineArn()
- Returns:
- The ARN of the SVM in your file system where you want to copy data to of from. The following arguments are optional:
-
subdirectory
public com.pulumi.core.Output<java.lang.String> subdirectory()
- Returns:
- Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. `/vol1`, `/vol1/tree1`, `share1`).
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
-
uri
public com.pulumi.core.Output<java.lang.String> uri()
- Returns:
- URI of the FSx ONTAP file system location
-
get
public static LocationFsxOntapFileSystem get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable LocationFsxOntapFileSystemState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-