workspaces

package
v0.20231121.1131003 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-04-01/workspaces Documentation

The workspaces SDK allows for interaction with the Azure Resource Manager Service machinelearningservices (API Version 2023-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-04-01/workspaces"

Client Initialization

client := workspaces.NewWorkspacesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: WorkspacesClient.CreateOrUpdate

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

payload := workspaces.Workspace{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WorkspacesClient.Delete

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WorkspacesClient.Diagnose

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

payload := workspaces.DiagnoseWorkspaceParameters{
	// ...
}


if err := client.DiagnoseThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WorkspacesClient.Get

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkspacesClient.ListByResourceGroup

ctx := context.TODO()
id := workspaces.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id, workspaces.DefaultListByResourceGroupOperationOptions())` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id, workspaces.DefaultListByResourceGroupOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WorkspacesClient.ListBySubscription

ctx := context.TODO()
id := workspaces.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id, workspaces.DefaultListBySubscriptionOperationOptions())` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id, workspaces.DefaultListBySubscriptionOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WorkspacesClient.ListKeys

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

read, err := client.ListKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkspacesClient.ListNotebookAccessToken

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

read, err := client.ListNotebookAccessToken(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkspacesClient.ResyncKeys

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

if err := client.ResyncKeysThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: WorkspacesClient.Update

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

payload := workspaces.WorkspaceUpdateParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: WorkspacesClient.WorkspaceFeaturesList

ctx := context.TODO()
id := workspaces.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

// alternatively `client.WorkspaceFeaturesList(ctx, id)` can be used to do batched pagination
items, err := client.WorkspaceFeaturesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDiagnoseResultLevel

func PossibleValuesForDiagnoseResultLevel() []string

func PossibleValuesForEncryptionStatus

func PossibleValuesForEncryptionStatus() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

Types

type AmlUserFeature

type AmlUserFeature struct {
	Description *string `json:"description,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`
	Id          *string `json:"id,omitempty"`
}

type AmlUserFeatureOperationPredicate

type AmlUserFeatureOperationPredicate struct {
	Description *string
	DisplayName *string
	Id          *string
}

func (AmlUserFeatureOperationPredicate) Matches

type CosmosDbSettings

type CosmosDbSettings struct {
	CollectionsThroughput *int64 `json:"collectionsThroughput,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DiagnoseOperationResponse

type DiagnoseOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DiagnoseRequestProperties

type DiagnoseRequestProperties struct {
	ApplicationInsights *map[string]interface{} `json:"applicationInsights,omitempty"`
	ContainerRegistry   *map[string]interface{} `json:"containerRegistry,omitempty"`
	DnsResolution       *map[string]interface{} `json:"dnsResolution,omitempty"`
	KeyVault            *map[string]interface{} `json:"keyVault,omitempty"`
	Nsg                 *map[string]interface{} `json:"nsg,omitempty"`
	Others              *map[string]interface{} `json:"others,omitempty"`
	ResourceLock        *map[string]interface{} `json:"resourceLock,omitempty"`
	StorageAccount      *map[string]interface{} `json:"storageAccount,omitempty"`
	Udr                 *map[string]interface{} `json:"udr,omitempty"`
}

type DiagnoseResponseResult

type DiagnoseResponseResult struct {
	Value *DiagnoseResponseResultValue `json:"value,omitempty"`
}

type DiagnoseResponseResultValue

type DiagnoseResponseResultValue struct {
	ApplicationInsightsResults *[]DiagnoseResult `json:"applicationInsightsResults,omitempty"`
	ContainerRegistryResults   *[]DiagnoseResult `json:"containerRegistryResults,omitempty"`
	DnsResolutionResults       *[]DiagnoseResult `json:"dnsResolutionResults,omitempty"`
	KeyVaultResults            *[]DiagnoseResult `json:"keyVaultResults,omitempty"`
	NetworkSecurityRuleResults *[]DiagnoseResult `json:"networkSecurityRuleResults,omitempty"`
	OtherResults               *[]DiagnoseResult `json:"otherResults,omitempty"`
	ResourceLockResults        *[]DiagnoseResult `json:"resourceLockResults,omitempty"`
	StorageAccountResults      *[]DiagnoseResult `json:"storageAccountResults,omitempty"`
	UserDefinedRouteResults    *[]DiagnoseResult `json:"userDefinedRouteResults,omitempty"`
}

type DiagnoseResult

type DiagnoseResult struct {
	Code    *string              `json:"code,omitempty"`
	Level   *DiagnoseResultLevel `json:"level,omitempty"`
	Message *string              `json:"message,omitempty"`
}

type DiagnoseResultLevel

type DiagnoseResultLevel string
const (
	DiagnoseResultLevelError       DiagnoseResultLevel = "Error"
	DiagnoseResultLevelInformation DiagnoseResultLevel = "Information"
	DiagnoseResultLevelWarning     DiagnoseResultLevel = "Warning"
)

func (*DiagnoseResultLevel) UnmarshalJSON added in v0.20230713.1092427

func (s *DiagnoseResultLevel) UnmarshalJSON(bytes []byte) error

type DiagnoseWorkspaceParameters

type DiagnoseWorkspaceParameters struct {
	Value *DiagnoseRequestProperties `json:"value,omitempty"`
}

type EncryptionKeyVaultProperties

type EncryptionKeyVaultProperties struct {
	IdentityClientId *string `json:"identityClientId,omitempty"`
	KeyIdentifier    string  `json:"keyIdentifier"`
	KeyVaultArmId    string  `json:"keyVaultArmId"`
}

type EncryptionProperty

type EncryptionProperty struct {
	Identity           *IdentityForCmk              `json:"identity,omitempty"`
	KeyVaultProperties EncryptionKeyVaultProperties `json:"keyVaultProperties"`
	Status             EncryptionStatus             `json:"status"`
}

type EncryptionStatus

type EncryptionStatus string
const (
	EncryptionStatusDisabled EncryptionStatus = "Disabled"
	EncryptionStatusEnabled  EncryptionStatus = "Enabled"
)

func (*EncryptionStatus) UnmarshalJSON added in v0.20230713.1092427

func (s *EncryptionStatus) UnmarshalJSON(bytes []byte) error

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Workspace
}

type IdentityForCmk

type IdentityForCmk struct {
	UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []Workspace
}

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Skip *string
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders added in v0.20230713.1092427

func (ListByResourceGroupOperationOptions) ToOData added in v0.20230713.1092427

func (ListByResourceGroupOperationOptions) ToQuery added in v0.20230713.1092427

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Workspace
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []Workspace
}

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Skip *string
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

func (ListBySubscriptionOperationOptions) ToHeaders added in v0.20230713.1092427

func (ListBySubscriptionOperationOptions) ToOData added in v0.20230713.1092427

func (ListBySubscriptionOperationOptions) ToQuery added in v0.20230713.1092427

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Workspace
}

type ListKeysOperationResponse

type ListKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ListWorkspaceKeysResult
}

type ListNotebookAccessTokenOperationResponse

type ListNotebookAccessTokenOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NotebookAccessTokenResult
}

type ListNotebookKeysResult

type ListNotebookKeysResult struct {
	PrimaryAccessKey   *string `json:"primaryAccessKey,omitempty"`
	SecondaryAccessKey *string `json:"secondaryAccessKey,omitempty"`
}

type ListWorkspaceKeysResult

type ListWorkspaceKeysResult struct {
	AppInsightsInstrumentationKey *string                        `json:"appInsightsInstrumentationKey,omitempty"`
	ContainerRegistryCredentials  *RegistryListCredentialsResult `json:"containerRegistryCredentials,omitempty"`
	NotebookAccessKeys            *ListNotebookKeysResult        `json:"notebookAccessKeys,omitempty"`
	UserStorageKey                *string                        `json:"userStorageKey,omitempty"`
	UserStorageResourceId         *string                        `json:"userStorageResourceId,omitempty"`
}

type NotebookAccessTokenResult

type NotebookAccessTokenResult struct {
	AccessToken        *string `json:"accessToken,omitempty"`
	ExpiresIn          *int64  `json:"expiresIn,omitempty"`
	HostName           *string `json:"hostName,omitempty"`
	NotebookResourceId *string `json:"notebookResourceId,omitempty"`
	PublicDns          *string `json:"publicDns,omitempty"`
	RefreshToken       *string `json:"refreshToken,omitempty"`
	Scope              *string `json:"scope,omitempty"`
	TokenType          *string `json:"tokenType,omitempty"`
}

type NotebookPreparationError

type NotebookPreparationError struct {
	ErrorMessage *string `json:"errorMessage,omitempty"`
	StatusCode   *int64  `json:"statusCode,omitempty"`
}

type NotebookResourceInfo

type NotebookResourceInfo struct {
	Fqdn                     *string                   `json:"fqdn,omitempty"`
	NotebookPreparationError *NotebookPreparationError `json:"notebookPreparationError,omitempty"`
	ResourceId               *string                   `json:"resourceId,omitempty"`
}

type Password

type Password struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties     `json:"properties,omitempty"`
	Sku        *Sku                                     `json:"sku,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	PrivateEndpoint                   *PrivateEndpoint                            `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState           `json:"privateLinkServiceConnectionState"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCreating  PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting  PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed    PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON added in v0.20230713.1092427

func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string
const (
	PrivateEndpointServiceConnectionStatusApproved     PrivateEndpointServiceConnectionStatus = "Approved"
	PrivateEndpointServiceConnectionStatusDisconnected PrivateEndpointServiceConnectionStatus = "Disconnected"
	PrivateEndpointServiceConnectionStatusPending      PrivateEndpointServiceConnectionStatus = "Pending"
	PrivateEndpointServiceConnectionStatusRejected     PrivateEndpointServiceConnectionStatus = "Rejected"
	PrivateEndpointServiceConnectionStatusTimeout      PrivateEndpointServiceConnectionStatus = "Timeout"
)

func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON added in v0.20230713.1092427

func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string                                 `json:"actionsRequired,omitempty"`
	Description     *string                                 `json:"description,omitempty"`
	Status          *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUnknown   ProvisioningState = "Unknown"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON added in v0.20230713.1092427

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

func (*PublicNetworkAccess) UnmarshalJSON added in v0.20230713.1092427

func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error

type RegistryListCredentialsResult

type RegistryListCredentialsResult struct {
	Location  *string     `json:"location,omitempty"`
	Passwords *[]Password `json:"passwords,omitempty"`
	Username  *string     `json:"username,omitempty"`
}

type ResyncKeysOperationResponse

type ResyncKeysOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServiceManagedResourcesSettings

type ServiceManagedResourcesSettings struct {
	CosmosDb *CosmosDbSettings `json:"cosmosDb,omitempty"`
}

type SharedPrivateLinkResource

type SharedPrivateLinkResource struct {
	Name       *string                            `json:"name,omitempty"`
	Properties *SharedPrivateLinkResourceProperty `json:"properties,omitempty"`
}

type SharedPrivateLinkResourceProperty

type SharedPrivateLinkResourceProperty struct {
	GroupId               *string                                 `json:"groupId,omitempty"`
	PrivateLinkResourceId *string                                 `json:"privateLinkResourceId,omitempty"`
	RequestMessage        *string                                 `json:"requestMessage,omitempty"`
	Status                *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
}

type Sku

type Sku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Family   *string  `json:"family,omitempty"`
	Name     string   `json:"name"`
	Size     *string  `json:"size,omitempty"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type SkuTier

type SkuTier string
const (
	SkuTierBasic    SkuTier = "Basic"
	SkuTierFree     SkuTier = "Free"
	SkuTierPremium  SkuTier = "Premium"
	SkuTierStandard SkuTier = "Standard"
)

func (*SkuTier) UnmarshalJSON added in v0.20230713.1092427

func (s *SkuTier) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type Workspace

type Workspace struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *WorkspaceProperties                     `json:"properties,omitempty"`
	Sku        *Sku                                     `json:"sku,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type WorkspaceFeaturesListCompleteResult

type WorkspaceFeaturesListCompleteResult struct {
	Items []AmlUserFeature
}

type WorkspaceFeaturesListOperationResponse

type WorkspaceFeaturesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AmlUserFeature
}

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

WorkspaceId is a struct representing the Resource ID for a Workspace

func NewWorkspaceID

func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId

NewWorkspaceID returns a new WorkspaceId struct

func ParseWorkspaceID

func ParseWorkspaceID(input string) (*WorkspaceId, error)

ParseWorkspaceID parses 'input' into a WorkspaceId

func ParseWorkspaceIDInsensitively

func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)

ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

func (WorkspaceId) Segments

func (id WorkspaceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workspace ID

func (WorkspaceId) String

func (id WorkspaceId) String() string

String returns a human-readable description of this Workspace ID

type WorkspaceOperationPredicate

type WorkspaceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (WorkspaceOperationPredicate) Matches

func (p WorkspaceOperationPredicate) Matches(input Workspace) bool

type WorkspaceProperties

type WorkspaceProperties struct {
	AllowPublicAccessWhenBehindVnet *bool                            `json:"allowPublicAccessWhenBehindVnet,omitempty"`
	ApplicationInsights             *string                          `json:"applicationInsights,omitempty"`
	ContainerRegistry               *string                          `json:"containerRegistry,omitempty"`
	Description                     *string                          `json:"description,omitempty"`
	DiscoveryUrl                    *string                          `json:"discoveryUrl,omitempty"`
	Encryption                      *EncryptionProperty              `json:"encryption,omitempty"`
	FriendlyName                    *string                          `json:"friendlyName,omitempty"`
	HbiWorkspace                    *bool                            `json:"hbiWorkspace,omitempty"`
	ImageBuildCompute               *string                          `json:"imageBuildCompute,omitempty"`
	KeyVault                        *string                          `json:"keyVault,omitempty"`
	MlFlowTrackingUri               *string                          `json:"mlFlowTrackingUri,omitempty"`
	NotebookInfo                    *NotebookResourceInfo            `json:"notebookInfo,omitempty"`
	PrimaryUserAssignedIdentity     *string                          `json:"primaryUserAssignedIdentity,omitempty"`
	PrivateEndpointConnections      *[]PrivateEndpointConnection     `json:"privateEndpointConnections,omitempty"`
	PrivateLinkCount                *int64                           `json:"privateLinkCount,omitempty"`
	ProvisioningState               *ProvisioningState               `json:"provisioningState,omitempty"`
	PublicNetworkAccess             *PublicNetworkAccess             `json:"publicNetworkAccess,omitempty"`
	ServiceManagedResourcesSettings *ServiceManagedResourcesSettings `json:"serviceManagedResourcesSettings,omitempty"`
	ServiceProvisionedResourceGroup *string                          `json:"serviceProvisionedResourceGroup,omitempty"`
	SharedPrivateLinkResources      *[]SharedPrivateLinkResource     `json:"sharedPrivateLinkResources,omitempty"`
	StorageAccount                  *string                          `json:"storageAccount,omitempty"`
	StorageHnsEnabled               *bool                            `json:"storageHnsEnabled,omitempty"`
	TenantId                        *string                          `json:"tenantId,omitempty"`
	V1LegacyMode                    *bool                            `json:"v1LegacyMode,omitempty"`
	WorkspaceId                     *string                          `json:"workspaceId,omitempty"`
}

type WorkspacePropertiesUpdateParameters

type WorkspacePropertiesUpdateParameters struct {
	ApplicationInsights             *string                          `json:"applicationInsights,omitempty"`
	ContainerRegistry               *string                          `json:"containerRegistry,omitempty"`
	Description                     *string                          `json:"description,omitempty"`
	FriendlyName                    *string                          `json:"friendlyName,omitempty"`
	ImageBuildCompute               *string                          `json:"imageBuildCompute,omitempty"`
	PrimaryUserAssignedIdentity     *string                          `json:"primaryUserAssignedIdentity,omitempty"`
	PublicNetworkAccess             *PublicNetworkAccess             `json:"publicNetworkAccess,omitempty"`
	ServiceManagedResourcesSettings *ServiceManagedResourcesSettings `json:"serviceManagedResourcesSettings,omitempty"`
}

type WorkspaceUpdateParameters

type WorkspaceUpdateParameters struct {
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Properties *WorkspacePropertiesUpdateParameters     `json:"properties,omitempty"`
	Sku        *Sku                                     `json:"sku,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
}

type WorkspacesClient

type WorkspacesClient struct {
	Client *resourcemanager.Client
}

func NewWorkspacesClientWithBaseURI

func NewWorkspacesClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspacesClient, error)

func (WorkspacesClient) CreateOrUpdate

func (c WorkspacesClient) CreateOrUpdate(ctx context.Context, id WorkspaceId, input Workspace) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (WorkspacesClient) CreateOrUpdateThenPoll

func (c WorkspacesClient) CreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input Workspace) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (WorkspacesClient) Delete

func (c WorkspacesClient) Delete(ctx context.Context, id WorkspaceId) (result DeleteOperationResponse, err error)

Delete ...

func (WorkspacesClient) DeleteThenPoll

func (c WorkspacesClient) DeleteThenPoll(ctx context.Context, id WorkspaceId) error

DeleteThenPoll performs Delete then polls until it's completed

func (WorkspacesClient) Diagnose

Diagnose ...

func (WorkspacesClient) DiagnoseThenPoll

func (c WorkspacesClient) DiagnoseThenPoll(ctx context.Context, id WorkspaceId, input DiagnoseWorkspaceParameters) error

DiagnoseThenPoll performs Diagnose then polls until it's completed

func (WorkspacesClient) Get

Get ...

func (WorkspacesClient) ListByResourceGroup

ListByResourceGroup ...

func (WorkspacesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate

func (c WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate WorkspaceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkspacesClient) ListBySubscription

ListBySubscription ...

func (WorkspacesClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate

func (c WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate WorkspaceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkspacesClient) ListKeys

func (c WorkspacesClient) ListKeys(ctx context.Context, id WorkspaceId) (result ListKeysOperationResponse, err error)

ListKeys ...

func (WorkspacesClient) ListNotebookAccessToken

func (c WorkspacesClient) ListNotebookAccessToken(ctx context.Context, id WorkspaceId) (result ListNotebookAccessTokenOperationResponse, err error)

ListNotebookAccessToken ...

func (WorkspacesClient) ResyncKeys

func (c WorkspacesClient) ResyncKeys(ctx context.Context, id WorkspaceId) (result ResyncKeysOperationResponse, err error)

ResyncKeys ...

func (WorkspacesClient) ResyncKeysThenPoll

func (c WorkspacesClient) ResyncKeysThenPoll(ctx context.Context, id WorkspaceId) error

ResyncKeysThenPoll performs ResyncKeys then polls until it's completed

func (WorkspacesClient) Update

Update ...

func (WorkspacesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

func (WorkspacesClient) WorkspaceFeaturesList

func (c WorkspacesClient) WorkspaceFeaturesList(ctx context.Context, id WorkspaceId) (result WorkspaceFeaturesListOperationResponse, err error)

WorkspaceFeaturesList ...

func (WorkspacesClient) WorkspaceFeaturesListComplete

func (c WorkspacesClient) WorkspaceFeaturesListComplete(ctx context.Context, id WorkspaceId) (WorkspaceFeaturesListCompleteResult, error)

WorkspaceFeaturesListComplete retrieves all the results into a single object

func (WorkspacesClient) WorkspaceFeaturesListCompleteMatchingPredicate

func (c WorkspacesClient) WorkspaceFeaturesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate AmlUserFeatureOperationPredicate) (result WorkspaceFeaturesListCompleteResult, err error)

WorkspaceFeaturesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL