[ aws . fsx ]

create-storage-virtual-machine

Description

Creates a storage virtual machine (SVM) for an Amazon FSx for ONTAP file system.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  create-storage-virtual-machine
[--active-directory-configuration <value>]
[--client-request-token <value>]
--file-system-id <value>
--name <value>
[--svm-admin-password <value>]
[--tags <value>]
[--root-volume-security-style <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--active-directory-configuration (structure)

Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active Directory provides user authentication and access control for SMB clients, including Microsoft Windows and macOS client accessing the file system.

NetBiosName -> (string)

The NetBIOS name of the Active Directory computer object that will be created for your SVM.

SelfManagedActiveDirectoryConfiguration -> (structure)

The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see Using Amazon FSx with your self-managed Microsoft Active Directory or Managing SVMs .

DomainName -> (string)

The fully qualified domain name of the self-managed AD directory, such as corp.example.com .

OrganizationalUnitDistinguishedName -> (string)

(Optional) The fully qualified distinguished name of the organizational unit within your self-managed AD directory. Amazon FSx only accepts OU as the direct parent of the file system. An example is OU=FSx,DC=yourdomain,DC=corp,DC=com . To learn more, see RFC 2253 . If none is provided, the FSx file system is created in the default location of your self-managed AD directory.

Warning

Only Organizational Unit (OU) objects can be the direct parent of the file system that you’re creating.

FileSystemAdministratorsGroup -> (string)

(Optional) The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, setting audit controls (audit ACLs) on files and folders, and administering the file system remotely by using the FSx Remote PowerShell. The group that you specify must already exist in your domain. If you don’t provide one, your AD domain’s Domain Admins group is used.

UserName -> (string)

The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. This account must have the permission to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName , or in the default location of your AD domain.

Password -> (string)

The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.

DnsIps -> (list)

A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.

(string)

Shorthand Syntax:

NetBiosName=string,SelfManagedActiveDirectoryConfiguration={DomainName=string,OrganizationalUnitDistinguishedName=string,FileSystemAdministratorsGroup=string,UserName=string,Password=string,DnsIps=[string,string]}

JSON Syntax:

{
  "NetBiosName": "string",
  "SelfManagedActiveDirectoryConfiguration": {
    "DomainName": "string",
    "OrganizationalUnitDistinguishedName": "string",
    "FileSystemAdministratorsGroup": "string",
    "UserName": "string",
    "Password": "string",
    "DnsIps": ["string", ...]
  }
}

--client-request-token (string)

(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

--file-system-id (string)

The globally unique ID of the file system, assigned by Amazon FSx.

--name (string)

The name of the SVM.

--svm-admin-password (string)

The password to use when managing the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system’s fsxadmin user to manage the SVM.

--tags (list)

A list of Tag values, with a maximum of 50 elements.

(structure)

Specifies a key-value pair for a resource tag.

Key -> (string)

A value that specifies the TagKey , the name of the tag. Tag keys must be unique for the resource to which they are attached.

Value -> (string)

A value that specifies the TagValue , the value assigned to the corresponding tag key. Tag values can be null and don’t have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April and also of payroll : April .

Shorthand Syntax:

Key=string,Value=string ...

JSON Syntax:

[
  {
    "Key": "string",
    "Value": "string"
  }
  ...
]

--root-volume-security-style (string)

The security style of the root volume of the SVM. Specify one of the following values:

  • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.

  • NTFS if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account.

  • MIXED if the file system is managed by both UNIX and Windows administrators and users consist of both NFS and SMB clients.

Possible values:

  • UNIX

  • NTFS

  • MIXED

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

StorageVirtualMachine -> (structure)

Returned after a successful CreateStorageVirtualMachine operation; describes the SVM just created.

ActiveDirectoryConfiguration -> (structure)

Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.

NetBiosName -> (string)

The NetBIOS name of the Active Directory computer object that is joined to your SVM.

SelfManagedActiveDirectoryConfiguration -> (structure)

The configuration of the self-managed Microsoft Active Directory (AD) directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined.

DomainName -> (string)

The fully qualified domain name of the self-managed AD directory.

OrganizationalUnitDistinguishedName -> (string)

The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined.

FileSystemAdministratorsGroup -> (string)

The name of the domain group whose members have administrative privileges for the FSx file system.

UserName -> (string)

The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain.

DnsIps -> (list)

A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.

(string)

CreationTime -> (timestamp)

The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.

Endpoints -> (structure)

The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi , Management , Nfs , and Smb endpoints.

Iscsi -> (structure)

An endpoint for connecting using the Internet Small Computer Systems Interface (iSCSI) protocol.

DNSName -> (string)

The Domain Name Service (DNS) name for the file system. You can mount your file system using its DNS name.

IpAddresses -> (list)

The SVM endpoint’s IP addresses.

(string)

Management -> (structure)

An endpoint for managing SVMs using the NetApp ONTAP CLI, NetApp ONTAP API, or NetApp CloudManager.

DNSName -> (string)

The Domain Name Service (DNS) name for the file system. You can mount your file system using its DNS name.

IpAddresses -> (list)

The SVM endpoint’s IP addresses.

(string)

Nfs -> (structure)

An endpoint for connecting using the Network File System (NFS) protocol.

DNSName -> (string)

The Domain Name Service (DNS) name for the file system. You can mount your file system using its DNS name.

IpAddresses -> (list)

The SVM endpoint’s IP addresses.

(string)

Smb -> (structure)

An endpoint for connecting using the Server Message Block (SMB) protocol.

DNSName -> (string)

The Domain Name Service (DNS) name for the file system. You can mount your file system using its DNS name.

IpAddresses -> (list)

The SVM endpoint’s IP addresses.

(string)

FileSystemId -> (string)

The globally unique ID of the file system, assigned by Amazon FSx.

Lifecycle -> (string)

Describes the SVM’s lifecycle status.

  • CREATED - The SVM is fully available for use.

  • CREATING - Amazon FSx is creating the new SVM.

  • DELETING - Amazon FSx is deleting an existing SVM.

  • FAILED - Amazon FSx was unable to create the SVM.

  • MISCONFIGURED - The SVM is in a failed but recoverable state.

  • PENDING - Amazon FSx has not started creating the SVM.

Name -> (string)

The name of the SVM, if provisioned.

ResourceARN -> (string)

The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference .

StorageVirtualMachineId -> (string)

The SVM’s system generated unique ID.

Subtype -> (string)

Describes the SVM’s subtype.

UUID -> (string)

The SVM’s UUID (universally unique identifier).

Tags -> (list)

A list of Tag values, with a maximum of 50 elements.

(structure)

Specifies a key-value pair for a resource tag.

Key -> (string)

A value that specifies the TagKey , the name of the tag. Tag keys must be unique for the resource to which they are attached.

Value -> (string)

A value that specifies the TagValue , the value assigned to the corresponding tag key. Tag values can be null and don’t have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April and also of payroll : April .

LifecycleTransitionReason -> (structure)

Describes why the SVM lifecycle state changed.

Message -> (string)

A detailed error message.

RootVolumeSecurityStyle -> (string)

The security style of the root volume of the SVM.