WorkspaceInner Class

public final class WorkspaceInner
extends ProxyResource

An object that represents a machine learning workspace.

Constructor Summary

Constructor Description
WorkspaceInner()

Creates an instance of WorkspaceInner class.

Method Summary

Modifier and Type Method and Description
Boolean allowPublicAccessWhenBehindVnet()

Get the allowPublicAccessWhenBehindVnet property: The flag to indicate whether to allow public access when behind VNet.

String applicationInsights()

Get the applicationInsights property: ARM id of the application insights associated with this workspace.

List<String> associatedWorkspaces()

Get the associatedWorkspaces property: The associatedWorkspaces property.

String containerRegistry()

Get the containerRegistry property: ARM id of the container registry associated with this workspace.

String description()

Get the description property: The description of this workspace.

String discoveryUrl()

Get the discoveryUrl property: Url for the discovery service to identify regional endpoints for machine learning experimentation services.

Boolean enableDataIsolation()

Get the enableDataIsolation property: The enableDataIsolation property.

EncryptionProperty encryption()

Get the encryption property: The encryption settings of Azure ML workspace.

FeatureStoreSettings featureStoreSettings()

Get the featureStoreSettings property: Settings for feature store type workspace.

String friendlyName()

Get the friendlyName property: The friendly name for this workspace.

static WorkspaceInner fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceInner from the JsonReader.

Boolean hbiWorkspace()

Get the hbiWorkspace property: The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service.

String hubResourceId()

Get the hubResourceId property: The hubResourceId property.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identity()

Get the identity property: The identity of the resource.

String imageBuildCompute()

Get the imageBuildCompute property: The compute name for image build.

String keyVault()

Get the keyVault property: ARM id of the key vault associated with this workspace.

String kind()

Get the kind property: The kind property.

String location()

Get the location property: Specifies the location of the resource.

ManagedNetworkSettingsInner managedNetwork()

Get the managedNetwork property: Managed Network settings for a machine learning workspace.

String mlFlowTrackingUri()

Get the mlFlowTrackingUri property: The URI associated with this workspace that machine learning flow must point at to set up tracking.

String name()

Get the name property: The name of the resource.

NotebookResourceInfoInner notebookInfo()

Get the notebookInfo property: The notebook info of Azure ML workspace.

String primaryUserAssignedIdentity()

Get the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The list of private endpoint connections in the workspace.

Integer privateLinkCount()

Get the privateLinkCount property: Count of private connections in the workspace.

ProvisioningState provisioningState()

Get the provisioningState property: The current deployment state of workspace resource.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether requests from Public Network are allowed.

ServerlessComputeSettings serverlessComputeSettings()

Get the serverlessComputeSettings property: Settings for serverless compute created in the workspace.

ServiceManagedResourcesSettings serviceManagedResourcesSettings()

Get the serviceManagedResourcesSettings property: The service managed resource settings.

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.

List<SharedPrivateLinkResource> sharedPrivateLinkResources()

Get the sharedPrivateLinkResources property: The list of shared private link resources in this workspace.

Sku sku()

Get the sku property: The sku of the workspace.

String storageAccount()

Get the storageAccount property: ARM id of the storage account associated with this workspace.

Boolean storageHnsEnabled()

Get the storageHnsEnabled property: If the storage associated with the workspace has hierarchical namespace(HNS) enabled.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Contains resource tags defined as key/value pairs.

String tenantId()

Get the tenantId property: The tenant id associated with this workspace.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

Boolean v1LegacyMode()

Get the v1LegacyMode property: Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.

void validate()

Validates the instance.

WorkspaceInner withAllowPublicAccessWhenBehindVnet(Boolean allowPublicAccessWhenBehindVnet)

Set the allowPublicAccessWhenBehindVnet property: The flag to indicate whether to allow public access when behind VNet.

WorkspaceInner withApplicationInsights(String applicationInsights)

Set the applicationInsights property: ARM id of the application insights associated with this workspace.

WorkspaceInner withAssociatedWorkspaces(List<String> associatedWorkspaces)

Set the associatedWorkspaces property: The associatedWorkspaces property.

WorkspaceInner withContainerRegistry(String containerRegistry)

Set the containerRegistry property: ARM id of the container registry associated with this workspace.

WorkspaceInner withDescription(String description)

Set the description property: The description of this workspace.

WorkspaceInner withDiscoveryUrl(String discoveryUrl)

Set the discoveryUrl property: Url for the discovery service to identify regional endpoints for machine learning experimentation services.

WorkspaceInner withEnableDataIsolation(Boolean enableDataIsolation)

Set the enableDataIsolation property: The enableDataIsolation property.

WorkspaceInner withEncryption(EncryptionProperty encryption)

Set the encryption property: The encryption settings of Azure ML workspace.

WorkspaceInner withFeatureStoreSettings(FeatureStoreSettings featureStoreSettings)

Set the featureStoreSettings property: Settings for feature store type workspace.

WorkspaceInner withFriendlyName(String friendlyName)

Set the friendlyName property: The friendly name for this workspace.

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.

WorkspaceInner withHubResourceId(String hubResourceId)

Set the hubResourceId property: The hubResourceId property.

WorkspaceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the resource.

WorkspaceInner withImageBuildCompute(String imageBuildCompute)

Set the imageBuildCompute property: The compute name for image build.

WorkspaceInner withKeyVault(String keyVault)

Set the keyVault property: ARM id of the key vault associated with this workspace.

WorkspaceInner withKind(String kind)

Set the kind property: The kind property.

WorkspaceInner withLocation(String location)

Set the location property: Specifies the location of the resource.

WorkspaceInner withManagedNetwork(ManagedNetworkSettingsInner managedNetwork)

Set the managedNetwork property: Managed Network settings for a machine learning workspace.

WorkspaceInner withPrimaryUserAssignedIdentity(String primaryUserAssignedIdentity)

Set the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.

WorkspaceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether requests from Public Network are allowed.

WorkspaceInner withServerlessComputeSettings(ServerlessComputeSettings serverlessComputeSettings)

Set the serverlessComputeSettings property: Settings for serverless compute created in the workspace.

WorkspaceInner withServiceManagedResourcesSettings(ServiceManagedResourcesSettings serviceManagedResourcesSettings)

Set the serviceManagedResourcesSettings property: The service managed resource settings.

WorkspaceInner withSharedPrivateLinkResources(List<SharedPrivateLinkResource> sharedPrivateLinkResources)

Set the sharedPrivateLinkResources property: The list of shared private link resources in this workspace.

WorkspaceInner withSku(Sku sku)

Set the sku property: The sku of the workspace.

WorkspaceInner withStorageAccount(String storageAccount)

Set the storageAccount property: ARM id of the storage account associated with this workspace.

WorkspaceInner withTags(Map<String,String> tags)

Set the tags property: Contains resource tags defined as key/value pairs.

WorkspaceInner withV1LegacyMode(Boolean v1LegacyMode)

Set the v1LegacyMode property: Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.

WorkspaceInner withWorkspaceHubConfig(WorkspaceHubConfig workspaceHubConfig)

Set the workspaceHubConfig property: WorkspaceHub's configuration object.

WorkspaceHubConfig workspaceHubConfig()

Get the workspaceHubConfig property: WorkspaceHub's configuration object.

String workspaceId()

Get the workspaceId property: The immutable id associated with this workspace.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

WorkspaceInner

public WorkspaceInner()

Creates an instance of WorkspaceInner class.

Method Details

allowPublicAccessWhenBehindVnet

public Boolean allowPublicAccessWhenBehindVnet()

Get the allowPublicAccessWhenBehindVnet property: The flag to indicate whether to allow public access when behind VNet.

Returns:

the allowPublicAccessWhenBehindVnet value.

applicationInsights

public String applicationInsights()

Get the applicationInsights property: ARM id of the application insights associated with this workspace.

Returns:

the applicationInsights value.

associatedWorkspaces

public List<String> associatedWorkspaces()

Get the associatedWorkspaces property: The associatedWorkspaces property.

Returns:

the associatedWorkspaces value.

containerRegistry

public String containerRegistry()

Get the containerRegistry property: ARM id of the container registry associated with this workspace.

Returns:

the containerRegistry value.

description

public String description()

Get the description property: The description of this workspace.

Returns:

the description value.

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.

enableDataIsolation

public Boolean enableDataIsolation()

Get the enableDataIsolation property: The enableDataIsolation property.

Returns:

the enableDataIsolation value.

encryption

public EncryptionProperty encryption()

Get the encryption property: The encryption settings of Azure ML workspace.

Returns:

the encryption value.

featureStoreSettings

public FeatureStoreSettings featureStoreSettings()

Get the featureStoreSettings property: Settings for feature store type workspace.

Returns:

the featureStoreSettings value.

friendlyName

public String friendlyName()

Get the friendlyName property: The friendly name for this workspace. This name in mutable.

Returns:

the friendlyName value.

fromJson

public static WorkspaceInner fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkspaceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

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.

hubResourceId

public String hubResourceId()

Get the hubResourceId property: The hubResourceId property.

Returns:

the hubResourceId value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WorkspaceInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity of the resource.

Returns:

the identity value.

imageBuildCompute

public String imageBuildCompute()

Get the imageBuildCompute property: The compute name for image build.

Returns:

the imageBuildCompute value.

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.

kind

public String kind()

Get the kind property: The kind property.

Returns:

the kind value.

location

public String location()

Get the location property: Specifies the location of the resource.

Returns:

the location value.

managedNetwork

public ManagedNetworkSettingsInner managedNetwork()

Get the managedNetwork property: Managed Network settings for a machine learning workspace.

Returns:

the managedNetwork 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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkspaceInner.name()

Returns:

the name value.

notebookInfo

public NotebookResourceInfoInner notebookInfo()

Get the notebookInfo property: The notebook info of Azure ML workspace.

Returns:

the notebookInfo value.

primaryUserAssignedIdentity

public String primaryUserAssignedIdentity()

Get the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.

Returns:

the primaryUserAssignedIdentity value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The list of private endpoint connections in the workspace.

Returns:

the privateEndpointConnections value.

privateLinkCount

public Integer privateLinkCount()

Get the privateLinkCount property: Count of private connections in the workspace.

Returns:

the privateLinkCount value.

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.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether requests from Public Network are allowed.

Returns:

the publicNetworkAccess value.

serverlessComputeSettings

public ServerlessComputeSettings serverlessComputeSettings()

Get the serverlessComputeSettings property: Settings for serverless compute created in the workspace.

Returns:

the serverlessComputeSettings value.

serviceManagedResourcesSettings

public ServiceManagedResourcesSettings serviceManagedResourcesSettings()

Get the serviceManagedResourcesSettings property: The service managed resource settings.

Returns:

the serviceManagedResourcesSettings value.

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.

sharedPrivateLinkResources

public List<SharedPrivateLinkResource> sharedPrivateLinkResources()

Get the sharedPrivateLinkResources property: The list of shared private link resources in this workspace.

Returns:

the sharedPrivateLinkResources value.

sku

public Sku sku()

Get the sku property: The sku of the workspace.

Returns:

the sku value.

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.

storageHnsEnabled

public Boolean storageHnsEnabled()

Get the storageHnsEnabled property: If the storage associated with the workspace has hierarchical namespace(HNS) enabled.

Returns:

the storageHnsEnabled value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Contains resource tags defined as key/value pairs.

Returns:

the tags value.

tenantId

public String tenantId()

Get the tenantId property: The tenant id associated with this workspace.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkspaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkspaceInner.type()

Returns:

the type value.

v1LegacyMode

public Boolean v1LegacyMode()

Get the v1LegacyMode property: Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.

Returns:

the v1LegacyMode value.

validate

public void validate()

Validates the instance.

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.

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.

withAssociatedWorkspaces

public WorkspaceInner withAssociatedWorkspaces(List<String> associatedWorkspaces)

Set the associatedWorkspaces property: The associatedWorkspaces property.

Parameters:

associatedWorkspaces - the associatedWorkspaces value to set.

Returns:

the WorkspaceInner object itself.

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.

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.

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.

withEnableDataIsolation

public WorkspaceInner withEnableDataIsolation(Boolean enableDataIsolation)

Set the enableDataIsolation property: The enableDataIsolation property.

Parameters:

enableDataIsolation - the enableDataIsolation value to set.

Returns:

the WorkspaceInner object itself.

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.

withFeatureStoreSettings

public WorkspaceInner withFeatureStoreSettings(FeatureStoreSettings featureStoreSettings)

Set the featureStoreSettings property: Settings for feature store type workspace.

Parameters:

featureStoreSettings - the featureStoreSettings value to set.

Returns:

the WorkspaceInner object itself.

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.

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.

withHubResourceId

public WorkspaceInner withHubResourceId(String hubResourceId)

Set the hubResourceId property: The hubResourceId property.

Parameters:

hubResourceId - the hubResourceId value to set.

Returns:

the WorkspaceInner object itself.

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.

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.

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.

withKind

public WorkspaceInner withKind(String kind)

Set the kind property: The kind property.

Parameters:

kind - the kind value to set.

Returns:

the WorkspaceInner object itself.

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.

withManagedNetwork

public WorkspaceInner withManagedNetwork(ManagedNetworkSettingsInner managedNetwork)

Set the managedNetwork property: Managed Network settings for a machine learning workspace.

Parameters:

managedNetwork - the managedNetwork value to set.

Returns:

the WorkspaceInner object itself.

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.

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.

withServerlessComputeSettings

public WorkspaceInner withServerlessComputeSettings(ServerlessComputeSettings serverlessComputeSettings)

Set the serverlessComputeSettings property: Settings for serverless compute created in the workspace.

Parameters:

serverlessComputeSettings - the serverlessComputeSettings value to set.

Returns:

the WorkspaceInner object itself.

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.

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.

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.

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.

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.

withV1LegacyMode

public WorkspaceInner withV1LegacyMode(Boolean v1LegacyMode)

Set the v1LegacyMode property: Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.

Parameters:

v1LegacyMode - the v1LegacyMode value to set.

Returns:

the WorkspaceInner object itself.

withWorkspaceHubConfig

public WorkspaceInner withWorkspaceHubConfig(WorkspaceHubConfig workspaceHubConfig)

Set the workspaceHubConfig property: WorkspaceHub's configuration object.

Parameters:

workspaceHubConfig - the workspaceHubConfig value to set.

Returns:

the WorkspaceInner object itself.

workspaceHubConfig

public WorkspaceHubConfig workspaceHubConfig()

Get the workspaceHubConfig property: WorkspaceHub's configuration object.

Returns:

the workspaceHubConfig value.

workspaceId

public String workspaceId()

Get the workspaceId property: The immutable id associated with this workspace.

Returns:

the workspaceId value.

Applies to