create_storage_virtual_machine
async
¶
create_storage_virtual_machine(
*,
config_overrides: Optional[AsyncFSxClientConfig] = None,
active_directory_configuration: Optional[
CreateSvmActiveDirectoryConfiguration
] = None,
client_request_token: Optional[ClientRequestToken] = None,
file_system_id: Optional[FileSystemId] = None,
name: Optional[StorageVirtualMachineName] = None,
svm_admin_password: Optional[AdminPassword] = None,
tags: Optional[Tags] = None,
root_volume_security_style: Optional[
StorageVirtualMachineRootVolumeSecurityStyle
] = None,
) -> CreateStorageVirtualMachineResponse
Creates a storage virtual machine (SVM) for an Amazon FSx for ONTAP file system.
Parameters:
-
active_directory_configuration(Optional[CreateSvmActiveDirectoryConfiguration], default:None) –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 clients accessing the file system.
-
name(Optional[StorageVirtualMachineName], default:None) –The name of the SVM.
-
svm_admin_password(Optional[AdminPassword], default:None) –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
fsxadminuser to manage the SVM. -
root_volume_security_style(Optional[StorageVirtualMachineRootVolumeSecurityStyle], default:None) –The security style of the root volume of the SVM. Specify one of the following values:
-
UNIXif 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. -
NTFSif the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account. -
MIXEDThis is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide.
-
Raises:
-
ActiveDirectoryError–An Active Directory error.
-
BadRequest–A generic error indicating a failure with a client request.
-
FileSystemNotFound–No Amazon FSx file systems were found based upon supplied parameters.
-
IncompatibleParameterError–The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
-
InternalServerError–A generic error indicating a server-side failure.
-
ServiceLimitExceeded–An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
-
UnsupportedOperation–The requested operation is not supported for this resource or API.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/async_f_sx.py
1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 | |