Class ServiceResourceInner


  • public final class ServiceResourceInner
    extends com.azure.core.management.Resource
    Service resource.
    • Constructor Detail

      • ServiceResourceInner

        public ServiceResourceInner()
    • Method Detail

      • properties

        public ClusterResourceProperties properties()
        Get the properties property: Properties of the Service resource.
        Returns:
        the properties value.
      • withProperties

        public ServiceResourceInner withProperties​(ClusterResourceProperties properties)
        Set the properties property: Properties of the Service resource.
        Parameters:
        properties - the properties value to set.
        Returns:
        the ServiceResourceInner object itself.
      • sku

        public Sku sku()
        Get the sku property: Sku of the Service resource.
        Returns:
        the sku value.
      • withSku

        public ServiceResourceInner withSku​(Sku sku)
        Set the sku property: Sku of the Service resource.
        Parameters:
        sku - the sku value to set.
        Returns:
        the ServiceResourceInner object itself.
      • withLocation

        public ServiceResourceInner withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • validate

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