Class WorkspaceUpdateParameters

java.lang.Object
com.azure.resourcemanager.machinelearning.models.WorkspaceUpdateParameters
All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkspaceUpdateParameters>

public final class WorkspaceUpdateParameters extends Object implements com.azure.json.JsonSerializable<WorkspaceUpdateParameters>
The parameters for updating a machine learning workspace.
  • Constructor Details

    • WorkspaceUpdateParameters

      public WorkspaceUpdateParameters()
      Creates an instance of WorkspaceUpdateParameters class.
  • Method Details

    • 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.
    • serverlessComputeSettings

      public ServerlessComputeSettings serverlessComputeSettings()
      Get the serverlessComputeSettings property: Settings for serverless compute created in the workspace.
      Returns:
      the serverlessComputeSettings value.
    • 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.
    • 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.
    • featureStoreSettings

      public FeatureStoreSettings featureStoreSettings()
      Get the featureStoreSettings property: Settings for feature store type workspace.
      Returns:
      the featureStoreSettings value.
    • 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.
    • managedNetwork

      public ManagedNetworkSettingsInner managedNetwork()
      Get the managedNetwork property: Managed Network settings for a machine learning workspace.
      Returns:
      the managedNetwork value.
    • 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.
    • enableDataIsolation

      public Boolean enableDataIsolation()
      Get the enableDataIsolation property: The enableDataIsolation property.
      Returns:
      the enableDataIsolation value.
    • 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.
    • 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.
    • 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.
    • encryption

      public EncryptionUpdateProperties encryption()
      Get the encryption property: The encryption property.
      Returns:
      the encryption value.
    • 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.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WorkspaceUpdateParameters>
      Throws:
      IOException
    • fromJson

      public static WorkspaceUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.