Documentation ¶
Index ¶
- func PossibleValuesForCustomParameterType() []string
- func PossibleValuesForEncryptionKeySource() []string
- func PossibleValuesForKeySource() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForRequiredNsgRules() []string
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type CreatedBy
- type CustomParameterType
- type DeleteOperationResponse
- type Encryption
- type EncryptionEntitiesDefinition
- type EncryptionKeySource
- type EncryptionV2
- type EncryptionV2KeyVaultProperties
- type GetOperationResponse
- type KeySource
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ManagedDiskEncryption
- type ManagedDiskEncryptionKeyVaultProperties
- type ManagedIdentityConfiguration
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateLinkServiceConnectionState
- type PrivateLinkServiceConnectionStatus
- type ProvisioningState
- type PublicNetworkAccess
- type RequiredNsgRules
- type Sku
- type UpdateOperationResponse
- type Workspace
- type WorkspaceCustomBooleanParameter
- type WorkspaceCustomObjectParameter
- type WorkspaceCustomParameters
- type WorkspaceCustomStringParameter
- type WorkspaceEncryptionParameter
- type WorkspaceId
- type WorkspaceOperationPredicate
- type WorkspaceProperties
- type WorkspacePropertiesEncryption
- type WorkspaceProviderAuthorization
- type WorkspaceUpdate
- type WorkspacesClient
- func (c WorkspacesClient) CreateOrUpdate(ctx context.Context, id WorkspaceId, input Workspace) (result CreateOrUpdateOperationResponse, err error)
- func (c WorkspacesClient) CreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input Workspace) error
- func (c WorkspacesClient) Delete(ctx context.Context, id WorkspaceId) (result DeleteOperationResponse, err error)
- func (c WorkspacesClient) DeleteThenPoll(ctx context.Context, id WorkspaceId) error
- func (c WorkspacesClient) Get(ctx context.Context, id WorkspaceId) (result GetOperationResponse, err error)
- func (c WorkspacesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c WorkspacesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c WorkspacesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c WorkspacesClient) Update(ctx context.Context, id WorkspaceId, input WorkspaceUpdate) (result UpdateOperationResponse, err error)
- func (c WorkspacesClient) UpdateThenPoll(ctx context.Context, id WorkspaceId, input WorkspaceUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCustomParameterType ¶
func PossibleValuesForCustomParameterType() []string
func PossibleValuesForEncryptionKeySource ¶
func PossibleValuesForEncryptionKeySource() []string
func PossibleValuesForKeySource ¶
func PossibleValuesForKeySource() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateLinkServiceConnectionStatus ¶
func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForRequiredNsgRules ¶
func PossibleValuesForRequiredNsgRules() []string
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CustomParameterType ¶
type CustomParameterType string
const ( CustomParameterTypeBool CustomParameterType = "Bool" CustomParameterTypeObject CustomParameterType = "Object" CustomParameterTypeString CustomParameterType = "String" )
func (*CustomParameterType) UnmarshalJSON ¶
func (s *CustomParameterType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type Encryption ¶
type EncryptionEntitiesDefinition ¶
type EncryptionEntitiesDefinition struct { ManagedDisk *ManagedDiskEncryption `json:"managedDisk,omitempty"` ManagedServices *EncryptionV2 `json:"managedServices,omitempty"` }
type EncryptionKeySource ¶
type EncryptionKeySource string
const (
EncryptionKeySourceMicrosoftPointKeyvault EncryptionKeySource = "Microsoft.Keyvault"
)
func (*EncryptionKeySource) UnmarshalJSON ¶
func (s *EncryptionKeySource) UnmarshalJSON(bytes []byte) error
type EncryptionV2 ¶
type EncryptionV2 struct { KeySource EncryptionKeySource `json:"keySource"` KeyVaultProperties *EncryptionV2KeyVaultProperties `json:"keyVaultProperties,omitempty"` }
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ManagedDiskEncryption ¶
type ManagedDiskEncryption struct { KeySource EncryptionKeySource `json:"keySource"` KeyVaultProperties ManagedDiskEncryptionKeyVaultProperties `json:"keyVaultProperties"` RotationToLatestKeyVersionEnabled *bool `json:"rotationToLatestKeyVersionEnabled,omitempty"` }
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties PrivateEndpointConnectionProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` 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" PrivateEndpointConnectionProvisioningStateUpdating PrivateEndpointConnectionProvisioningState = "Updating" )
func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON ¶
func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status PrivateLinkServiceConnectionStatus `json:"status"` }
type PrivateLinkServiceConnectionStatus ¶
type PrivateLinkServiceConnectionStatus string
const ( PrivateLinkServiceConnectionStatusApproved PrivateLinkServiceConnectionStatus = "Approved" PrivateLinkServiceConnectionStatusDisconnected PrivateLinkServiceConnectionStatus = "Disconnected" PrivateLinkServiceConnectionStatusPending PrivateLinkServiceConnectionStatus = "Pending" PrivateLinkServiceConnectionStatusRejected PrivateLinkServiceConnectionStatus = "Rejected" )
func (*PrivateLinkServiceConnectionStatus) UnmarshalJSON ¶
func (s *PrivateLinkServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateReady ProvisioningState = "Ready" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" 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 RequiredNsgRules ¶
type RequiredNsgRules string
const ( RequiredNsgRulesAllRules RequiredNsgRules = "AllRules" RequiredNsgRulesNoAzureDatabricksRules RequiredNsgRules = "NoAzureDatabricksRules" RequiredNsgRulesNoAzureServiceRules RequiredNsgRules = "NoAzureServiceRules" )
func (*RequiredNsgRules) UnmarshalJSON ¶
func (s *RequiredNsgRules) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type Workspace ¶
type Workspace struct { Id *string `json:"id,omitempty"` Location string `json:"location"` 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 WorkspaceCustomBooleanParameter ¶
type WorkspaceCustomBooleanParameter struct { Type *CustomParameterType `json:"type,omitempty"` Value bool `json:"value"` }
type WorkspaceCustomObjectParameter ¶
type WorkspaceCustomObjectParameter struct { Type *CustomParameterType `json:"type,omitempty"` Value interface{} `json:"value"` }
type WorkspaceCustomParameters ¶
type WorkspaceCustomParameters struct { AmlWorkspaceId *WorkspaceCustomStringParameter `json:"amlWorkspaceId,omitempty"` CustomPrivateSubnetName *WorkspaceCustomStringParameter `json:"customPrivateSubnetName,omitempty"` CustomPublicSubnetName *WorkspaceCustomStringParameter `json:"customPublicSubnetName,omitempty"` CustomVirtualNetworkId *WorkspaceCustomStringParameter `json:"customVirtualNetworkId,omitempty"` EnableNoPublicIP *WorkspaceCustomBooleanParameter `json:"enableNoPublicIp,omitempty"` Encryption *WorkspaceEncryptionParameter `json:"encryption,omitempty"` LoadBalancerBackendPoolName *WorkspaceCustomStringParameter `json:"loadBalancerBackendPoolName,omitempty"` LoadBalancerId *WorkspaceCustomStringParameter `json:"loadBalancerId,omitempty"` NatGatewayName *WorkspaceCustomStringParameter `json:"natGatewayName,omitempty"` PrepareEncryption *WorkspaceCustomBooleanParameter `json:"prepareEncryption,omitempty"` PublicIPName *WorkspaceCustomStringParameter `json:"publicIpName,omitempty"` RequireInfrastructureEncryption *WorkspaceCustomBooleanParameter `json:"requireInfrastructureEncryption,omitempty"` ResourceTags *WorkspaceCustomObjectParameter `json:"resourceTags,omitempty"` StorageAccountName *WorkspaceCustomStringParameter `json:"storageAccountName,omitempty"` StorageAccountSkuName *WorkspaceCustomStringParameter `json:"storageAccountSkuName,omitempty"` VnetAddressPrefix *WorkspaceCustomStringParameter `json:"vnetAddressPrefix,omitempty"` }
type WorkspaceCustomStringParameter ¶
type WorkspaceCustomStringParameter struct { Type *CustomParameterType `json:"type,omitempty"` Value string `json:"value"` }
type WorkspaceEncryptionParameter ¶
type WorkspaceEncryptionParameter struct { Type *CustomParameterType `json:"type,omitempty"` Value *Encryption `json:"value,omitempty"` }
type WorkspaceId ¶
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) 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 ¶
func (WorkspaceOperationPredicate) Matches ¶
func (p WorkspaceOperationPredicate) Matches(input Workspace) bool
type WorkspaceProperties ¶
type WorkspaceProperties struct { Authorizations *[]WorkspaceProviderAuthorization `json:"authorizations,omitempty"` CreatedBy *CreatedBy `json:"createdBy,omitempty"` CreatedDateTime *string `json:"createdDateTime,omitempty"` DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` Encryption *WorkspacePropertiesEncryption `json:"encryption,omitempty"` ManagedDiskIdentity *ManagedIdentityConfiguration `json:"managedDiskIdentity,omitempty"` ManagedResourceGroupId string `json:"managedResourceGroupId"` Parameters *WorkspaceCustomParameters `json:"parameters,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RequiredNsgRules *RequiredNsgRules `json:"requiredNsgRules,omitempty"` StorageAccountIdentity *ManagedIdentityConfiguration `json:"storageAccountIdentity,omitempty"` UiDefinitionUri *string `json:"uiDefinitionUri,omitempty"` UpdatedBy *CreatedBy `json:"updatedBy,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` WorkspaceURL *string `json:"workspaceUrl,omitempty"` }
func (*WorkspaceProperties) GetCreatedDateTimeAsTime ¶
func (o *WorkspaceProperties) GetCreatedDateTimeAsTime() (*time.Time, error)
func (*WorkspaceProperties) SetCreatedDateTimeAsTime ¶
func (o *WorkspaceProperties) SetCreatedDateTimeAsTime(input time.Time)
type WorkspacePropertiesEncryption ¶
type WorkspacePropertiesEncryption struct {
Entities EncryptionEntitiesDefinition `json:"entities"`
}
type WorkspaceUpdate ¶
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) Get ¶
func (c WorkspacesClient) Get(ctx context.Context, id WorkspaceId) (result GetOperationResponse, err error)
Get ...
func (WorkspacesClient) ListByResourceGroup ¶
func (c WorkspacesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (WorkspacesClient) ListByResourceGroupComplete ¶
func (c WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WorkspaceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkspacesClient) ListBySubscription ¶
func (c WorkspacesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (WorkspacesClient) ListBySubscriptionComplete ¶
func (c WorkspacesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WorkspaceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkspacesClient) Update ¶
func (c WorkspacesClient) Update(ctx context.Context, id WorkspaceId, input WorkspaceUpdate) (result UpdateOperationResponse, err error)
Update ...
func (WorkspacesClient) UpdateThenPoll ¶
func (c WorkspacesClient) UpdateThenPoll(ctx context.Context, id WorkspaceId, input WorkspaceUpdate) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_createdby.go
- model_encryption.go
- model_encryptionentitiesdefinition.go
- model_encryptionv2.go
- model_encryptionv2keyvaultproperties.go
- model_manageddiskencryption.go
- model_manageddiskencryptionkeyvaultproperties.go
- model_managedidentityconfiguration.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_sku.go
- model_workspace.go
- model_workspacecustombooleanparameter.go
- model_workspacecustomobjectparameter.go
- model_workspacecustomparameters.go
- model_workspacecustomstringparameter.go
- model_workspaceencryptionparameter.go
- model_workspaceproperties.go
- model_workspacepropertiesencryption.go
- model_workspaceproviderauthorization.go
- model_workspaceupdate.go
- predicates.go
- version.go