WorkspaceUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.WorkspaceUpdateParameters

Implements

public final class WorkspaceUpdateParameters
implements JsonSerializable<WorkspaceUpdateParameters>

The parameters for updating a machine learning workspace.

Constructor Summary

Constructor Description
WorkspaceUpdateParameters()

Creates an instance of WorkspaceUpdateParameters class.

Method Summary

Modifier and Type Method and 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.

Boolean enableDataIsolation()

Get the enableDataIsolation property: The enableDataIsolation property.

EncryptionUpdateProperties encryption()

Get the encryption property: The encryption property.

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 WorkspaceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceUpdateParameters from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: The identity of the resource.

String imageBuildCompute()

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

ManagedNetworkSettingsInner managedNetwork()

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

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.

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.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

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 withEnableDataIsolation(Boolean enableDataIsolation)

Set the enableDataIsolation property: The enableDataIsolation property.

WorkspaceUpdateParameters withEncryption(EncryptionUpdateProperties encryption)

Set the encryption property: The encryption property.

WorkspaceUpdateParameters withFeatureStoreSettings(FeatureStoreSettings featureStoreSettings)

Set the featureStoreSettings property: Settings for feature store type 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 withManagedNetwork(ManagedNetworkSettingsInner managedNetwork)

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

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 withServerlessComputeSettings(ServerlessComputeSettings serverlessComputeSettings)

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

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.

WorkspaceUpdateParameters withV1LegacyMode(Boolean v1LegacyMode)

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

Methods inherited from java.lang.Object

Constructor Details

WorkspaceUpdateParameters

public WorkspaceUpdateParameters()

Creates an instance of WorkspaceUpdateParameters class.

Method Details

applicationInsights

public String applicationInsights()

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

Returns:

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

enableDataIsolation

public Boolean enableDataIsolation()

Get the enableDataIsolation property: The enableDataIsolation property.

Returns:

the enableDataIsolation value.

encryption

public EncryptionUpdateProperties encryption()

Get the encryption property: The encryption property.

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.

Returns:

the friendlyName value.

fromJson

public static WorkspaceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the WorkspaceUpdateParameters.

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.

managedNetwork

public ManagedNetworkSettingsInner managedNetwork()

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

Returns:

the managedNetwork value.

primaryUserAssignedIdentity

public String primaryUserAssignedIdentity()

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

Returns:

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

sku

public Sku sku()

Get the sku property: The sku of the workspace.

Returns:

the sku value.

tags

public Map<String,String> tags()

Get the tags property: The resource tags for the machine learning workspace.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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.

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.

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.

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.

withEnableDataIsolation

public WorkspaceUpdateParameters withEnableDataIsolation(Boolean enableDataIsolation)

Set the enableDataIsolation property: The enableDataIsolation property.

Parameters:

enableDataIsolation - the enableDataIsolation value to set.

Returns:

the WorkspaceUpdateParameters object itself.

withEncryption

public WorkspaceUpdateParameters withEncryption(EncryptionUpdateProperties encryption)

Set the encryption property: The encryption property.

Parameters:

encryption - the encryption value to set.

Returns:

the WorkspaceUpdateParameters object itself.

withFeatureStoreSettings

public WorkspaceUpdateParameters withFeatureStoreSettings(FeatureStoreSettings featureStoreSettings)

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

Parameters:

featureStoreSettings - the featureStoreSettings value to set.

Returns:

the WorkspaceUpdateParameters object itself.

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.

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.

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.

withManagedNetwork

public WorkspaceUpdateParameters withManagedNetwork(ManagedNetworkSettingsInner managedNetwork)

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

Parameters:

managedNetwork - the managedNetwork value to set.

Returns:

the WorkspaceUpdateParameters object itself.

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.

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.

withServerlessComputeSettings

public WorkspaceUpdateParameters withServerlessComputeSettings(ServerlessComputeSettings serverlessComputeSettings)

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

Parameters:

serverlessComputeSettings - the serverlessComputeSettings value to set.

Returns:

the WorkspaceUpdateParameters object itself.

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.

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.

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.

withV1LegacyMode

public WorkspaceUpdateParameters 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 WorkspaceUpdateParameters object itself.

Applies to