Instance Interface

public interface Instance

An immutable client-side representation of Instance.

Method Summary

Modifier and Type Method and Description
abstract String accountName()

Gets the accountName property: Parent Device Update Account name which Instance belongs to.

abstract DiagnosticStorageProperties diagnosticStorageProperties()

Gets the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.

abstract Boolean enableDiagnostics()

Gets the enableDiagnostics property: Enables or Disables the diagnostic logs collection.

abstract String id()

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

abstract InstanceInner innerModel()

Gets the inner com.azure.resourcemanager.deviceupdate.fluent.models.InstanceInner object.

abstract List<IotHubSettings> iotHubs()

Gets the iotHubs property: List of IoT Hubs associated with the account.

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.

abstract Instance refresh()

Refreshes the resource to sync with Azure.

abstract Instance 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 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 Instance resource.

Method Details

accountName

public abstract String accountName()

Gets the accountName property: Parent Device Update Account name which Instance belongs to.

Returns:

the accountName value.

diagnosticStorageProperties

public abstract DiagnosticStorageProperties diagnosticStorageProperties()

Gets the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.

Returns:

the diagnosticStorageProperties value.

enableDiagnostics

public abstract Boolean enableDiagnostics()

Gets the enableDiagnostics property: Enables or Disables the diagnostic logs collection.

Returns:

the enableDiagnostics value.

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract InstanceInner innerModel()

Gets the inner com.azure.resourcemanager.deviceupdate.fluent.models.InstanceInner object.

Returns:

the inner object.

iotHubs

public abstract List<IotHubSettings> iotHubs()

Gets the iotHubs property: List of IoT Hubs associated with the account.

Returns:

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

Gets the provisioningState property: Provisioning state.

Returns:

the provisioningState value.

refresh

public abstract Instance refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

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

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 Instance.Update update()

Begins update for the Instance resource.

Returns:

the stage of resource update.

Applies to