BackupExternal / Client / list_resource_providers
list_resource_providers¶
- BackupExternal.Client.list_resource_providers(**kwargs)¶
Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_providers( ApplianceArn='string', MaxResults=123, NextToken='string', ResourceProviderType='MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER' )
- Parameters:
ApplianceArn (string) – The Amazon Resource Name (ARN) of the appliance by which to filter the results.
MaxResults (integer) – The maximum number of results to return in a single response.
NextToken (string) – The token returned by a previous call to retrieve the next page of results.
ResourceProviderType (string) – The resource provider type by which to filter the results.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'Items': [ { 'AgentComplianceStatus': 'NON_COMPLIANT'|'UP_TO_DATE'|'UPGRADE_AVAILABLE', 'AgentUpgradeStatus': 'PENDING'|'RUNNING'|'COMPLETED'|'FAILED', 'AgentUpgradeStatusMessage': 'string', 'AgentVersionCurrent': 'string', 'AgentVersionLatest': 'string', 'ApplianceArn': 'string', 'Arn': 'string', 'CreatedAt': datetime(2015, 1, 1), 'LastSyncStartedAt': datetime(2015, 1, 1), 'LastSyncCompletedAt': datetime(2015, 1, 1), 'Name': 'string', 'ProviderType': 'MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER', 'SecretConfigurationArn': 'string', 'Status': 'DELETING'|'DELETION_FAILED'|'MIGRATING'|'MIGRATION_FAILED'|'SYNCING'|'SYNC_COMPLETED'|'SYNC_FAILED', 'StatusMessage': 'string', 'UpdatedAt': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) –
NextToken (string) –
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Items (list) –
The list of resource provider summaries.
(dict) –
Contains summary information about a resource provider.
AgentComplianceStatus (string) –
The compliance status of the resource provider’s agent version.
AgentUpgradeStatus (string) –
The status of the resource provider’s agent upgrade.
AgentUpgradeStatusMessage (string) –
The message describing the status of the resource provider’s agent upgrade.
AgentVersionCurrent (string) –
The current version of the resource provider’s agent.
AgentVersionLatest (string) –
The latest version of the agent available for the resource provider.
ApplianceArn (string) –
The Amazon Resource Name (ARN) of the appliance.
Arn (string) –
The Amazon Resource Name (ARN) of the resource provider.
CreatedAt (datetime) –
The date and time that the resource provider was created.
LastSyncStartedAt (datetime) –
The date and time that the resource provider’s most recent synchronization started.
LastSyncCompletedAt (datetime) –
The date and time that the resource provider’s most recent synchronization completed.
Name (string) –
The name of the resource provider.
ProviderType (string) –
The type of resource provider.
SecretConfigurationArn (string) –
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
Status (string) –
The status of the resource provider.
StatusMessage (string) –
The message describing the status of the resource provider.
UpdatedAt (datetime) –
The date and time that the resource provider was last updated.
Exceptions