workspaces

package
v0.20250110.1074108 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MPL-2.0 Imports: 15 Imported by: 0

README

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

The workspaces SDK allows for interaction with Azure Resource Manager machinelearningservices (API Version 2024-10-01-preview).

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/2024-10-01-preview/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", "workspaceName")

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", "workspaceName")

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

Example Usage: WorkspacesClient.Get

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

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.Update

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

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", "workspaceName")

// 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 PossibleValuesForDefaultActionType

func PossibleValuesForDefaultActionType() []string

func PossibleValuesForEncryptionStatus

func PossibleValuesForEncryptionStatus() []string

func PossibleValuesForEndpointServiceConnectionStatus

func PossibleValuesForEndpointServiceConnectionStatus() []string

func PossibleValuesForFirewallSku

func PossibleValuesForFirewallSku() []string

func PossibleValuesForIsolationMode

func PossibleValuesForIsolationMode() []string

func PossibleValuesForManagedNetworkStatus

func PossibleValuesForManagedNetworkStatus() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccessType

func PossibleValuesForPublicNetworkAccessType() []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 PossibleValuesForSystemDatastoresAuthMode

func PossibleValuesForSystemDatastoresAuthMode() []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 BaseOutboundRuleImpl

type BaseOutboundRuleImpl struct {
	Category        *RuleCategory `json:"category,omitempty"`
	ParentRuleNames *[]string     `json:"parentRuleNames,omitempty"`
	Status          *RuleStatus   `json:"status,omitempty"`
	Type            RuleType      `json:"type"`
}

func (BaseOutboundRuleImpl) OutboundRule

func (s BaseOutboundRuleImpl) OutboundRule() BaseOutboundRuleImpl

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 DefaultActionType

type DefaultActionType string
const (
	DefaultActionTypeAllow DefaultActionType = "Allow"
	DefaultActionTypeDeny  DefaultActionType = "Deny"
)

func (*DefaultActionType) UnmarshalJSON

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

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 EncryptionKeyVaultUpdateProperties

type EncryptionKeyVaultUpdateProperties struct {
	KeyIdentifier string `json:"keyIdentifier"`
}

type EncryptionProperty

type EncryptionProperty struct {
	CosmosDbResourceId       *string            `json:"cosmosDbResourceId,omitempty"`
	Identity                 *IdentityForCmk    `json:"identity,omitempty"`
	KeyVaultProperties       KeyVaultProperties `json:"keyVaultProperties"`
	SearchAccountResourceId  *string            `json:"searchAccountResourceId,omitempty"`
	Status                   EncryptionStatus   `json:"status"`
	StorageAccountResourceId *string            `json:"storageAccountResourceId,omitempty"`
}

type EncryptionStatus

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

func (*EncryptionStatus) UnmarshalJSON

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

type EncryptionUpdateProperties

type EncryptionUpdateProperties struct {
	KeyVaultProperties EncryptionKeyVaultUpdateProperties `json:"keyVaultProperties"`
}

type EndpointServiceConnectionStatus

type EndpointServiceConnectionStatus string
const (
	EndpointServiceConnectionStatusApproved     EndpointServiceConnectionStatus = "Approved"
	EndpointServiceConnectionStatusDisconnected EndpointServiceConnectionStatus = "Disconnected"
	EndpointServiceConnectionStatusPending      EndpointServiceConnectionStatus = "Pending"
	EndpointServiceConnectionStatusRejected     EndpointServiceConnectionStatus = "Rejected"
	EndpointServiceConnectionStatusTimeout      EndpointServiceConnectionStatus = "Timeout"
)

func (*EndpointServiceConnectionStatus) UnmarshalJSON

func (s *EndpointServiceConnectionStatus) 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 FirewallSku

type FirewallSku string
const (
	FirewallSkuBasic    FirewallSku = "Basic"
	FirewallSkuStandard FirewallSku = "Standard"
)

func (*FirewallSku) UnmarshalJSON

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

type FqdnOutboundRule

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

	Category        *RuleCategory `json:"category,omitempty"`
	ParentRuleNames *[]string     `json:"parentRuleNames,omitempty"`
	Status          *RuleStatus   `json:"status,omitempty"`
	Type            RuleType      `json:"type"`
}

func (FqdnOutboundRule) MarshalJSON

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

func (FqdnOutboundRule) OutboundRule

func (s FqdnOutboundRule) OutboundRule() BaseOutboundRuleImpl

type GetOperationResponse

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

type IPRule

type IPRule struct {
	Value *string `json:"value,omitempty"`
}

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 KeyVaultProperties

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

type ListByResourceGroupCompleteResult

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

type ListByResourceGroupCustomPager

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	AiCapabilities *string
	Kind           *string
	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 ListBySubscriptionCustomPager

type ListBySubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	AiCapabilities *string
	Kind           *string
	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 ManagedNetworkProvisionStatus

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

type ManagedNetworkSettings

type ManagedNetworkSettings struct {
	ChangeableIsolationModes *[]IsolationMode               `json:"changeableIsolationModes,omitempty"`
	FirewallSku              *FirewallSku                   `json:"firewallSku,omitempty"`
	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 NetworkAcls

type NetworkAcls struct {
	DefaultAction *DefaultActionType `json:"defaultAction,omitempty"`
	IPRules       *[]IPRule          `json:"ipRules,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"`
	IsPrivateLinkEnabled     *bool                     `json:"isPrivateLinkEnabled,omitempty"`
	NotebookPreparationError *NotebookPreparationError `json:"notebookPreparationError,omitempty"`
	ResourceId               *string                   `json:"resourceId,omitempty"`
}

type OutboundRule

type OutboundRule interface {
	OutboundRule() BaseOutboundRuleImpl
}

func UnmarshalOutboundRuleImplementation

func UnmarshalOutboundRuleImplementation(input []byte) (OutboundRule, error)

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                   *WorkspacePrivateEndpointResource           `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState          `json:"privateLinkServiceConnectionState,omitempty"`
	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"`
	Fqdns       *[]string                   `json:"fqdns,omitempty"`

	Category        *RuleCategory `json:"category,omitempty"`
	ParentRuleNames *[]string     `json:"parentRuleNames,omitempty"`
	Status          *RuleStatus   `json:"status,omitempty"`
	Type            RuleType      `json:"type"`
}

func (PrivateEndpointOutboundRule) MarshalJSON

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

func (PrivateEndpointOutboundRule) OutboundRule

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string                          `json:"actionsRequired,omitempty"`
	Description     *string                          `json:"description,omitempty"`
	Status          *EndpointServiceConnectionStatus `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 PublicNetworkAccessType

type PublicNetworkAccessType string
const (
	PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled"
	PublicNetworkAccessTypeEnabled  PublicNetworkAccessType = "Enabled"
)

func (*PublicNetworkAccessType) UnmarshalJSON

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

type RawOutboundRuleImpl

type RawOutboundRuleImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawOutboundRuleImpl) OutboundRule

func (s RawOutboundRuleImpl) OutboundRule() BaseOutboundRuleImpl

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 (
	RuleCategoryDependency  RuleCategory = "Dependency"
	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"`

	Category        *RuleCategory `json:"category,omitempty"`
	ParentRuleNames *[]string     `json:"parentRuleNames,omitempty"`
	Status          *RuleStatus   `json:"status,omitempty"`
	Type            RuleType      `json:"type"`
}

func (ServiceTagOutboundRule) MarshalJSON

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

func (ServiceTagOutboundRule) OutboundRule

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                *EndpointServiceConnectionStatus `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 SystemDatastoresAuthMode

type SystemDatastoresAuthMode string
const (
	SystemDatastoresAuthModeAccessKey         SystemDatastoresAuthMode = "AccessKey"
	SystemDatastoresAuthModeIdentity          SystemDatastoresAuthMode = "Identity"
	SystemDatastoresAuthModeUserDelegationSAS SystemDatastoresAuthMode = "UserDelegationSAS"
)

func (*SystemDatastoresAuthMode) UnmarshalJSON

func (s *SystemDatastoresAuthMode) 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"`
	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 WorkspaceFeaturesListCustomPager

type WorkspaceFeaturesListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *WorkspaceFeaturesListCustomPager) NextPageLink() *odata.Link

type WorkspaceFeaturesListOperationResponse

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

type WorkspaceHubConfig

type WorkspaceHubConfig struct {
	AdditionalWorkspaceStorageAccounts *[]string `json:"additionalWorkspaceStorageAccounts,omitempty"`
	DefaultWorkspaceResourceGroup      *string   `json:"defaultWorkspaceResourceGroup,omitempty"`
}

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 WorkspacePrivateEndpointResource

type WorkspacePrivateEndpointResource struct {
	Id          *string `json:"id,omitempty"`
	SubnetArmId *string `json:"subnetArmId,omitempty"`
}

type WorkspaceProperties

type WorkspaceProperties struct {
	AgentsEndpointUri               *string                          `json:"agentsEndpointUri,omitempty"`
	AllowPublicAccessWhenBehindVnet *bool                            `json:"allowPublicAccessWhenBehindVnet,omitempty"`
	AllowRoleAssignmentOnRG         *bool                            `json:"allowRoleAssignmentOnRG,omitempty"`
	ApplicationInsights             *string                          `json:"applicationInsights,omitempty"`
	AssociatedWorkspaces            *[]string                        `json:"associatedWorkspaces,omitempty"`
	ContainerRegistries             *[]string                        `json:"containerRegistries,omitempty"`
	ContainerRegistry               *string                          `json:"containerRegistry,omitempty"`
	Description                     *string                          `json:"description,omitempty"`
	DiscoveryURL                    *string                          `json:"discoveryUrl,omitempty"`
	EnableDataIsolation             *bool                            `json:"enableDataIsolation,omitempty"`
	EnableServiceSideCMKEncryption  *bool                            `json:"enableServiceSideCMKEncryption,omitempty"`
	EnableSimplifiedCmk             *bool                            `json:"enableSimplifiedCmk,omitempty"`
	EnableSoftwareBillOfMaterials   *bool                            `json:"enableSoftwareBillOfMaterials,omitempty"`
	Encryption                      *EncryptionProperty              `json:"encryption,omitempty"`
	ExistingWorkspaces              *[]string                        `json:"existingWorkspaces,omitempty"`
	FeatureStoreSettings            *FeatureStoreSettings            `json:"featureStoreSettings,omitempty"`
	FriendlyName                    *string                          `json:"friendlyName,omitempty"`
	HbiWorkspace                    *bool                            `json:"hbiWorkspace,omitempty"`
	HubResourceId                   *string                          `json:"hubResourceId,omitempty"`
	IPAllowlist                     *[]string                        `json:"ipAllowlist,omitempty"`
	ImageBuildCompute               *string                          `json:"imageBuildCompute,omitempty"`
	KeyVault                        *string                          `json:"keyVault,omitempty"`
	KeyVaults                       *[]string                        `json:"keyVaults,omitempty"`
	ManagedNetwork                  *ManagedNetworkSettings          `json:"managedNetwork,omitempty"`
	MlFlowTrackingUri               *string                          `json:"mlFlowTrackingUri,omitempty"`
	NetworkAcls                     *NetworkAcls                     `json:"networkAcls,omitempty"`
	NotebookInfo                    *NotebookResourceInfo            `json:"notebookInfo,omitempty"`
	PrimaryUserAssignedIdentity     *string                          `json:"primaryUserAssignedIdentity,omitempty"`
	PrivateEndpointConnections      *[]PrivateEndpointConnection     `json:"privateEndpointConnections,omitempty"`
	PrivateLinkCount                *int64                           `json:"privateLinkCount,omitempty"`
	ProvisionNetworkNow             *bool                            `json:"provisionNetworkNow,omitempty"`
	ProvisioningState               *ProvisioningState               `json:"provisioningState,omitempty"`
	PublicNetworkAccess             *PublicNetworkAccessType         `json:"publicNetworkAccess,omitempty"`
	ServerlessComputeSettings       *ServerlessComputeSettings       `json:"serverlessComputeSettings,omitempty"`
	ServiceManagedResourcesSettings *ServiceManagedResourcesSettings `json:"serviceManagedResourcesSettings,omitempty"`
	ServiceProvisionedResourceGroup *string                          `json:"serviceProvisionedResourceGroup,omitempty"`
	SharedPrivateLinkResources      *[]SharedPrivateLinkResource     `json:"sharedPrivateLinkResources,omitempty"`
	SoftDeleteRetentionInDays       *int64                           `json:"softDeleteRetentionInDays,omitempty"`
	StorageAccount                  *string                          `json:"storageAccount,omitempty"`
	StorageAccounts                 *[]string                        `json:"storageAccounts,omitempty"`
	StorageHnsEnabled               *bool                            `json:"storageHnsEnabled,omitempty"`
	SystemDatastoresAuthMode        *SystemDatastoresAuthMode        `json:"systemDatastoresAuthMode,omitempty"`
	TenantId                        *string                          `json:"tenantId,omitempty"`
	V1LegacyMode                    *bool                            `json:"v1LegacyMode,omitempty"`
	WorkspaceHubConfig              *WorkspaceHubConfig              `json:"workspaceHubConfig,omitempty"`
	WorkspaceId                     *string                          `json:"workspaceId,omitempty"`
}

type WorkspacePropertiesUpdateParameters

type WorkspacePropertiesUpdateParameters struct {
	AllowRoleAssignmentOnRG         *bool                            `json:"allowRoleAssignmentOnRG,omitempty"`
	ApplicationInsights             *string                          `json:"applicationInsights,omitempty"`
	ContainerRegistry               *string                          `json:"containerRegistry,omitempty"`
	Description                     *string                          `json:"description,omitempty"`
	EnableDataIsolation             *bool                            `json:"enableDataIsolation,omitempty"`
	EnableSoftwareBillOfMaterials   *bool                            `json:"enableSoftwareBillOfMaterials,omitempty"`
	Encryption                      *EncryptionUpdateProperties      `json:"encryption,omitempty"`
	FeatureStoreSettings            *FeatureStoreSettings            `json:"featureStoreSettings,omitempty"`
	FriendlyName                    *string                          `json:"friendlyName,omitempty"`
	IPAllowlist                     *[]string                        `json:"ipAllowlist,omitempty"`
	ImageBuildCompute               *string                          `json:"imageBuildCompute,omitempty"`
	ManagedNetwork                  *ManagedNetworkSettings          `json:"managedNetwork,omitempty"`
	NetworkAcls                     *NetworkAcls                     `json:"networkAcls,omitempty"`
	PrimaryUserAssignedIdentity     *string                          `json:"primaryUserAssignedIdentity,omitempty"`
	PublicNetworkAccess             *PublicNetworkAccessType         `json:"publicNetworkAccess,omitempty"`
	ServerlessComputeSettings       *ServerlessComputeSettings       `json:"serverlessComputeSettings,omitempty"`
	ServiceManagedResourcesSettings *ServiceManagedResourcesSettings `json:"serviceManagedResourcesSettings,omitempty"`
	SoftDeleteRetentionInDays       *int64                           `json:"softDeleteRetentionInDays,omitempty"`
	SystemDatastoresAuthMode        *SystemDatastoresAuthMode        `json:"systemDatastoresAuthMode,omitempty"`
	V1LegacyMode                    *bool                            `json:"v1LegacyMode,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) 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) 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