TransformationsOperations Class

TransformationsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
TransformationsOperations

Constructor

TransformationsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

create_or_replace

Creates a transformation or replaces an already existing transformation under an existing streaming job.

get

Gets details about the specified transformation.

update

Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition.

create_or_replace

Creates a transformation or replaces an already existing transformation under an existing streaming job.

create_or_replace(resource_group_name: str, job_name: str, transformation_name: str, transformation: models.Transformation, if_match: Optional[str] = None, if_none_match: Optional[str] = None, **kwargs: Any) -> models.Transformation

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

job_name
str
Required

The name of the streaming job.

transformation_name
str
Required

The name of the transformation.

transformation
<xref:stream_analytics_management_client.models.Transformation>
Required

The definition of the transformation that will be used to create a new transformation or replace the existing one under the streaming job.

if_match
str
default value: None

The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

if_none_match
str
default value: None

Set to '*' to allow a new transformation to be created, but to prevent updating an existing transformation. Other values will result in a 412 Pre-condition Failed response.

cls
callable

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

Returns

Transformation, or the result of cls(response)

Return type

<xref:stream_analytics_management_client.models.Transformation>

Exceptions

get

Gets details about the specified transformation.

get(resource_group_name: str, job_name: str, transformation_name: str, **kwargs: Any) -> models.Transformation

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

job_name
str
Required

The name of the streaming job.

transformation_name
str
Required

The name of the transformation.

cls
callable

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

Returns

Transformation, or the result of cls(response)

Return type

<xref:stream_analytics_management_client.models.Transformation>

Exceptions

update

Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition.

update(resource_group_name: str, job_name: str, transformation_name: str, transformation: models.Transformation, if_match: Optional[str] = None, **kwargs: Any) -> models.Transformation

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

job_name
str
Required

The name of the streaming job.

transformation_name
str
Required

The name of the transformation.

transformation
<xref:stream_analytics_management_client.models.Transformation>
Required

A Transformation object. The properties specified here will overwrite the corresponding properties in the existing transformation (ie. Those properties will be updated). Any properties that are set to null here will mean that the corresponding property in the existing transformation will remain the same and not change as a result of this PATCH operation.

if_match
str
default value: None

The ETag of the transformation. Omit this value to always overwrite the current transformation. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

cls
callable

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

Returns

Transformation, or the result of cls(response)

Return type

<xref:stream_analytics_management_client.models.Transformation>

Exceptions

Attributes

models

models = <module 'azure.mgmt.streamanalytics.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\streamanalytics\\models\\__init__.py'>