Interface Input


  • public interface Input
    An immutable client-side representation of Input.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Input.Definition
      The entirety of the Input definition.
      static interface  Input.DefinitionStages
      The Input definition stages.
      static interface  Input.Update
      The template for Input update.
      static interface  Input.UpdateStages
      The Input update stages.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      InputInner innerModel()
      Gets the inner com.azure.resourcemanager.streamanalytics.fluent.models.InputInner object.
      String name()
      Gets the name property: Resource name.
      InputProperties properties()
      Gets the properties property: The properties that are associated with an input.
      Input refresh()
      Refreshes the resource to sync with Azure.
      Input refresh​(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      ResourceTestStatus test()
      Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
      ResourceTestStatus test​(InputInner input)
      Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
      ResourceTestStatus test​(InputInner input, com.azure.core.util.Context context)
      Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
      String type()
      Gets the type property: Resource type.
      Input.Update update()
      Begins update for the Input resource.
    • Method Detail

      • id

        String id()
        Gets the id property: Fully qualified resource Id for the resource.
        Returns:
        the id value.
      • properties

        InputProperties properties()
        Gets the properties property: The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.
        Returns:
        the properties value.
      • name

        String name()
        Gets the name property: Resource name.
        Returns:
        the name value.
      • type

        String type()
        Gets the type property: Resource type.
        Returns:
        the type value.
      • innerModel

        InputInner innerModel()
        Gets the inner com.azure.resourcemanager.streamanalytics.fluent.models.InputInner object.
        Returns:
        the inner object.
      • update

        Input.Update update()
        Begins update for the Input resource.
        Returns:
        the stage of resource update.
      • refresh

        Input refresh()
        Refreshes the resource to sync with Azure.
        Returns:
        the refreshed resource.
      • refresh

        Input refresh​(com.azure.core.util.Context context)
        Refreshes the resource to sync with Azure.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the refreshed resource.
      • test

        ResourceTestStatus test​(InputInner input)
        Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
        Parameters:
        input - If the input specified does not already exist, this parameter must contain the full input definition intended to be tested. If the input specified already exists, this parameter can be left null to test the existing input as is or if specified, the properties specified will overwrite the corresponding properties in the existing input (exactly like a PATCH operation) and the resulting input will be tested.
        Returns:
        describes the status of the test operation along with error information, if applicable.
        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.
      • test

        ResourceTestStatus test()
        Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
        Returns:
        describes the status of the test operation along with error information, if applicable.
        Throws:
        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.
      • test

        ResourceTestStatus test​(InputInner input,
                                com.azure.core.util.Context context)
        Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.
        Parameters:
        input - If the input specified does not already exist, this parameter must contain the full input definition intended to be tested. If the input specified already exists, this parameter can be left null to test the existing input as is or if specified, the properties specified will overwrite the corresponding properties in the existing input (exactly like a PATCH operation) and the resulting input will be tested.
        context - The context to associate with this operation.
        Returns:
        describes the status of the test operation along with error information, if applicable.
        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.