All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.machinelearningservices.Workspace Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.machinelearningservices;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.machinelearningservices.WorkspaceArgs;
import com.pulumi.azurenative.machinelearningservices.outputs.EncryptionPropertyResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.NotebookResourceInfoResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ServiceManagedResourcesSettingsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.SharedPrivateLinkResourceResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.SkuResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.SystemDataResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * An object that represents a machine learning workspace.
 * Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2021-01-01.
 * 
 * Other available API versions: 2018-03-01-preview, 2020-08-01, 2020-09-01-preview, 2022-01-01-preview, 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-04-01-preview, 2024-07-01-preview.
 * ## Import
 * 
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * 
 * ```sh
 * $ pulumi import azure-native:machinelearningservices:Workspace testworkspace /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName} 
 * ```
 * 
 */
@ResourceType(type="azure-native:machinelearningservices:Workspace")
public class Workspace extends com.pulumi.resources.CustomResource {
    /**
     * The flag to indicate whether to allow public access when behind VNet.
     * 
     */
    @Export(name="allowPublicAccessWhenBehindVnet", refs={Boolean.class}, tree="[0]")
    private Output allowPublicAccessWhenBehindVnet;

    /**
     * @return The flag to indicate whether to allow public access when behind VNet.
     * 
     */
    public Output> allowPublicAccessWhenBehindVnet() {
        return Codegen.optional(this.allowPublicAccessWhenBehindVnet);
    }
    /**
     * ARM id of the application insights associated with this workspace.
     * 
     */
    @Export(name="applicationInsights", refs={String.class}, tree="[0]")
    private Output applicationInsights;

    /**
     * @return ARM id of the application insights associated with this workspace.
     * 
     */
    public Output> applicationInsights() {
        return Codegen.optional(this.applicationInsights);
    }
    /**
     * ARM id of the container registry associated with this workspace.
     * 
     */
    @Export(name="containerRegistry", refs={String.class}, tree="[0]")
    private Output containerRegistry;

    /**
     * @return ARM id of the container registry associated with this workspace.
     * 
     */
    public Output> containerRegistry() {
        return Codegen.optional(this.containerRegistry);
    }
    /**
     * The description of this workspace.
     * 
     */
    @Export(name="description", refs={String.class}, tree="[0]")
    private Output description;

    /**
     * @return The description of this workspace.
     * 
     */
    public Output> description() {
        return Codegen.optional(this.description);
    }
    /**
     * Url for the discovery service to identify regional endpoints for machine learning experimentation services
     * 
     */
    @Export(name="discoveryUrl", refs={String.class}, tree="[0]")
    private Output discoveryUrl;

    /**
     * @return Url for the discovery service to identify regional endpoints for machine learning experimentation services
     * 
     */
    public Output> discoveryUrl() {
        return Codegen.optional(this.discoveryUrl);
    }
    /**
     * The encryption settings of Azure ML workspace.
     * 
     */
    @Export(name="encryption", refs={EncryptionPropertyResponse.class}, tree="[0]")
    private Output encryption;

    /**
     * @return The encryption settings of Azure ML workspace.
     * 
     */
    public Output> encryption() {
        return Codegen.optional(this.encryption);
    }
    /**
     * The friendly name for this workspace. This name in mutable
     * 
     */
    @Export(name="friendlyName", refs={String.class}, tree="[0]")
    private Output friendlyName;

    /**
     * @return The friendly name for this workspace. This name in mutable
     * 
     */
    public Output> friendlyName() {
        return Codegen.optional(this.friendlyName);
    }
    /**
     * The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service
     * 
     */
    @Export(name="hbiWorkspace", refs={Boolean.class}, tree="[0]")
    private Output hbiWorkspace;

    /**
     * @return The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service
     * 
     */
    public Output> hbiWorkspace() {
        return Codegen.optional(this.hbiWorkspace);
    }
    /**
     * The identity of the resource.
     * 
     */
    @Export(name="identity", refs={ManagedServiceIdentityResponse.class}, tree="[0]")
    private Output identity;

    /**
     * @return The identity of the resource.
     * 
     */
    public Output> identity() {
        return Codegen.optional(this.identity);
    }
    /**
     * The compute name for image build
     * 
     */
    @Export(name="imageBuildCompute", refs={String.class}, tree="[0]")
    private Output imageBuildCompute;

    /**
     * @return The compute name for image build
     * 
     */
    public Output> imageBuildCompute() {
        return Codegen.optional(this.imageBuildCompute);
    }
    /**
     * ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created
     * 
     */
    @Export(name="keyVault", refs={String.class}, tree="[0]")
    private Output keyVault;

    /**
     * @return ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created
     * 
     */
    public Output> keyVault() {
        return Codegen.optional(this.keyVault);
    }
    /**
     * Specifies the location of the resource.
     * 
     */
    @Export(name="location", refs={String.class}, tree="[0]")
    private Output location;

    /**
     * @return Specifies the location of the resource.
     * 
     */
    public Output> location() {
        return Codegen.optional(this.location);
    }
    /**
     * The URI associated with this workspace that machine learning flow must point at to set up tracking.
     * 
     */
    @Export(name="mlFlowTrackingUri", refs={String.class}, tree="[0]")
    private Output mlFlowTrackingUri;

    /**
     * @return The URI associated with this workspace that machine learning flow must point at to set up tracking.
     * 
     */
    public Output mlFlowTrackingUri() {
        return this.mlFlowTrackingUri;
    }
    /**
     * The name of the resource
     * 
     */
    @Export(name="name", refs={String.class}, tree="[0]")
    private Output name;

    /**
     * @return The name of the resource
     * 
     */
    public Output name() {
        return this.name;
    }
    /**
     * The notebook info of Azure ML workspace.
     * 
     */
    @Export(name="notebookInfo", refs={NotebookResourceInfoResponse.class}, tree="[0]")
    private Output notebookInfo;

    /**
     * @return The notebook info of Azure ML workspace.
     * 
     */
    public Output notebookInfo() {
        return this.notebookInfo;
    }
    /**
     * The user assigned identity resource id that represents the workspace identity.
     * 
     */
    @Export(name="primaryUserAssignedIdentity", refs={String.class}, tree="[0]")
    private Output primaryUserAssignedIdentity;

    /**
     * @return The user assigned identity resource id that represents the workspace identity.
     * 
     */
    public Output> primaryUserAssignedIdentity() {
        return Codegen.optional(this.primaryUserAssignedIdentity);
    }
    /**
     * The list of private endpoint connections in the workspace.
     * 
     */
    @Export(name="privateEndpointConnections", refs={List.class,PrivateEndpointConnectionResponse.class}, tree="[0,1]")
    private Output> privateEndpointConnections;

    /**
     * @return The list of private endpoint connections in the workspace.
     * 
     */
    public Output> privateEndpointConnections() {
        return this.privateEndpointConnections;
    }
    /**
     * Count of private connections in the workspace
     * 
     */
    @Export(name="privateLinkCount", refs={Integer.class}, tree="[0]")
    private Output privateLinkCount;

    /**
     * @return Count of private connections in the workspace
     * 
     */
    public Output privateLinkCount() {
        return this.privateLinkCount;
    }
    /**
     * The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning.
     * 
     */
    @Export(name="provisioningState", refs={String.class}, tree="[0]")
    private Output provisioningState;

    /**
     * @return The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning.
     * 
     */
    public Output provisioningState() {
        return this.provisioningState;
    }
    /**
     * Whether requests from Public Network are allowed.
     * 
     */
    @Export(name="publicNetworkAccess", refs={String.class}, tree="[0]")
    private Output publicNetworkAccess;

    /**
     * @return Whether requests from Public Network are allowed.
     * 
     */
    public Output> publicNetworkAccess() {
        return Codegen.optional(this.publicNetworkAccess);
    }
    /**
     * The service managed resource settings.
     * 
     */
    @Export(name="serviceManagedResourcesSettings", refs={ServiceManagedResourcesSettingsResponse.class}, tree="[0]")
    private Output serviceManagedResourcesSettings;

    /**
     * @return The service managed resource settings.
     * 
     */
    public Output> serviceManagedResourcesSettings() {
        return Codegen.optional(this.serviceManagedResourcesSettings);
    }
    /**
     * The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace
     * 
     */
    @Export(name="serviceProvisionedResourceGroup", refs={String.class}, tree="[0]")
    private Output serviceProvisionedResourceGroup;

    /**
     * @return The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace
     * 
     */
    public Output serviceProvisionedResourceGroup() {
        return this.serviceProvisionedResourceGroup;
    }
    /**
     * The list of shared private link resources in this workspace.
     * 
     */
    @Export(name="sharedPrivateLinkResources", refs={List.class,SharedPrivateLinkResourceResponse.class}, tree="[0,1]")
    private Output> sharedPrivateLinkResources;

    /**
     * @return The list of shared private link resources in this workspace.
     * 
     */
    public Output>> sharedPrivateLinkResources() {
        return Codegen.optional(this.sharedPrivateLinkResources);
    }
    /**
     * The sku of the workspace.
     * 
     */
    @Export(name="sku", refs={SkuResponse.class}, tree="[0]")
    private Output sku;

    /**
     * @return The sku of the workspace.
     * 
     */
    public Output> sku() {
        return Codegen.optional(this.sku);
    }
    /**
     * ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created
     * 
     */
    @Export(name="storageAccount", refs={String.class}, tree="[0]")
    private Output storageAccount;

    /**
     * @return ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created
     * 
     */
    public Output> storageAccount() {
        return Codegen.optional(this.storageAccount);
    }
    /**
     * If the storage associated with the workspace has hierarchical namespace(HNS) enabled.
     * 
     */
    @Export(name="storageHnsEnabled", refs={Boolean.class}, tree="[0]")
    private Output storageHnsEnabled;

    /**
     * @return If the storage associated with the workspace has hierarchical namespace(HNS) enabled.
     * 
     */
    public Output storageHnsEnabled() {
        return this.storageHnsEnabled;
    }
    /**
     * Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    @Export(name="systemData", refs={SystemDataResponse.class}, tree="[0]")
    private Output systemData;

    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public Output systemData() {
        return this.systemData;
    }
    /**
     * Contains resource tags defined as key/value pairs.
     * 
     */
    @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
    private Output> tags;

    /**
     * @return Contains resource tags defined as key/value pairs.
     * 
     */
    public Output>> tags() {
        return Codegen.optional(this.tags);
    }
    /**
     * The tenant id associated with this workspace.
     * 
     */
    @Export(name="tenantId", refs={String.class}, tree="[0]")
    private Output tenantId;

    /**
     * @return The tenant id associated with this workspace.
     * 
     */
    public Output tenantId() {
        return this.tenantId;
    }
    /**
     * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    @Export(name="type", refs={String.class}, tree="[0]")
    private Output type;

    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public Output type() {
        return this.type;
    }
    /**
     * Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.
     * 
     */
    @Export(name="v1LegacyMode", refs={Boolean.class}, tree="[0]")
    private Output v1LegacyMode;

    /**
     * @return Enabling v1_legacy_mode may prevent you from using features provided by the v2 API.
     * 
     */
    public Output> v1LegacyMode() {
        return Codegen.optional(this.v1LegacyMode);
    }
    /**
     * The immutable id associated with this workspace.
     * 
     */
    @Export(name="workspaceId", refs={String.class}, tree="[0]")
    private Output workspaceId;

    /**
     * @return The immutable id associated with this workspace.
     * 
     */
    public Output workspaceId() {
        return this.workspaceId;
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public Workspace(java.lang.String name) {
        this(name, WorkspaceArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public Workspace(java.lang.String name, WorkspaceArgs args) {
        this(name, args, null);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param options A bag of options that control this resource's behavior.
     */
    public Workspace(java.lang.String name, WorkspaceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:machinelearningservices:Workspace", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
    }

    private Workspace(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("azure-native:machinelearningservices:Workspace", name, null, makeResourceOptions(options, id), false);
    }

    private static WorkspaceArgs makeArgs(WorkspaceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        if (options != null && options.getUrn().isPresent()) {
            return null;
        }
        return args == null ? WorkspaceArgs.Empty : args;
    }

    private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
        var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
            .version(Utilities.getVersion())
            .aliases(List.of(
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20180301preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20181119:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20190501:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20190601:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20191101:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200101:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200218preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200301:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200401:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200501preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200515preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200601:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200801:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20200901preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20210101:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20210301preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20210401:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20210701:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20220101preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20220201preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20220501:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20220601preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20221001:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20221001preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20221201preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20230201preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20230401:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20230401preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20230601preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20230801preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20231001:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20240101preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20240401:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20240401preview:Workspace").build()),
                Output.of(Alias.builder().type("azure-native:machinelearningservices/v20240701preview:Workspace").build())
            ))
            .build();
        return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
    }

    /**
     * Get an existing Host resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param options Optional settings to control the behavior of the CustomResource.
     */
    public static Workspace get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new Workspace(name, id, options);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy