Interface Instance
public interface Instance
An immutable client-side representation of Instance.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Instance definition.static interface
The Instance definition stages.static interface
The template for Instance update.static interface
The Instance update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the accountName property: Parent Device Update Account name which Instance belongs to.Gets the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.Gets the enableDiagnostics property: Enables or Disables the diagnostic logs collection.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.deviceupdate.fluent.models.InstanceInner object.iotHubs()
Gets the iotHubs property: List of IoT Hubs associated with the account.location()
Gets the location property: The geo-location where the resource lives.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Provisioning state.refresh()
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
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the Instance resource.
-
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
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
provisioningState
ProvisioningState provisioningState()Gets the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
accountName
String accountName()Gets the accountName property: Parent Device Update Account name which Instance belongs to.- Returns:
- the accountName value.
-
iotHubs
List<IotHubSettings> iotHubs()Gets the iotHubs property: List of IoT Hubs associated with the account.- Returns:
- the iotHubs value.
-
enableDiagnostics
Boolean enableDiagnostics()Gets the enableDiagnostics property: Enables or Disables the diagnostic logs collection.- Returns:
- the enableDiagnostics value.
-
diagnosticStorageProperties
DiagnosticStorageProperties diagnosticStorageProperties()Gets the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.- Returns:
- the diagnosticStorageProperties 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
InstanceInner innerModel()Gets the inner com.azure.resourcemanager.deviceupdate.fluent.models.InstanceInner object.- Returns:
- the inner object.
-
update
Instance.Update update()Begins update for the Instance resource.- Returns:
- the stage of resource update.
-
refresh
Instance refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-