describe_storage_virtual_machine_peers
¶
describe_storage_virtual_machine_peers(
*,
config_overrides: Optional[FSxClientConfig] = None,
storage_virtual_machine_peer_ids: Optional[StorageVirtualMachinePeerIds] = None,
filters: Optional[StorageVirtualMachinePeerFilters] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeStorageVirtualMachinePeersResponse
Returns the description of specific Amazon FSx for NetApp ONTAP storage virtual machine (SVM) peers, if a StorageVirtualMachinePeerIds value is provided. Otherwise, this operation returns all SVM peers owned by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.
When retrieving all SVM peers, you can optionally specify the MaxResults parameter to limit the number of SVM peers in a response. If more SVM peers remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of NextToken from the last response.
Parameters:
-
storage_virtual_machine_peer_ids(Optional[StorageVirtualMachinePeerIds], default:None) –The IDs of the SVM peers that you want to retrieve. If you also specify
Filters, only SVM peers that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aStorageVirtualMachinePeerNotFounderror occurs. -
filters(Optional[StorageVirtualMachinePeerFilters], default:None) –The filters structure. The supported names are
file-system-idorstorage-virtual-machine-id.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
FileSystemNotFound–No Amazon FSx file systems were found based upon supplied parameters.
-
InternalServerError–A generic error indicating a server-side failure.
-
StorageVirtualMachineNotFound–No FSx for ONTAP SVMs were found based upon the supplied parameters.
-
StorageVirtualMachinePeerNotFound–No Amazon FSx storage virtual machine (SVM) peers were found based on the supplied parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/f_sx.py
4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 | |