create_storage_virtual_machine_peer
async
¶
create_storage_virtual_machine_peer(
*,
config_overrides: Optional[AsyncFSxClientConfig] = None,
client_request_token: Optional[ClientRequestToken] = None,
storage_virtual_machine_id: Optional[StorageVirtualMachineId] = None,
peer_svm_name: Optional[PeerSvmName] = None,
peer_cluster_name: Optional[PeerClusterName] = None,
applications: Optional[StorageVirtualMachinePeerApplications] = None,
peer_svm_alias: Optional[PeerSvmAlias] = None,
tags: Optional[Tags] = None,
) -> CreateStorageVirtualMachinePeerResponse
Creates a storage virtual machine (SVM) peer relationship between an SVM on an Amazon FSx for NetApp ONTAP file system and another SVM.
The CreateStorageVirtualMachinePeer operation returns while the SVM peer's lifecycle state is still CREATING. You can check the SVM peer creation status by calling the DescribeStorageVirtualMachinePeers operation.
Parameters:
-
storage_virtual_machine_id(Optional[StorageVirtualMachineId], default:None) –Specifies the ID of the SVM on which to create the SVM peer relationship.
-
peer_svm_name(Optional[PeerSvmName], default:None) –Specifies the name of the SVM to peer with.
-
peer_cluster_name(Optional[PeerClusterName], default:None) –Specifies the name of the peer cluster that the peer SVM is on.
-
applications(Optional[StorageVirtualMachinePeerApplications], default:None) –Specifies the applications that the SVM peer relationship authorizes.
-
peer_svm_alias(Optional[PeerSvmAlias], default:None) –Specifies the name that the local cluster uses to identify the peer SVM.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
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.
-
StorageVirtualMachineNotFound–No FSx for ONTAP SVMs were found based upon the supplied parameters.
-
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
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 | |