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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Module definition.
    static interface 
    The Module definition stages.
    static interface 
    The template for Module update.
    static interface 
    The Module update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the activityCount property: Gets or sets the activity count of the module.
    Gets the contentLink property: Gets or sets the contentLink of the module.
    Gets the creationTime property: Gets or sets the creation time.
    Gets the description property: Gets or sets the description.
    Gets the error property: Gets or sets the error info of the module.
    Gets the etag property: Gets or sets the etag of the resource.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.automation.fluent.models.ModuleInner object.
    Gets the isComposite property: Gets or sets type of module, if its composite or not.
    Gets the isGlobal property: Gets or sets the isGlobal flag of the module.
    Gets the lastModifiedTime property: Gets or sets the last modified time.
    Gets the location property: The geo-location where the resource lives.
    Gets the name property: The name of the resource.
    Gets the provisioningState property: Gets or sets the provisioning state of the module.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    com.azure.core.management.Region
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the name of the resource group.
    Gets the sizeInBytes property: Gets or sets the size in bytes of the module.
    Gets the tags property: Resource tags.
    Gets the type property: The type of the resource.
    Begins update for the Module resource.
    Gets the version property: Gets or sets the version of the module.
  • Method Details

    • id

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

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • etag

      String etag()
      Gets the etag property: Gets or sets the etag of the resource.
      Returns:
      the etag value.
    • isGlobal

      Boolean isGlobal()
      Gets the isGlobal property: Gets or sets the isGlobal flag of the module.
      Returns:
      the isGlobal value.
    • version

      String version()
      Gets the version property: Gets or sets the version of the module.
      Returns:
      the version value.
    • sizeInBytes

      Long sizeInBytes()
      Gets the sizeInBytes property: Gets or sets the size in bytes of the module.
      Returns:
      the sizeInBytes value.
    • activityCount

      Integer activityCount()
      Gets the activityCount property: Gets or sets the activity count of the module.
      Returns:
      the activityCount value.
    • provisioningState

      ModuleProvisioningState provisioningState()
      Gets the provisioningState property: Gets or sets the provisioning state of the module.
      Returns:
      the provisioningState value.
    • contentLink

      ContentLink contentLink()
      Gets the contentLink property: Gets or sets the contentLink of the module.
      Returns:
      the contentLink value.
    • error

      Gets the error property: Gets or sets the error info of the module.
      Returns:
      the error value.
    • creationTime

      OffsetDateTime creationTime()
      Gets the creationTime property: Gets or sets the creation time.
      Returns:
      the creationTime value.
    • lastModifiedTime

      OffsetDateTime lastModifiedTime()
      Gets the lastModifiedTime property: Gets or sets the last modified time.
      Returns:
      the lastModifiedTime value.
    • description

      String description()
      Gets the description property: Gets or sets the description.
      Returns:
      the description value.
    • isComposite

      Boolean isComposite()
      Gets the isComposite property: Gets or sets type of module, if its composite or not.
      Returns:
      the isComposite value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

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

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

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

      Module 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.