InstanceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. deviceupdate. fluent. models. InstanceInner
- com.
- com.
- com.
public final class InstanceInner
extends Resource
Device Update instance details.
Constructor Summary
| Constructor | Description |
|---|---|
| InstanceInner() |
Creates an instance of Instance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
|
Diagnostic |
diagnosticStorageProperties()
Get the diagnostic |
| Boolean |
enableDiagnostics()
Get the enable |
|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
List<Iot |
iotHubs()
Get the iot |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Instance |
withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties)
Set the diagnostic |
|
Instance |
withEnableDiagnostics(Boolean enableDiagnostics)
Set the enable |
|
Instance |
withIotHubs(List<IotHubSettings> iotHubs)
Set the iot |
|
Instance |
withLocation(String location) |
|
Instance |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
InstanceInner
public InstanceInner()
Creates an instance of InstanceInner class.
Method Details
accountName
public String accountName()
Get the accountName property: Parent Device Update Account name which Instance belongs to.
Returns:
diagnosticStorageProperties
public DiagnosticStorageProperties diagnosticStorageProperties()
Get the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.
Returns:
enableDiagnostics
public Boolean enableDiagnostics()
Get the enableDiagnostics property: Enables or Disables the diagnostic logs collection.
Returns:
fromJson
public static InstanceInner fromJson(JsonReader jsonReader)
Reads an instance of InstanceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
InstanceInner.id()Returns:
iotHubs
public List<IotHubSettings> iotHubs()
Get the iotHubs property: List of IoT Hubs associated with the account.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
InstanceInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InstanceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
InstanceInner.type()Returns:
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:
Returns:
withEnableDiagnostics
public InstanceInner withEnableDiagnostics(Boolean enableDiagnostics)
Set the enableDiagnostics property: Enables or Disables the diagnostic logs collection.
Parameters:
Returns:
withIotHubs
public InstanceInner withIotHubs(List<IotHubSettings> iotHubs)
Set the iotHubs property: List of IoT Hubs associated with the account.
Parameters:
Returns:
withLocation
public InstanceInner withLocation(String location)
Overrides:
InstanceInner.withLocation(String location)Parameters:
withTags
public InstanceInner withTags(Map<String,String> tags)
Overrides:
InstanceInner.withTags(Map<String,String> tags)Parameters: