describe_storage_virtual_machine_peers
async
¶
describe_storage_virtual_machine_peers(
*,
config_overrides: Optional[AsyncFSxClientConfig] = 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/async_f_sx.py
4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 | |