Class CloudServiceInstanceViewInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.CloudServiceInstanceViewInner
-
public final class CloudServiceInstanceViewInner extends Object
InstanceView of CloudService as a whole.
-
-
Constructor Summary
Constructors Constructor Description CloudServiceInstanceViewInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>privateIds()Get the privateIds property: Specifies a list of unique identifiers generated internally for the cloud service.InstanceViewStatusesSummaryroleInstance()Get the roleInstance property: Instance view statuses.StringsdkVersion()Get the sdkVersion property: The version of the SDK that was used to generate the package for the cloud service.List<ResourceInstanceViewStatus>statuses()Get the statuses property: The statuses property.voidvalidate()Validates the instance.CloudServiceInstanceViewInnerwithRoleInstance(InstanceViewStatusesSummary roleInstance)Set the roleInstance property: Instance view statuses.
-
-
-
Method Detail
-
roleInstance
public InstanceViewStatusesSummary roleInstance()
Get the roleInstance property: Instance view statuses.- Returns:
- the roleInstance value.
-
withRoleInstance
public CloudServiceInstanceViewInner withRoleInstance(InstanceViewStatusesSummary roleInstance)
Set the roleInstance property: Instance view statuses.- Parameters:
roleInstance- the roleInstance value to set.- Returns:
- the CloudServiceInstanceViewInner object itself.
-
sdkVersion
public String sdkVersion()
Get the sdkVersion property: The version of the SDK that was used to generate the package for the cloud service.- Returns:
- the sdkVersion value.
-
privateIds
public List<String> privateIds()
Get the privateIds property: Specifies a list of unique identifiers generated internally for the cloud service. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.- Returns:
- the privateIds value.
-
statuses
public List<ResourceInstanceViewStatus> statuses()
Get the statuses property: The statuses property.- Returns:
- the statuses value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-