Class InstanceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deviceupdate.fluent.models.InstanceInner
public final class InstanceInner
extends com.azure.core.management.Resource
Device Update instance details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: Parent Device Update Account name which Instance belongs to.Get the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.Get the enableDiagnostics property: Enables or Disables the diagnostic logs collection.iotHubs()
Get the iotHubs property: List of IoT Hubs associated with the account.Get the provisioningState property: Provisioning state.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withDiagnosticStorageProperties
(DiagnosticStorageProperties diagnosticStorageProperties) Set the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.withEnableDiagnostics
(Boolean enableDiagnostics) Set the enableDiagnostics property: Enables or Disables the diagnostic logs collection.withIotHubs
(List<IotHubSettings> iotHubs) Set the iotHubs property: List of IoT Hubs associated with the account.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
InstanceInner
public InstanceInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
accountName
Get the accountName property: Parent Device Update Account name which Instance belongs to.- Returns:
- the accountName value.
-
iotHubs
Get the iotHubs property: List of IoT Hubs associated with the account.- Returns:
- the iotHubs value.
-
withIotHubs
Set the iotHubs property: List of IoT Hubs associated with the account.- Parameters:
iotHubs
- the iotHubs value to set.- Returns:
- the InstanceInner object itself.
-
enableDiagnostics
Get the enableDiagnostics property: Enables or Disables the diagnostic logs collection.- Returns:
- the enableDiagnostics value.
-
withEnableDiagnostics
Set the enableDiagnostics property: Enables or Disables the diagnostic logs collection.- Parameters:
enableDiagnostics
- the enableDiagnostics value to set.- Returns:
- the InstanceInner object itself.
-
diagnosticStorageProperties
Get the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.- Returns:
- the diagnosticStorageProperties value.
-
withDiagnosticStorageProperties
public InstanceInner withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties) Set the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.- Parameters:
diagnosticStorageProperties
- the diagnosticStorageProperties value to set.- Returns:
- the InstanceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-