Class WorkspaceInner


  • public final class WorkspaceInner
    extends com.azure.core.management.ProxyResource
    An object that represents a machine learning workspace.
    • Constructor Detail

      • WorkspaceInner

        public WorkspaceInner()
    • Method Detail

      • identity

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

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

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

        public WorkspaceInner withLocation​(String location)
        Set the location property: Specifies the location of the resource.
        Parameters:
        location - the location value to set.
        Returns:
        the WorkspaceInner 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 WorkspaceInner 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 WorkspaceInner object itself.
      • sku

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

        public WorkspaceInner withSku​(Sku sku)
        Set the sku property: The sku of the workspace.
        Parameters:
        sku - the sku value to set.
        Returns:
        the WorkspaceInner 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.
      • workspaceId

        public String workspaceId()
        Get the workspaceId property: The immutable id associated with this workspace.
        Returns:
        the workspaceId value.
      • description

        public String description()
        Get the description property: The description of this workspace.
        Returns:
        the description value.
      • withDescription

        public WorkspaceInner withDescription​(String description)
        Set the description property: The description of this workspace.
        Parameters:
        description - the description value to set.
        Returns:
        the WorkspaceInner object itself.
      • friendlyName

        public String friendlyName()
        Get the friendlyName property: The friendly name for this workspace. This name in mutable.
        Returns:
        the friendlyName value.
      • withFriendlyName

        public WorkspaceInner withFriendlyName​(String friendlyName)
        Set the friendlyName property: The friendly name for this workspace. This name in mutable.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the WorkspaceInner object itself.
      • keyVault

        public String keyVault()
        Get the keyVault property: ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created.
        Returns:
        the keyVault value.
      • withKeyVault

        public WorkspaceInner withKeyVault​(String keyVault)
        Set the keyVault property: ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created.
        Parameters:
        keyVault - the keyVault value to set.
        Returns:
        the WorkspaceInner object itself.
      • applicationInsights

        public String applicationInsights()
        Get the applicationInsights property: ARM id of the application insights associated with this workspace.
        Returns:
        the applicationInsights value.
      • withApplicationInsights

        public WorkspaceInner withApplicationInsights​(String applicationInsights)
        Set the applicationInsights property: ARM id of the application insights associated with this workspace.
        Parameters:
        applicationInsights - the applicationInsights value to set.
        Returns:
        the WorkspaceInner object itself.
      • containerRegistry

        public String containerRegistry()
        Get the containerRegistry property: ARM id of the container registry associated with this workspace.
        Returns:
        the containerRegistry value.
      • withContainerRegistry

        public WorkspaceInner withContainerRegistry​(String containerRegistry)
        Set the containerRegistry property: ARM id of the container registry associated with this workspace.
        Parameters:
        containerRegistry - the containerRegistry value to set.
        Returns:
        the WorkspaceInner object itself.
      • storageAccount

        public String storageAccount()
        Get the storageAccount property: ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created.
        Returns:
        the storageAccount value.
      • withStorageAccount

        public WorkspaceInner withStorageAccount​(String storageAccount)
        Set the storageAccount property: ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created.
        Parameters:
        storageAccount - the storageAccount value to set.
        Returns:
        the WorkspaceInner object itself.
      • discoveryUrl

        public String discoveryUrl()
        Get the discoveryUrl property: Url for the discovery service to identify regional endpoints for machine learning experimentation services.
        Returns:
        the discoveryUrl value.
      • withDiscoveryUrl

        public WorkspaceInner withDiscoveryUrl​(String discoveryUrl)
        Set the discoveryUrl property: Url for the discovery service to identify regional endpoints for machine learning experimentation services.
        Parameters:
        discoveryUrl - the discoveryUrl value to set.
        Returns:
        the WorkspaceInner object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning.
        Returns:
        the provisioningState value.
      • encryption

        public EncryptionProperty encryption()
        Get the encryption property: The encryption settings of Azure ML workspace.
        Returns:
        the encryption value.
      • withEncryption

        public WorkspaceInner withEncryption​(EncryptionProperty encryption)
        Set the encryption property: The encryption settings of Azure ML workspace.
        Parameters:
        encryption - the encryption value to set.
        Returns:
        the WorkspaceInner object itself.
      • hbiWorkspace

        public Boolean hbiWorkspace()
        Get the hbiWorkspace property: The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service.
        Returns:
        the hbiWorkspace value.
      • withHbiWorkspace

        public WorkspaceInner withHbiWorkspace​(Boolean hbiWorkspace)
        Set the hbiWorkspace property: The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service.
        Parameters:
        hbiWorkspace - the hbiWorkspace value to set.
        Returns:
        the WorkspaceInner object itself.
      • serviceProvisionedResourceGroup

        public String serviceProvisionedResourceGroup()
        Get the serviceProvisionedResourceGroup property: The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace.
        Returns:
        the serviceProvisionedResourceGroup value.
      • privateLinkCount

        public Integer privateLinkCount()
        Get the privateLinkCount property: Count of private connections in the workspace.
        Returns:
        the privateLinkCount value.
      • imageBuildCompute

        public String imageBuildCompute()
        Get the imageBuildCompute property: The compute name for image build.
        Returns:
        the imageBuildCompute value.
      • withImageBuildCompute

        public WorkspaceInner withImageBuildCompute​(String imageBuildCompute)
        Set the imageBuildCompute property: The compute name for image build.
        Parameters:
        imageBuildCompute - the imageBuildCompute value to set.
        Returns:
        the WorkspaceInner object itself.
      • allowPublicAccessWhenBehindVnet

        public Boolean allowPublicAccessWhenBehindVnet()
        Get the allowPublicAccessWhenBehindVnet property: The flag to indicate whether to allow public access when behind VNet.
        Returns:
        the allowPublicAccessWhenBehindVnet value.
      • withAllowPublicAccessWhenBehindVnet

        public WorkspaceInner withAllowPublicAccessWhenBehindVnet​(Boolean allowPublicAccessWhenBehindVnet)
        Set the allowPublicAccessWhenBehindVnet property: The flag to indicate whether to allow public access when behind VNet.
        Parameters:
        allowPublicAccessWhenBehindVnet - the allowPublicAccessWhenBehindVnet value to set.
        Returns:
        the WorkspaceInner object itself.
      • publicNetworkAccess

        public PublicNetworkAccess publicNetworkAccess()
        Get the publicNetworkAccess property: Whether requests from Public Network are allowed.
        Returns:
        the publicNetworkAccess value.
      • withPublicNetworkAccess

        public WorkspaceInner withPublicNetworkAccess​(PublicNetworkAccess publicNetworkAccess)
        Set the publicNetworkAccess property: Whether requests from Public Network are allowed.
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the WorkspaceInner object itself.
      • privateEndpointConnections

        public List<PrivateEndpointConnectionInner> privateEndpointConnections()
        Get the privateEndpointConnections property: The list of private endpoint connections in the workspace.
        Returns:
        the privateEndpointConnections value.
      • sharedPrivateLinkResources

        public List<SharedPrivateLinkResource> sharedPrivateLinkResources()
        Get the sharedPrivateLinkResources property: The list of shared private link resources in this workspace.
        Returns:
        the sharedPrivateLinkResources value.
      • withSharedPrivateLinkResources

        public WorkspaceInner withSharedPrivateLinkResources​(List<SharedPrivateLinkResource> sharedPrivateLinkResources)
        Set the sharedPrivateLinkResources property: The list of shared private link resources in this workspace.
        Parameters:
        sharedPrivateLinkResources - the sharedPrivateLinkResources value to set.
        Returns:
        the WorkspaceInner object itself.
      • notebookInfo

        public NotebookResourceInfoInner notebookInfo()
        Get the notebookInfo property: The notebook info of Azure ML workspace.
        Returns:
        the notebookInfo value.
      • serviceManagedResourcesSettings

        public ServiceManagedResourcesSettings serviceManagedResourcesSettings()
        Get the serviceManagedResourcesSettings property: The service managed resource settings.
        Returns:
        the serviceManagedResourcesSettings value.
      • withServiceManagedResourcesSettings

        public WorkspaceInner withServiceManagedResourcesSettings​(ServiceManagedResourcesSettings serviceManagedResourcesSettings)
        Set the serviceManagedResourcesSettings property: The service managed resource settings.
        Parameters:
        serviceManagedResourcesSettings - the serviceManagedResourcesSettings value to set.
        Returns:
        the WorkspaceInner object itself.
      • primaryUserAssignedIdentity

        public String primaryUserAssignedIdentity()
        Get the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.
        Returns:
        the primaryUserAssignedIdentity value.
      • withPrimaryUserAssignedIdentity

        public WorkspaceInner withPrimaryUserAssignedIdentity​(String primaryUserAssignedIdentity)
        Set the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.
        Parameters:
        primaryUserAssignedIdentity - the primaryUserAssignedIdentity value to set.
        Returns:
        the WorkspaceInner object itself.
      • tenantId

        public String tenantId()
        Get the tenantId property: The tenant id associated with this workspace.
        Returns:
        the tenantId value.
      • storageHnsEnabled

        public Boolean storageHnsEnabled()
        Get the storageHnsEnabled property: If the storage associated with the workspace has hierarchical namespace(HNS) enabled.
        Returns:
        the storageHnsEnabled value.
      • mlFlowTrackingUri

        public String mlFlowTrackingUri()
        Get the mlFlowTrackingUri property: The URI associated with this workspace that machine learning flow must point at to set up tracking.
        Returns:
        the mlFlowTrackingUri value.
      • validate

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