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 ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- 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) (resp 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, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c WorkspacesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp 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, ...) (resp 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CustomParameterType ¶
type CustomParameterType string
const ( CustomParameterTypeBool CustomParameterType = "Bool" CustomParameterTypeObject CustomParameterType = "Object" CustomParameterTypeString CustomParameterType = "String" )
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Encryption ¶
type EncryptionEntitiesDefinition ¶
type EncryptionEntitiesDefinition struct { ManagedDisk *ManagedDiskEncryption `json:"managedDisk"` ManagedServices *EncryptionV2 `json:"managedServices"` }
type EncryptionKeySource ¶
type EncryptionKeySource string
const (
EncryptionKeySourceMicrosoftPointKeyvault EncryptionKeySource = "Microsoft.Keyvault"
)
type EncryptionV2 ¶
type EncryptionV2 struct { KeySource EncryptionKeySource `json:"keySource"` KeyVaultProperties *EncryptionV2KeyVaultProperties `json:"keyVaultProperties"` }
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Workspace
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Workspace // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Workspace
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Workspace // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ManagedDiskEncryption ¶ added in v0.20221101.1095148
type ManagedDiskEncryption struct { KeySource EncryptionKeySource `json:"keySource"` KeyVaultProperties ManagedDiskEncryptionKeyVaultProperties `json:"keyVaultProperties"` RotationToLatestKeyVersionEnabled *bool `json:"rotationToLatestKeyVersionEnabled,omitempty"` }
type ManagedDiskEncryptionKeyVaultProperties ¶ added in v0.20221101.1095148
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 { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint"` 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" )
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionRequired *string `json:"actionRequired,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" )
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" )
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
type RequiredNsgRules ¶
type RequiredNsgRules string
const ( RequiredNsgRulesAllRules RequiredNsgRules = "AllRules" RequiredNsgRulesNoAzureDatabricksRules RequiredNsgRules = "NoAzureDatabricksRules" RequiredNsgRulesNoAzureServiceRules RequiredNsgRules = "NoAzureServiceRules" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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"` 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"` CustomPrivateSubnetName *WorkspaceCustomStringParameter `json:"customPrivateSubnetName"` CustomPublicSubnetName *WorkspaceCustomStringParameter `json:"customPublicSubnetName"` CustomVirtualNetworkId *WorkspaceCustomStringParameter `json:"customVirtualNetworkId"` EnableNoPublicIP *WorkspaceCustomBooleanParameter `json:"enableNoPublicIp"` Encryption *WorkspaceEncryptionParameter `json:"encryption"` LoadBalancerBackendPoolName *WorkspaceCustomStringParameter `json:"loadBalancerBackendPoolName"` LoadBalancerId *WorkspaceCustomStringParameter `json:"loadBalancerId"` NatGatewayName *WorkspaceCustomStringParameter `json:"natGatewayName"` PrepareEncryption *WorkspaceCustomBooleanParameter `json:"prepareEncryption"` PublicIPName *WorkspaceCustomStringParameter `json:"publicIpName"` RequireInfrastructureEncryption *WorkspaceCustomBooleanParameter `json:"requireInfrastructureEncryption"` ResourceTags *WorkspaceCustomObjectParameter `json:"resourceTags"` StorageAccountName *WorkspaceCustomStringParameter `json:"storageAccountName"` StorageAccountSkuName *WorkspaceCustomStringParameter `json:"storageAccountSkuName"` VnetAddressPrefix *WorkspaceCustomStringParameter `json:"vnetAddressPrefix"` }
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"` }
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) 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"` CreatedDateTime *string `json:"createdDateTime,omitempty"` DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` Encryption *WorkspacePropertiesEncryption `json:"encryption"` ManagedDiskIdentity *ManagedIdentityConfiguration `json:"managedDiskIdentity"` ManagedResourceGroupId string `json:"managedResourceGroupId"` Parameters *WorkspaceCustomParameters `json:"parameters"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RequiredNsgRules *RequiredNsgRules `json:"requiredNsgRules,omitempty"` StorageAccountIdentity *ManagedIdentityConfiguration `json:"storageAccountIdentity"` UiDefinitionUri *string `json:"uiDefinitionUri,omitempty"` UpdatedBy *CreatedBy `json:"updatedBy"` 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 ¶
func NewWorkspacesClientWithBaseURI ¶
func NewWorkspacesClientWithBaseURI(endpoint string) WorkspacesClient
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) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (WorkspacesClient) ListByResourceGroupComplete ¶
func (c WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c WorkspacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate WorkspaceOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WorkspacesClient) ListBySubscription ¶
func (c WorkspacesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (WorkspacesClient) ListBySubscriptionComplete ¶
func (c WorkspacesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c WorkspacesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate WorkspaceOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied 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_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.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