Class SubResourceWithColocationStatus


  • public final class SubResourceWithColocationStatus
    extends com.azure.core.management.SubResource
    The SubResourceWithColocationStatus model.
    • Constructor Detail

      • SubResourceWithColocationStatus

        public SubResourceWithColocationStatus()
    • Method Detail

      • colocationStatus

        public InstanceViewStatus colocationStatus()
        Get the colocationStatus property: Describes colocation status of a resource in the Proximity Placement Group.
        Returns:
        the colocationStatus value.
      • withColocationStatus

        public SubResourceWithColocationStatus withColocationStatus​(InstanceViewStatus colocationStatus)
        Set the colocationStatus property: Describes colocation status of a resource in the Proximity Placement Group.
        Parameters:
        colocationStatus - the colocationStatus value to set.
        Returns:
        the SubResourceWithColocationStatus object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.