DeadlineCloud / Client / create_storage_profile

create_storage_profile#

DeadlineCloud.Client.create_storage_profile(**kwargs)#

Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.

See also: AWS API Documentation

Request Syntax

response = client.create_storage_profile(
    clientToken='string',
    displayName='string',
    farmId='string',
    fileSystemLocations=[
        {
            'name': 'string',
            'path': 'string',
            'type': 'SHARED'|'LOCAL'
        },
    ],
    osFamily='WINDOWS'|'LINUX'|'MACOS'
)
Parameters:
  • clientToken (string) –

    The unique token which the server uses to recognize retries of the same request.

    This field is autopopulated if not provided.

  • displayName (string) –

    [REQUIRED]

    The display name of the storage profile.

  • farmId (string) –

    [REQUIRED]

    The farm ID of the farm to connect to the storage profile.

  • fileSystemLocations (list) –

    File system paths to include in the storage profile.

    • (dict) –

      The details of the file system location for the resource.

      • name (string) – [REQUIRED]

        The location name.

      • path (string) – [REQUIRED]

        The file path.

      • type (string) – [REQUIRED]

        The type of file.

  • osFamily (string) –

    [REQUIRED]

    The type of operating system (OS) for the storage profile.

Return type:

dict

Returns:

Response Syntax

{
    'storageProfileId': 'string'
}

Response Structure

  • (dict) –

    • storageProfileId (string) –

      The storage profile ID.

Exceptions