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.objectTransformationsOperations
Constructor
TransformationsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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
- transformation
- <xref:stream_analytics_management_client.models.Transformation>
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
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
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
Exceptions
get
Gets details about the specified transformation.
get(resource_group_name: str, job_name: str, transformation_name: str, **kwargs: Any) -> models.Transformation
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Transformation, or the result of cls(response)
Return type
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
- transformation
- <xref:stream_analytics_management_client.models.Transformation>
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
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
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'>
Feedback
Submit and view feedback for