workspaces

package
v0.20240320.1105218 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README

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

The workspaces SDK allows for interaction with the Azure Resource Manager Service machinelearningservices (API Version 2023-10-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-10-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, workspaces.DefaultDeleteOperationOptions()); 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 := commonids.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 := commonids.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 PossibleValuesForIsolationMode

func PossibleValuesForIsolationMode() []string

func PossibleValuesForManagedNetworkStatus

func PossibleValuesForManagedNetworkStatus() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForRuleAction

func PossibleValuesForRuleAction() []string

func PossibleValuesForRuleCategory

func PossibleValuesForRuleCategory() []string

func PossibleValuesForRuleStatus

func PossibleValuesForRuleStatus() []string

func PossibleValuesForRuleType

func PossibleValuesForRuleType() []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 ComputeRuntimeDto

type ComputeRuntimeDto struct {
	SparkRuntimeVersion *string `json:"sparkRuntimeVersion,omitempty"`
}

type CosmosDbSettings

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

type CreateOrUpdateOperationResponse

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

type DeleteOperationOptions

type DeleteOperationOptions struct {
	ForceToPurge *bool
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

func (DeleteOperationOptions) ToHeaders

func (o DeleteOperationOptions) ToHeaders() *client.Headers

func (DeleteOperationOptions) ToOData

func (o DeleteOperationOptions) ToOData() *odata.Query

func (DeleteOperationOptions) ToQuery

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
	Model        *DiagnoseResponseResult
}

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

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

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

type FeatureStoreSettings

type FeatureStoreSettings struct {
	ComputeRuntime             *ComputeRuntimeDto `json:"computeRuntime,omitempty"`
	OfflineStoreConnectionName *string            `json:"offlineStoreConnectionName,omitempty"`
	OnlineStoreConnectionName  *string            `json:"onlineStoreConnectionName,omitempty"`
}

type FqdnOutboundRule

type FqdnOutboundRule struct {
	Destination *string `json:"destination,omitempty"`

	// Fields inherited from OutboundRule
	Category *RuleCategory `json:"category,omitempty"`
	Status   *RuleStatus   `json:"status,omitempty"`
}

func (FqdnOutboundRule) MarshalJSON

func (s FqdnOutboundRule) MarshalJSON() ([]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 IsolationMode

type IsolationMode string
const (
	IsolationModeAllowInternetOutbound     IsolationMode = "AllowInternetOutbound"
	IsolationModeAllowOnlyApprovedOutbound IsolationMode = "AllowOnlyApprovedOutbound"
	IsolationModeDisabled                  IsolationMode = "Disabled"
)

func (*IsolationMode) UnmarshalJSON

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

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Workspace
}

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Skip *string
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders

func (ListByResourceGroupOperationOptions) ToOData

func (ListByResourceGroupOperationOptions) ToQuery

type ListByResourceGroupOperationResponse

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

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Workspace
}

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Skip *string
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

func (ListBySubscriptionOperationOptions) ToHeaders

func (ListBySubscriptionOperationOptions) ToOData

func (ListBySubscriptionOperationOptions) ToQuery

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 ManagedNetworkProvisionStatus

type ManagedNetworkProvisionStatus struct {
	SparkReady *bool                 `json:"sparkReady,omitempty"`
	Status     *ManagedNetworkStatus `json:"status,omitempty"`
}

type ManagedNetworkSettings

type ManagedNetworkSettings struct {
	IsolationMode *IsolationMode                 `json:"isolationMode,omitempty"`
	NetworkId     *string                        `json:"networkId,omitempty"`
	OutboundRules *map[string]OutboundRule       `json:"outboundRules,omitempty"`
	Status        *ManagedNetworkProvisionStatus `json:"status,omitempty"`
}

func (*ManagedNetworkSettings) UnmarshalJSON

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

type ManagedNetworkStatus

type ManagedNetworkStatus string
const (
	ManagedNetworkStatusActive   ManagedNetworkStatus = "Active"
	ManagedNetworkStatusInactive ManagedNetworkStatus = "Inactive"
)

func (*ManagedNetworkStatus) UnmarshalJSON

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

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 OutboundRule

type OutboundRule interface {
}

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

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

type PrivateEndpointDestination

type PrivateEndpointDestination struct {
	ServiceResourceId *string     `json:"serviceResourceId,omitempty"`
	SparkEnabled      *bool       `json:"sparkEnabled,omitempty"`
	SparkStatus       *RuleStatus `json:"sparkStatus,omitempty"`
	SubresourceTarget *string     `json:"subresourceTarget,omitempty"`
}

type PrivateEndpointOutboundRule

type PrivateEndpointOutboundRule struct {
	Destination *PrivateEndpointDestination `json:"destination,omitempty"`

	// Fields inherited from OutboundRule
	Category *RuleCategory `json:"category,omitempty"`
	Status   *RuleStatus   `json:"status,omitempty"`
}

func (PrivateEndpointOutboundRule) MarshalJSON

func (s PrivateEndpointOutboundRule) MarshalJSON() ([]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

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

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

type PublicNetworkAccess

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

func (*PublicNetworkAccess) UnmarshalJSON

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

type RawOutboundRuleImpl

type RawOutboundRuleImpl struct {
	Type   string
	Values map[string]interface{}
}

RawOutboundRuleImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

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 RuleAction

type RuleAction string
const (
	RuleActionAllow RuleAction = "Allow"
	RuleActionDeny  RuleAction = "Deny"
)

func (*RuleAction) UnmarshalJSON

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

type RuleCategory

type RuleCategory string
const (
	RuleCategoryRecommended RuleCategory = "Recommended"
	RuleCategoryRequired    RuleCategory = "Required"
	RuleCategoryUserDefined RuleCategory = "UserDefined"
)

func (*RuleCategory) UnmarshalJSON

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

type RuleStatus

type RuleStatus string
const (
	RuleStatusActive   RuleStatus = "Active"
	RuleStatusInactive RuleStatus = "Inactive"
)

func (*RuleStatus) UnmarshalJSON

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

type RuleType

type RuleType string
const (
	RuleTypeFQDN            RuleType = "FQDN"
	RuleTypePrivateEndpoint RuleType = "PrivateEndpoint"
	RuleTypeServiceTag      RuleType = "ServiceTag"
)

func (*RuleType) UnmarshalJSON

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

type ServerlessComputeSettings

type ServerlessComputeSettings struct {
	ServerlessComputeCustomSubnet *string `json:"serverlessComputeCustomSubnet,omitempty"`
	ServerlessComputeNoPublicIP   *bool   `json:"serverlessComputeNoPublicIP,omitempty"`
}

type ServiceManagedResourcesSettings

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

type ServiceTagDestination

type ServiceTagDestination struct {
	Action          *RuleAction `json:"action,omitempty"`
	AddressPrefixes *[]string   `json:"addressPrefixes,omitempty"`
	PortRanges      *string     `json:"portRanges,omitempty"`
	Protocol        *string     `json:"protocol,omitempty"`
	ServiceTag      *string     `json:"serviceTag,omitempty"`
}

type ServiceTagOutboundRule

type ServiceTagOutboundRule struct {
	Destination *ServiceTagDestination `json:"destination,omitempty"`

	// Fields inherited from OutboundRule
	Category *RuleCategory `json:"category,omitempty"`
	Status   *RuleStatus   `json:"status,omitempty"`
}

func (ServiceTagOutboundRule) MarshalJSON

func (s ServiceTagOutboundRule) MarshalJSON() ([]byte, error)

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

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

type UpdateOperationResponse

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

type Workspace

type Workspace struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Kind       *string                                  `json:"kind,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 {
	LatestHttpResponse *http.Response
	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) FromParseResult

func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error

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
	Kind     *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"`
	FeatureStoreSettings            *FeatureStoreSettings            `json:"featureStoreSettings,omitempty"`
	FriendlyName                    *string                          `json:"friendlyName,omitempty"`
	HbiWorkspace                    *bool                            `json:"hbiWorkspace,omitempty"`
	ImageBuildCompute               *string                          `json:"imageBuildCompute,omitempty"`
	KeyVault                        *string                          `json:"keyVault,omitempty"`
	ManagedNetwork                  *ManagedNetworkSettings          `json:"managedNetwork,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"`
	ServerlessComputeSettings       *ServerlessComputeSettings       `json:"serverlessComputeSettings,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"`
	FeatureStoreSettings            *FeatureStoreSettings            `json:"featureStoreSettings,omitempty"`
	FriendlyName                    *string                          `json:"friendlyName,omitempty"`
	ImageBuildCompute               *string                          `json:"imageBuildCompute,omitempty"`
	PrimaryUserAssignedIdentity     *string                          `json:"primaryUserAssignedIdentity,omitempty"`
	PublicNetworkAccess             *PublicNetworkAccess             `json:"publicNetworkAccess,omitempty"`
	ServerlessComputeSettings       *ServerlessComputeSettings       `json:"serverlessComputeSettings,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

Delete ...

func (WorkspacesClient) DeleteThenPoll

func (c WorkspacesClient) DeleteThenPoll(ctx context.Context, id WorkspaceId, options DeleteOperationOptions) 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

Source Files

Jump to

Keyboard shortcuts

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