create_storage_profile
async
¶
create_storage_profile(
farm_id: FarmId,
display_name: ResourceName,
os_family: StorageProfileOperatingSystemFamily,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
client_token: Optional[ClientToken] = None,
file_system_locations: Optional[FileSystemLocationsList] = None,
) -> CreateStorageProfileResponse
Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.
Parameters:
-
farm_id(FarmId) –The farm ID of the farm to connect to the storage profile.
-
client_token(Optional[ClientToken], default:None) –The unique token which the server uses to recognize retries of the same request.
-
display_name(ResourceName) –The display name of the storage profile.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
-
os_family(StorageProfileOperatingSystemFamily) –The type of operating system (OS) for the storage profile.
-
file_system_locations(Optional[FileSystemLocationsList], default:None) –File system paths to include in the storage profile.
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.
-
ServiceQuotaExceededException–You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
-
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.
Source code in docs_src/capo_deadline/_services/async_deadline.py
2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 | |