public final class SubResourceWithColocationStatus
extends com.azure.core.management.SubResource
Constructor and Description |
---|
SubResourceWithColocationStatus() |
Modifier and Type | Method and Description |
---|---|
InstanceViewStatus |
colocationStatus()
Get the colocationStatus property: Describes colocation status of a resource in the Proximity Placement Group.
|
void |
validate()
Validates the instance.
|
SubResourceWithColocationStatus |
withColocationStatus(InstanceViewStatus colocationStatus)
Set the colocationStatus property: Describes colocation status of a resource in the Proximity Placement Group.
|
public InstanceViewStatus colocationStatus()
public SubResourceWithColocationStatus withColocationStatus(InstanceViewStatus colocationStatus)
colocationStatus
- the colocationStatus value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.