Class ComputeResourceInner


  • public final class ComputeResourceInner
    extends com.azure.core.management.ProxyResource
    Machine Learning compute object wrapped into ARM resource envelope.
    • Constructor Detail

      • ComputeResourceInner

        public ComputeResourceInner()
    • Method Detail

      • identity

        public ManagedServiceIdentity identity()
        Get the identity property: The identity of the resource.
        Returns:
        the identity value.
      • withIdentity

        public ComputeResourceInner withIdentity​(ManagedServiceIdentity identity)
        Set the identity property: The identity of the resource.
        Parameters:
        identity - the identity value to set.
        Returns:
        the ComputeResourceInner object itself.
      • location

        public String location()
        Get the location property: Specifies the location of the resource.
        Returns:
        the location value.
      • withLocation

        public ComputeResourceInner withLocation​(String location)
        Set the location property: Specifies the location of the resource.
        Parameters:
        location - the location value to set.
        Returns:
        the ComputeResourceInner object itself.
      • tags

        public Map<String,​String> tags()
        Get the tags property: Contains resource tags defined as key/value pairs.
        Returns:
        the tags value.
      • withTags

        public ComputeResourceInner withTags​(Map<String,​String> tags)
        Set the tags property: Contains resource tags defined as key/value pairs.
        Parameters:
        tags - the tags value to set.
        Returns:
        the ComputeResourceInner object itself.
      • sku

        public Sku sku()
        Get the sku property: The sku of the workspace.
        Returns:
        the sku value.
      • withSku

        public ComputeResourceInner withSku​(Sku sku)
        Set the sku property: The sku of the workspace.
        Parameters:
        sku - the sku value to set.
        Returns:
        the ComputeResourceInner object itself.
      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData value.
      • properties

        public Compute properties()
        Get the properties property: Compute properties.
        Returns:
        the properties value.
      • withProperties

        public ComputeResourceInner withProperties​(Compute properties)
        Set the properties property: Compute properties.
        Parameters:
        properties - the properties value to set.
        Returns:
        the ComputeResourceInner object itself.
      • validate

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