Replica Interface

public interface Replica

An immutable client-side representation of Replica.

Method Summary

Modifier and Type Method and Description
abstract String id()

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

abstract ReplicaInner innerModel()

Gets the inner com.azure.resourcemanager.webpubsub.fluent.models.ReplicaInner object.

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 ProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the resource.

abstract Replica refresh()

Refreshes the resource to sync with Azure.

abstract Replica refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionEndpointEnabled()

Gets the regionEndpointEnabled property: Enable or disable the regional endpoint.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String resourceStopped()

Gets the resourceStopped property: Stop or start the resource.

abstract void restart()

Operation to restart a replica.

abstract void restart(Context context)

Operation to restart a replica.

abstract ResourceSku sku()

Gets the sku property: The billing information of the resource.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

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 Replica resource.

Method Details

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract ReplicaInner innerModel()

Gets the inner com.azure.resourcemanager.webpubsub.fluent.models.ReplicaInner object.

Returns:

the inner object.

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 ProvisioningState provisioningState()

Gets the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

refresh

public abstract Replica refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Replica 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.

regionEndpointEnabled

public abstract String regionEndpointEnabled()

Gets the regionEndpointEnabled property: Enable or disable the regional endpoint. Default to "Enabled". When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.

Returns:

the regionEndpointEnabled value.

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.

resourceStopped

public abstract String resourceStopped()

Gets the resourceStopped property: Stop or start the resource. Default to "false". When it's true, the data plane of the resource is shutdown. When it's false, the data plane of the resource is started.

Returns:

the resourceStopped value.

restart

public abstract void restart()

Operation to restart a replica.

restart

public abstract void restart(Context context)

Operation to restart a replica.

Parameters:

context - The context to associate with this operation.

sku

public abstract ResourceSku sku()

Gets the sku property: The billing information of the resource.

Returns:

the sku value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> 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 Replica.Update update()

Begins update for the Replica resource.

Returns:

the stage of resource update.

Applies to