Interface TransformationsClient


  • public interface TransformationsClient
    An instance of this class provides access to all the operations defined in TransformationsClient.
    • Method Detail

      • createOrReplace

        TransformationInner createOrReplace​(String resourceGroupName,
                                            String jobName,
                                            String transformationName,
                                            TransformationInner transformation)
        Creates a transformation or replaces an already existing transformation under an existing streaming job.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        jobName - The name of the streaming job.
        transformationName - The name of the transformation.
        transformation - The definition of the transformation that will be used to create a new transformation or replace the existing one under the streaming job.
        Returns:
        a transformation object, containing all information associated with the named transformation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrReplaceWithResponse

        TransformationsCreateOrReplaceResponse createOrReplaceWithResponse​(String resourceGroupName,
                                                                           String jobName,
                                                                           String transformationName,
                                                                           TransformationInner transformation,
                                                                           String ifMatch,
                                                                           String ifNoneMatch,
                                                                           com.azure.core.util.Context context)
        Creates a transformation or replaces an already existing transformation under an existing streaming job.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        jobName - The name of the streaming job.
        transformationName - The name of the transformation.
        transformation - The definition of the transformation that will be used to create a new transformation or replace the existing one under the streaming job.
        ifMatch - 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.
        ifNoneMatch - 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.
        context - The context to associate with this operation.
        Returns:
        a transformation object, containing all information associated with the named transformation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        TransformationInner update​(String resourceGroupName,
                                   String jobName,
                                   String transformationName,
                                   TransformationInner transformation)
        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.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        jobName - The name of the streaming job.
        transformationName - The name of the transformation.
        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.
        Returns:
        a transformation object, containing all information associated with the named transformation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponse

        TransformationsUpdateResponse updateWithResponse​(String resourceGroupName,
                                                         String jobName,
                                                         String transformationName,
                                                         TransformationInner transformation,
                                                         String ifMatch,
                                                         com.azure.core.util.Context context)
        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.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        jobName - The name of the streaming job.
        transformationName - The name of the transformation.
        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.
        ifMatch - 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.
        context - The context to associate with this operation.
        Returns:
        a transformation object, containing all information associated with the named transformation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        TransformationInner get​(String resourceGroupName,
                                String jobName,
                                String transformationName)
        Gets details about the specified transformation.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        jobName - The name of the streaming job.
        transformationName - The name of the transformation.
        Returns:
        details about the specified transformation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        TransformationsGetResponse getWithResponse​(String resourceGroupName,
                                                   String jobName,
                                                   String transformationName,
                                                   com.azure.core.util.Context context)
        Gets details about the specified transformation.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        jobName - The name of the streaming job.
        transformationName - The name of the transformation.
        context - The context to associate with this operation.
        Returns:
        details about the specified transformation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.