InstanceInner Class

public final class InstanceInner
extends Resource

Device Update instance details.

Constructor Summary

Constructor Description
InstanceInner()

Method Summary

Modifier and Type Method and Description
String accountName()

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

DiagnosticStorageProperties diagnosticStorageProperties()

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

Boolean enableDiagnostics()

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

List<IotHubSettings> iotHubs()

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

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state.

SystemData systemData()

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

void validate()

Validates the instance.

InstanceInner withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties)

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

InstanceInner withEnableDiagnostics(Boolean enableDiagnostics)

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

InstanceInner withIotHubs(List<IotHubSettings> iotHubs)

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

InstanceInner withLocation(String location)
InstanceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

InstanceInner

public InstanceInner()

Method Details

accountName

public String accountName()

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

Returns:

the accountName value.

diagnosticStorageProperties

public DiagnosticStorageProperties diagnosticStorageProperties()

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

Returns:

the diagnosticStorageProperties value.

enableDiagnostics

public Boolean enableDiagnostics()

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

Returns:

the enableDiagnostics value.

iotHubs

public List<IotHubSettings> iotHubs()

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

Returns:

the iotHubs value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

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.

withEnableDiagnostics

public InstanceInner withEnableDiagnostics(Boolean enableDiagnostics)

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

Parameters:

enableDiagnostics - the enableDiagnostics value to set.

Returns:

the InstanceInner object itself.

withIotHubs

public InstanceInner withIotHubs(List<IotHubSettings> iotHubs)

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

Parameters:

iotHubs - the iotHubs value to set.

Returns:

the InstanceInner object itself.

withLocation

public InstanceInner withLocation(String location)

Overrides:

InstanceInner.withLocation(String location)

Parameters:

location

withTags

public InstanceInner withTags(Map<String,String> tags)

Overrides:

InstanceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to