list_volumes
async
¶
list_volumes(
farm_id: FarmId,
fleet_id: FleetId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListVolumesResponse
Lists the persistent volumes in a fleet.
Parameters:
-
farm_id(FarmId) –The farm ID of the farm that contains the fleet.
-
fleet_id(FleetId) –The fleet ID of the fleet that contains the volumes.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results, or
nullto start from the beginning. -
max_results(Optional[MaxResults], default:None) –The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List volumes for a fleet
>>> await client.list_volumes(farm_id='farm-1234567890abcdef1234567890abcdef', fleet_id='fleet-1234567890abcdef1234567890abcdef')
Source code in docs_src/capo_deadline/_services/async_deadline.py
4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 | |