TransformsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AzureMediaServices's

<xref:transforms> attribute.

Inheritance
builtins.object
TransformsOperations

Constructor

TransformsOperations(*args, **kwargs)

Methods

create_or_update

Create or Update Transform.

Creates or updates a new Transform.

delete

Delete Transform.

Deletes a Transform.

get

Get Transform.

Gets a Transform.

list

List Transforms.

Lists the Transforms in the account.

update

Update Transform.

Updates a Transform.

create_or_update

Create or Update Transform.

Creates or updates a new Transform.

create_or_update(resource_group_name: str, account_name: str, transform_name: str, parameters: _models.Transform, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Transform

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

transform_name
Required
str

The Transform name. Required.

parameters
Required

The request parameters. Is either a model type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

Transform or the result of cls(response)

Exceptions

Type Description

delete

Delete Transform.

Deletes a Transform.

delete(resource_group_name: str, account_name: str, transform_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

transform_name
Required
str

The Transform name. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get Transform.

Gets a Transform.

get(resource_group_name: str, account_name: str, transform_name: str, **kwargs: Any) -> Transform

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

transform_name
Required
str

The Transform name. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

Transform or the result of cls(response)

Exceptions

Type Description

list

List Transforms.

Lists the Transforms in the account.

list(resource_group_name: str, account_name: str, filter: str | None = None, orderby: str | None = None, **kwargs: Any) -> Iterable[Transform]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

filter
Required
str

Restricts the set of items returned. Default value is None.

orderby
Required
str

Specifies the key by which the result collection should be ordered. Default value is None.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

An iterator like instance of either Transform or the result of cls(response)

Exceptions

Type Description

update

Update Transform.

Updates a Transform.

update(resource_group_name: str, account_name: str, transform_name: str, parameters: _models.Transform, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Transform

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the Azure subscription. Required.

account_name
Required
str

The Media Services account name. Required.

transform_name
Required
str

The Transform name. Required.

parameters
Required

The request parameters. Is either a model type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

Transform or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.media.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\media\\models\\__init__.py'>