Class InstanceProperties
java.lang.Object
com.azure.resourcemanager.deviceupdate.fluent.models.InstanceProperties
Device Update instance properties.
-
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.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.
-
Constructor Details
-
InstanceProperties
public InstanceProperties()
-
-
Method Details
-
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 InstanceProperties 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 InstanceProperties object itself.
-
diagnosticStorageProperties
Get the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.- Returns:
- the diagnosticStorageProperties value.
-
withDiagnosticStorageProperties
public InstanceProperties withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties) Set the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.- Parameters:
diagnosticStorageProperties
- the diagnosticStorageProperties value to set.- Returns:
- the InstanceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-