Module Interface

public interface Module

An immutable client-side representation of Module.

Method Summary

Modifier and Type Method and Description
abstract Integer activityCount()

Gets the activityCount property: Gets or sets the activity count of the module.

abstract ContentLink contentLink()

Gets the contentLink property: Gets or sets the contentLink of the module.

abstract OffsetDateTime creationTime()

Gets the creationTime property: Gets or sets the creation time.

abstract String description()

Gets the description property: Gets or sets the description.

abstract ModuleErrorInfo error()

Gets the error property: Gets or sets the error info of the module.

abstract String etag()

Gets the etag property: Gets or sets the etag of the resource.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ModuleInner innerModel()

Gets the inner com.azure.resourcemanager.automation.fluent.models.ModuleInner object.

abstract Boolean isComposite()

Gets the isComposite property: Gets or sets type of module, if its composite or not.

abstract Boolean isGlobal()

Gets the isGlobal property: Gets or sets the isGlobal flag of the module.

abstract OffsetDateTime lastModifiedTime()

Gets the lastModifiedTime property: Gets or sets the last modified time.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract ModuleProvisioningState provisioningState()

Gets the provisioningState property: Gets or sets the provisioning state of the module.

abstract Module refresh()

Refreshes the resource to sync with Azure.

abstract Module refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract Long sizeInBytes()

Gets the sizeInBytes property: Gets or sets the size in bytes of the module.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Module resource.

abstract String version()

Gets the version property: Gets or sets the version of the module.

Method Details

activityCount

public abstract Integer activityCount()

Gets the activityCount property: Gets or sets the activity count of the module.

Returns:

the activityCount value.

contentLink

public abstract ContentLink contentLink()

Gets the contentLink property: Gets or sets the contentLink of the module.

Returns:

the contentLink value.

creationTime

public abstract OffsetDateTime creationTime()

Gets the creationTime property: Gets or sets the creation time.

Returns:

the creationTime value.

description

public abstract String description()

Gets the description property: Gets or sets the description.

Returns:

the description value.

error

public abstract ModuleErrorInfo error()

Gets the error property: Gets or sets the error info of the module.

Returns:

the error value.

etag

public abstract String etag()

Gets the etag property: Gets or sets the etag of the resource.

Returns:

the etag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract ModuleInner innerModel()

Gets the inner com.azure.resourcemanager.automation.fluent.models.ModuleInner object.

Returns:

the inner object.

isComposite

public abstract Boolean isComposite()

Gets the isComposite property: Gets or sets type of module, if its composite or not.

Returns:

the isComposite value.

isGlobal

public abstract Boolean isGlobal()

Gets the isGlobal property: Gets or sets the isGlobal flag of the module.

Returns:

the isGlobal value.

lastModifiedTime

public abstract OffsetDateTime lastModifiedTime()

Gets the lastModifiedTime property: Gets or sets the last modified time.

Returns:

the lastModifiedTime value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ModuleProvisioningState provisioningState()

Gets the provisioningState property: Gets or sets the provisioning state of the module.

Returns:

the provisioningState value.

refresh

public abstract Module refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Module refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

sizeInBytes

public abstract Long sizeInBytes()

Gets the sizeInBytes property: Gets or sets the size in bytes of the module.

Returns:

the sizeInBytes value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Module.Update update()

Begins update for the Module resource.

Returns:

the stage of resource update.

version

public abstract String version()

Gets the version property: Gets or sets the version of the module.

Returns:

the version value.

Applies to