Class WorkspaceUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.WorkspaceUpdateParameters
-
public final class WorkspaceUpdateParameters extends Object
The parameters for updating a machine learning workspace.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationInsights()
Get the applicationInsights property: ARM id of the application insights associated with this workspace.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
friendlyName()
Get the friendlyName property: The friendly name for this workspace.ManagedServiceIdentity
identity()
Get the identity property: The identity of the resource.String
imageBuildCompute()
Get the imageBuildCompute property: The compute name for image build.String
primaryUserAssignedIdentity()
Get the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.PublicNetworkAccess
publicNetworkAccess()
Get the publicNetworkAccess property: Whether requests from Public Network are allowed.ServiceManagedResourcesSettings
serviceManagedResourcesSettings()
Get the serviceManagedResourcesSettings property: The service managed resource settings.Sku
sku()
Get the sku property: The sku of the workspace.Map<String,String>
tags()
Get the tags property: The resource tags for the machine learning workspace.void
validate()
Validates the instance.WorkspaceUpdateParameters
withApplicationInsights(String applicationInsights)
Set the applicationInsights property: ARM id of the application insights associated with this workspace.WorkspaceUpdateParameters
withContainerRegistry(String containerRegistry)
Set the containerRegistry property: ARM id of the container registry associated with this workspace.WorkspaceUpdateParameters
withDescription(String description)
Set the description property: The description of this workspace.WorkspaceUpdateParameters
withFriendlyName(String friendlyName)
Set the friendlyName property: The friendly name for this workspace.WorkspaceUpdateParameters
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the resource.WorkspaceUpdateParameters
withImageBuildCompute(String imageBuildCompute)
Set the imageBuildCompute property: The compute name for image build.WorkspaceUpdateParameters
withPrimaryUserAssignedIdentity(String primaryUserAssignedIdentity)
Set the primaryUserAssignedIdentity property: The user assigned identity resource id that represents the workspace identity.WorkspaceUpdateParameters
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether requests from Public Network are allowed.WorkspaceUpdateParameters
withServiceManagedResourcesSettings(ServiceManagedResourcesSettings serviceManagedResourcesSettings)
Set the serviceManagedResourcesSettings property: The service managed resource settings.WorkspaceUpdateParameters
withSku(Sku sku)
Set the sku property: The sku of the workspace.WorkspaceUpdateParameters
withTags(Map<String,String> tags)
Set the tags property: The resource tags for the machine learning workspace.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: The resource tags for the machine learning workspace.- Returns:
- the tags value.
-
withTags
public WorkspaceUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The resource tags for the machine learning workspace.- Parameters:
tags
- the tags value to set.- Returns:
- the WorkspaceUpdateParameters object itself.
-
sku
public Sku sku()
Get the sku property: The sku of the workspace.- Returns:
- the sku value.
-
withSku
public WorkspaceUpdateParameters withSku(Sku sku)
Set the sku property: The sku of the workspace.- Parameters:
sku
- the sku value to set.- Returns:
- the WorkspaceUpdateParameters object itself.
-
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
public WorkspaceUpdateParameters withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the WorkspaceUpdateParameters object itself.
-
description
public String description()
Get the description property: The description of this workspace.- Returns:
- the description value.
-
withDescription
public WorkspaceUpdateParameters withDescription(String description)
Set the description property: The description of this workspace.- Parameters:
description
- the description value to set.- Returns:
- the WorkspaceUpdateParameters object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: The friendly name for this workspace.- Returns:
- the friendlyName value.
-
withFriendlyName
public WorkspaceUpdateParameters withFriendlyName(String friendlyName)
Set the friendlyName property: The friendly name for this workspace.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the WorkspaceUpdateParameters object itself.
-
imageBuildCompute
public String imageBuildCompute()
Get the imageBuildCompute property: The compute name for image build.- Returns:
- the imageBuildCompute value.
-
withImageBuildCompute
public WorkspaceUpdateParameters withImageBuildCompute(String imageBuildCompute)
Set the imageBuildCompute property: The compute name for image build.- Parameters:
imageBuildCompute
- the imageBuildCompute value to set.- Returns:
- the WorkspaceUpdateParameters object itself.
-
serviceManagedResourcesSettings
public ServiceManagedResourcesSettings serviceManagedResourcesSettings()
Get the serviceManagedResourcesSettings property: The service managed resource settings.- Returns:
- the serviceManagedResourcesSettings value.
-
withServiceManagedResourcesSettings
public WorkspaceUpdateParameters withServiceManagedResourcesSettings(ServiceManagedResourcesSettings serviceManagedResourcesSettings)
Set the serviceManagedResourcesSettings property: The service managed resource settings.- Parameters:
serviceManagedResourcesSettings
- the serviceManagedResourcesSettings value to set.- Returns:
- the WorkspaceUpdateParameters 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 WorkspaceUpdateParameters 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 WorkspaceUpdateParameters object itself.
-
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether requests from Public Network are allowed.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public WorkspaceUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether requests from Public Network are allowed.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the WorkspaceUpdateParameters 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 WorkspaceUpdateParameters 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 WorkspaceUpdateParameters 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 WorkspaceUpdateParameters 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 WorkspaceUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-