Documentation ¶
Overview ¶
Package databricks implements the Azure ARM Databricks service API version 2018-04-01.
ARM Databricks
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AddressSpace
- type BaseClient
- type CreatedBy
- type CustomParameterType
- type Encryption
- type ErrorDetail
- type ErrorInfo
- type ErrorResponse
- type KeySource
- type ManagedIdentityConfiguration
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PeeringProvisioningState
- type PeeringState
- type ProvisioningState
- type Resource
- type Sku
- type TrackedResource
- type VNetPeeringClient
- func (client VNetPeeringClient) CreateOrUpdate(ctx context.Context, virtualNetworkPeeringParameters VirtualNetworkPeering, ...) (result VNetPeeringCreateOrUpdateFuture, err error)
- func (client VNetPeeringClient) CreateOrUpdatePreparer(ctx context.Context, virtualNetworkPeeringParameters VirtualNetworkPeering, ...) (*http.Request, error)
- func (client VNetPeeringClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkPeering, err error)
- func (client VNetPeeringClient) CreateOrUpdateSender(req *http.Request) (future VNetPeeringCreateOrUpdateFuture, err error)
- func (client VNetPeeringClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result VNetPeeringDeleteFuture, err error)
- func (client VNetPeeringClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client VNetPeeringClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VNetPeeringClient) DeleteSender(req *http.Request) (future VNetPeeringDeleteFuture, err error)
- func (client VNetPeeringClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, ...) (result VirtualNetworkPeering, err error)
- func (client VNetPeeringClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, ...) (*http.Request, error)
- func (client VNetPeeringClient) GetResponder(resp *http.Response) (result VirtualNetworkPeering, err error)
- func (client VNetPeeringClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VNetPeeringClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result VirtualNetworkPeeringListPage, err error)
- func (client VNetPeeringClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result VirtualNetworkPeeringListIterator, err error)
- func (client VNetPeeringClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client VNetPeeringClient) ListByWorkspaceResponder(resp *http.Response) (result VirtualNetworkPeeringList, err error)
- func (client VNetPeeringClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
- type VNetPeeringCreateOrUpdateFuture
- type VNetPeeringDeleteFuture
- type VirtualNetworkPeering
- type VirtualNetworkPeeringList
- type VirtualNetworkPeeringListIterator
- func (iter *VirtualNetworkPeeringListIterator) Next() error
- func (iter *VirtualNetworkPeeringListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkPeeringListIterator) NotDone() bool
- func (iter VirtualNetworkPeeringListIterator) Response() VirtualNetworkPeeringList
- func (iter VirtualNetworkPeeringListIterator) Value() VirtualNetworkPeering
- type VirtualNetworkPeeringListPage
- func (page *VirtualNetworkPeeringListPage) Next() error
- func (page *VirtualNetworkPeeringListPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkPeeringListPage) NotDone() bool
- func (page VirtualNetworkPeeringListPage) Response() VirtualNetworkPeeringList
- func (page VirtualNetworkPeeringListPage) Values() []VirtualNetworkPeering
- type VirtualNetworkPeeringPropertiesFormat
- type VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork
- type VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork
- type Workspace
- type WorkspaceCustomBooleanParameter
- type WorkspaceCustomObjectParameter
- type WorkspaceCustomParameters
- type WorkspaceCustomStringParameter
- type WorkspaceEncryptionParameter
- type WorkspaceListResult
- type WorkspaceListResultIterator
- func (iter *WorkspaceListResultIterator) Next() error
- func (iter *WorkspaceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter WorkspaceListResultIterator) NotDone() bool
- func (iter WorkspaceListResultIterator) Response() WorkspaceListResult
- func (iter WorkspaceListResultIterator) Value() Workspace
- type WorkspaceListResultPage
- func (page *WorkspaceListResultPage) Next() error
- func (page *WorkspaceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page WorkspaceListResultPage) NotDone() bool
- func (page WorkspaceListResultPage) Response() WorkspaceListResult
- func (page WorkspaceListResultPage) Values() []Workspace
- type WorkspaceProperties
- type WorkspaceProviderAuthorization
- type WorkspaceUpdate
- type WorkspacesClient
- func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, parameters Workspace, resourceGroupName string, ...) (result WorkspacesCreateOrUpdateFuture, err error)
- func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, parameters Workspace, resourceGroupName string, ...) (*http.Request, error)
- func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error)
- func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspacesDeleteFuture, err error)
- func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WorkspacesClient) DeleteSender(req *http.Request) (future WorkspacesDeleteFuture, err error)
- func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)
- func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
- func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListResultPage, err error)
- func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WorkspaceListResultIterator, err error)
- func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error)
- func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListResultPage, err error)
- func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListResultIterator, err error)
- func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceListResult, err error)
- func (client WorkspacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client WorkspacesClient) Update(ctx context.Context, parameters WorkspaceUpdate, resourceGroupName string, ...) (result WorkspacesUpdateFuture, err error)
- func (client WorkspacesClient) UpdatePreparer(ctx context.Context, parameters WorkspaceUpdate, resourceGroupName string, ...) (*http.Request, error)
- func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)
- func (client WorkspacesClient) UpdateSender(req *http.Request) (future WorkspacesUpdateFuture, err error)
- type WorkspacesCreateOrUpdateFuture
- type WorkspacesDeleteFuture
- type WorkspacesUpdateFuture
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Databricks
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AddressSpace ¶
type AddressSpace struct { // AddressPrefixes - A list of address blocks reserved for this virtual network in CIDR notation. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` }
AddressSpace addressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type BaseClient ¶
BaseClient is the base client for Databricks.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CreatedBy ¶
type CreatedBy struct { // Oid - READ-ONLY; The Object ID that created the workspace. Oid *uuid.UUID `json:"oid,omitempty"` // Puid - READ-ONLY; The Personal Object ID corresponding to the object ID above Puid *string `json:"puid,omitempty"` // ApplicationID - READ-ONLY; The application ID of the application that initiated the creation of the workspace. For example, Azure Portal. ApplicationID *uuid.UUID `json:"applicationId,omitempty"` }
CreatedBy provides details of the entity that created/updated the workspace.
func (CreatedBy) MarshalJSON ¶
MarshalJSON is the custom marshaler for CreatedBy.
type CustomParameterType ¶
type CustomParameterType string
CustomParameterType enumerates the values for custom parameter type.
const ( // Bool ... Bool CustomParameterType = "Bool" // Object ... Object CustomParameterType = "Object" // String ... String CustomParameterType = "String" )
func PossibleCustomParameterTypeValues ¶
func PossibleCustomParameterTypeValues() []CustomParameterType
PossibleCustomParameterTypeValues returns an array of possible values for the CustomParameterType const type.
type Encryption ¶
type Encryption struct { // KeySource - The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault. Possible values include: 'Default', 'MicrosoftKeyvault' KeySource KeySource `json:"keySource,omitempty"` // KeyName - The name of KeyVault key. KeyName *string `json:"KeyName,omitempty"` // KeyVersion - The version of KeyVault key. KeyVersion *string `json:"keyversion,omitempty"` // KeyVaultURI - The Uri of KeyVault. KeyVaultURI *string `json:"keyvaulturi,omitempty"` }
Encryption the object that contains details of encryption used on the workspace.
type ErrorDetail ¶
type ErrorDetail struct { // Code - The error's code. Code *string `json:"code,omitempty"` // Message - A human readable error message. Message *string `json:"message,omitempty"` // Target - Indicates which property in the request is responsible for the error. Target *string `json:"target,omitempty"` }
ErrorDetail ...
type ErrorInfo ¶
type ErrorInfo struct { // Code - A machine readable error code. Code *string `json:"code,omitempty"` // Message - A human readable error message. Message *string `json:"message,omitempty"` // Details - error details. Details *[]ErrorDetail `json:"details,omitempty"` // Innererror - Inner error details if they exist. Innererror *string `json:"innererror,omitempty"` }
ErrorInfo ...
type ErrorResponse ¶
type ErrorResponse struct { // Error - The error details. Error *ErrorInfo `json:"error,omitempty"` }
ErrorResponse contains details when the response code indicates an error.
type KeySource ¶
type KeySource string
KeySource enumerates the values for key source.
func PossibleKeySourceValues ¶
func PossibleKeySourceValues() []KeySource
PossibleKeySourceValues returns an array of possible values for the KeySource const type.
type ManagedIdentityConfiguration ¶
type ManagedIdentityConfiguration struct { // PrincipalID - READ-ONLY; The objectId of the Managed Identity that is linked to the Managed Storage account. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant Id where the Managed Identity is created. TenantID *uuid.UUID `json:"tenantId,omitempty"` // Type - READ-ONLY; The type of Identity created. It can be either SystemAssigned or UserAssigned. Type *string `json:"type,omitempty"` }
ManagedIdentityConfiguration the Managed Identity details for storage account.
func (ManagedIdentityConfiguration) MarshalJSON ¶
func (mic ManagedIdentityConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedIdentityConfiguration.
type Operation ¶
type Operation struct { // Name - Operation name: {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` // Display - The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` }
Operation REST API operation
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Service provider: Microsoft.ResourceProvider Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` // Operation - Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty"` }
OperationDisplay the object that represents the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Resource Provider operations supported by the Resource Provider resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the ARM Databricks
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available RP operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PeeringProvisioningState ¶
type PeeringProvisioningState string
PeeringProvisioningState enumerates the values for peering provisioning state.
const ( // Deleting ... Deleting PeeringProvisioningState = "Deleting" // Failed ... Failed PeeringProvisioningState = "Failed" // Succeeded ... Succeeded PeeringProvisioningState = "Succeeded" // Updating ... Updating PeeringProvisioningState = "Updating" )
func PossiblePeeringProvisioningStateValues ¶
func PossiblePeeringProvisioningStateValues() []PeeringProvisioningState
PossiblePeeringProvisioningStateValues returns an array of possible values for the PeeringProvisioningState const type.
type PeeringState ¶
type PeeringState string
PeeringState enumerates the values for peering state.
const ( // Connected ... Connected PeeringState = "Connected" // Disconnected ... Disconnected PeeringState = "Disconnected" // Initiated ... Initiated PeeringState = "Initiated" )
func PossiblePeeringStateValues ¶
func PossiblePeeringStateValues() []PeeringState
PossiblePeeringStateValues returns an array of possible values for the PeeringState const type.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // ProvisioningStateAccepted ... ProvisioningStateAccepted ProvisioningState = "Accepted" // ProvisioningStateCanceled ... ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateCreated ... ProvisioningStateCreated ProvisioningState = "Created" // ProvisioningStateCreating ... ProvisioningStateCreating ProvisioningState = "Creating" // ProvisioningStateDeleted ... ProvisioningStateDeleted ProvisioningState = "Deleted" // ProvisioningStateDeleting ... ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed ... ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateReady ... ProvisioningStateReady ProvisioningState = "Ready" // ProvisioningStateRunning ... ProvisioningStateRunning ProvisioningState = "Running" // ProvisioningStateSucceeded ... ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating ... ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
Resource the core properties of ARM resources
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type Sku ¶
type Sku struct { // Name - The SKU name. Name *string `json:"name,omitempty"` // Tier - The SKU tier. Tier *string `json:"tier,omitempty"` }
Sku SKU for the resource.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for a ARM tracked top level resource
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type VNetPeeringClient ¶
type VNetPeeringClient struct {
BaseClient
}
VNetPeeringClient is the ARM Databricks
func NewVNetPeeringClient ¶
func NewVNetPeeringClient(subscriptionID string) VNetPeeringClient
NewVNetPeeringClient creates an instance of the VNetPeeringClient client.
func NewVNetPeeringClientWithBaseURI ¶
func NewVNetPeeringClientWithBaseURI(baseURI string, subscriptionID string) VNetPeeringClient
NewVNetPeeringClientWithBaseURI creates an instance of the VNetPeeringClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VNetPeeringClient) CreateOrUpdate ¶
func (client VNetPeeringClient) CreateOrUpdate(ctx context.Context, virtualNetworkPeeringParameters VirtualNetworkPeering, resourceGroupName string, workspaceName string, peeringName string) (result VNetPeeringCreateOrUpdateFuture, err error)
CreateOrUpdate creates vNet Peering for workspace. Parameters: virtualNetworkPeeringParameters - parameters supplied to the create workspace vNet Peering. resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. peeringName - the name of the workspace vNet peering.
func (VNetPeeringClient) CreateOrUpdatePreparer ¶
func (client VNetPeeringClient) CreateOrUpdatePreparer(ctx context.Context, virtualNetworkPeeringParameters VirtualNetworkPeering, resourceGroupName string, workspaceName string, peeringName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VNetPeeringClient) CreateOrUpdateResponder ¶
func (client VNetPeeringClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkPeering, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VNetPeeringClient) CreateOrUpdateSender ¶
func (client VNetPeeringClient) CreateOrUpdateSender(req *http.Request) (future VNetPeeringCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VNetPeeringClient) Delete ¶
func (client VNetPeeringClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, peeringName string) (result VNetPeeringDeleteFuture, err error)
Delete deletes the workspace vNetPeering. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. peeringName - the name of the workspace vNet peering.
func (VNetPeeringClient) DeletePreparer ¶
func (client VNetPeeringClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, peeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VNetPeeringClient) DeleteResponder ¶
func (client VNetPeeringClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VNetPeeringClient) DeleteSender ¶
func (client VNetPeeringClient) DeleteSender(req *http.Request) (future VNetPeeringDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VNetPeeringClient) Get ¶
func (client VNetPeeringClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, peeringName string) (result VirtualNetworkPeering, err error)
Get gets the workspace vNet Peering. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace. peeringName - the name of the workspace vNet peering.
func (VNetPeeringClient) GetPreparer ¶
func (client VNetPeeringClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, peeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VNetPeeringClient) GetResponder ¶
func (client VNetPeeringClient) GetResponder(resp *http.Response) (result VirtualNetworkPeering, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VNetPeeringClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VNetPeeringClient) ListByWorkspace ¶
func (client VNetPeeringClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result VirtualNetworkPeeringListPage, err error)
ListByWorkspace lists the workspace vNet Peerings. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (VNetPeeringClient) ListByWorkspaceComplete ¶
func (client VNetPeeringClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result VirtualNetworkPeeringListIterator, err error)
ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.
func (VNetPeeringClient) ListByWorkspacePreparer ¶
func (client VNetPeeringClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
ListByWorkspacePreparer prepares the ListByWorkspace request.
func (VNetPeeringClient) ListByWorkspaceResponder ¶
func (client VNetPeeringClient) ListByWorkspaceResponder(resp *http.Response) (result VirtualNetworkPeeringList, err error)
ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.
func (VNetPeeringClient) ListByWorkspaceSender ¶
ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.
type VNetPeeringCreateOrUpdateFuture ¶
type VNetPeeringCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VNetPeeringClient) (VirtualNetworkPeering, error) }
VNetPeeringCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VNetPeeringCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VNetPeeringCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VNetPeeringDeleteFuture ¶
type VNetPeeringDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VNetPeeringClient) (autorest.Response, error) }
VNetPeeringDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VNetPeeringDeleteFuture) UnmarshalJSON ¶
func (future *VNetPeeringDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualNetworkPeering ¶
type VirtualNetworkPeering struct { autorest.Response `json:"-"` // VirtualNetworkPeeringPropertiesFormat - List of properties for vNet Peering *VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"` // Name - READ-ONLY; Name of the virtual network peering resource Name *string `json:"name,omitempty"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Type - READ-ONLY; type of the virtual network peering resource Type *string `json:"type,omitempty"` }
VirtualNetworkPeering peerings in a VirtualNetwork resource
func (VirtualNetworkPeering) MarshalJSON ¶
func (vnp VirtualNetworkPeering) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkPeering.
func (*VirtualNetworkPeering) UnmarshalJSON ¶
func (vnp *VirtualNetworkPeering) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkPeering struct.
type VirtualNetworkPeeringList ¶
type VirtualNetworkPeeringList struct { autorest.Response `json:"-"` // Value - List of virtual network peerings on workspace. Value *[]VirtualNetworkPeering `json:"value,omitempty"` // NextLink - URL to get the next set of virtual network peering list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkPeeringList gets all virtual network peerings under a workspace.
func (VirtualNetworkPeeringList) IsEmpty ¶
func (vnpl VirtualNetworkPeeringList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualNetworkPeeringListIterator ¶
type VirtualNetworkPeeringListIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkPeeringListIterator provides access to a complete listing of VirtualNetworkPeering values.
func NewVirtualNetworkPeeringListIterator ¶
func NewVirtualNetworkPeeringListIterator(page VirtualNetworkPeeringListPage) VirtualNetworkPeeringListIterator
Creates a new instance of the VirtualNetworkPeeringListIterator type.
func (*VirtualNetworkPeeringListIterator) Next ¶
func (iter *VirtualNetworkPeeringListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualNetworkPeeringListIterator) NextWithContext ¶
func (iter *VirtualNetworkPeeringListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualNetworkPeeringListIterator) NotDone ¶
func (iter VirtualNetworkPeeringListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkPeeringListIterator) Response ¶
func (iter VirtualNetworkPeeringListIterator) Response() VirtualNetworkPeeringList
Response returns the raw server response from the last page request.
func (VirtualNetworkPeeringListIterator) Value ¶
func (iter VirtualNetworkPeeringListIterator) Value() VirtualNetworkPeering
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualNetworkPeeringListPage ¶
type VirtualNetworkPeeringListPage struct {
// contains filtered or unexported fields
}
VirtualNetworkPeeringListPage contains a page of VirtualNetworkPeering values.
func NewVirtualNetworkPeeringListPage ¶
func NewVirtualNetworkPeeringListPage(cur VirtualNetworkPeeringList, getNextPage func(context.Context, VirtualNetworkPeeringList) (VirtualNetworkPeeringList, error)) VirtualNetworkPeeringListPage
Creates a new instance of the VirtualNetworkPeeringListPage type.
func (*VirtualNetworkPeeringListPage) Next ¶
func (page *VirtualNetworkPeeringListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualNetworkPeeringListPage) NextWithContext ¶
func (page *VirtualNetworkPeeringListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualNetworkPeeringListPage) NotDone ¶
func (page VirtualNetworkPeeringListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkPeeringListPage) Response ¶
func (page VirtualNetworkPeeringListPage) Response() VirtualNetworkPeeringList
Response returns the raw server response from the last page request.
func (VirtualNetworkPeeringListPage) Values ¶
func (page VirtualNetworkPeeringListPage) Values() []VirtualNetworkPeering
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkPeeringPropertiesFormat ¶
type VirtualNetworkPeeringPropertiesFormat struct { // AllowVirtualNetworkAccess - Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"` // AllowForwardedTraffic - Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network. AllowForwardedTraffic *bool `json:"allowForwardedTraffic,omitempty"` // AllowGatewayTransit - If gateway links can be used in remote virtual networking to link to this virtual network. AllowGatewayTransit *bool `json:"allowGatewayTransit,omitempty"` // UseRemoteGateways - If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. UseRemoteGateways *bool `json:"useRemoteGateways,omitempty"` // DatabricksVirtualNetwork - The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). DatabricksVirtualNetwork *VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork `json:"databricksVirtualNetwork,omitempty"` // DatabricksAddressSpace - The reference to the databricks virtual network address space. DatabricksAddressSpace *AddressSpace `json:"databricksAddressSpace,omitempty"` // RemoteVirtualNetwork - The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). RemoteVirtualNetwork *VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork `json:"remoteVirtualNetwork,omitempty"` // RemoteAddressSpace - The reference to the remote virtual network address space. RemoteAddressSpace *AddressSpace `json:"remoteAddressSpace,omitempty"` // PeeringState - READ-ONLY; The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', 'Disconnected' PeeringState PeeringState `json:"peeringState,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState PeeringProvisioningState `json:"provisioningState,omitempty"` }
VirtualNetworkPeeringPropertiesFormat properties of the virtual network peering.
func (VirtualNetworkPeeringPropertiesFormat) MarshalJSON ¶
func (vnppf VirtualNetworkPeeringPropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkPeeringPropertiesFormat.
type VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork ¶
type VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork struct { // ID - The Id of the databricks virtual network. ID *string `json:"id,omitempty"` }
VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork the remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).
type VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork ¶
type VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork struct { // ID - The Id of the remote virtual network. ID *string `json:"id,omitempty"` }
VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork the remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).
type Workspace ¶
type Workspace struct { autorest.Response `json:"-"` // WorkspaceProperties - The workspace properties. *WorkspaceProperties `json:"properties,omitempty"` // Sku - The SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
Workspace information about workspace.
func (Workspace) MarshalJSON ¶
MarshalJSON is the custom marshaler for Workspace.
func (*Workspace) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Workspace struct.
type WorkspaceCustomBooleanParameter ¶
type WorkspaceCustomBooleanParameter struct { // Type - The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' Type CustomParameterType `json:"type,omitempty"` // Value - The value which should be used for this field. Value *bool `json:"value,omitempty"` }
WorkspaceCustomBooleanParameter the value which should be used for this field.
type WorkspaceCustomObjectParameter ¶
type WorkspaceCustomObjectParameter struct { // Type - The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' Type CustomParameterType `json:"type,omitempty"` // Value - The value which should be used for this field. Value interface{} `json:"value,omitempty"` }
WorkspaceCustomObjectParameter the value which should be used for this field.
type WorkspaceCustomParameters ¶
type WorkspaceCustomParameters struct { // AmlWorkspaceID - The ID of a Azure Machine Learning workspace to link with Databricks workspace AmlWorkspaceID *WorkspaceCustomStringParameter `json:"amlWorkspaceId,omitempty"` // CustomVirtualNetworkID - The ID of a Virtual Network where this Databricks Cluster should be created CustomVirtualNetworkID *WorkspaceCustomStringParameter `json:"customVirtualNetworkId,omitempty"` // CustomPublicSubnetName - The name of a Public Subnet within the Virtual Network CustomPublicSubnetName *WorkspaceCustomStringParameter `json:"customPublicSubnetName,omitempty"` // CustomPrivateSubnetName - The name of the Private Subnet within the Virtual Network CustomPrivateSubnetName *WorkspaceCustomStringParameter `json:"customPrivateSubnetName,omitempty"` // EnableNoPublicIP - Should the Public IP be Disabled? EnableNoPublicIP *WorkspaceCustomBooleanParameter `json:"enableNoPublicIp,omitempty"` // PrepareEncryption - Prepare the workspace for encryption. Enables the Managed Identity for managed storage account. PrepareEncryption *WorkspaceCustomBooleanParameter `json:"prepareEncryption,omitempty"` // Encryption - Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. Encryption *WorkspaceEncryptionParameter `json:"encryption,omitempty"` // RequireInfrastructureEncryption - A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest. RequireInfrastructureEncryption *WorkspaceCustomBooleanParameter `json:"requireInfrastructureEncryption,omitempty"` }
WorkspaceCustomParameters custom Parameters used for Cluster Creation.
type WorkspaceCustomStringParameter ¶
type WorkspaceCustomStringParameter struct { // Type - The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' Type CustomParameterType `json:"type,omitempty"` // Value - The value which should be used for this field. Value *string `json:"value,omitempty"` }
WorkspaceCustomStringParameter the Value.
type WorkspaceEncryptionParameter ¶
type WorkspaceEncryptionParameter struct { // Type - The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' Type CustomParameterType `json:"type,omitempty"` // Value - The value which should be used for this field. Value *Encryption `json:"value,omitempty"` }
WorkspaceEncryptionParameter the object that contains details of encryption used on the workspace.
type WorkspaceListResult ¶
type WorkspaceListResult struct { autorest.Response `json:"-"` // Value - The array of workspaces. Value *[]Workspace `json:"value,omitempty"` // NextLink - The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` }
WorkspaceListResult list of workspaces.
func (WorkspaceListResult) IsEmpty ¶
func (wlr WorkspaceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type WorkspaceListResultIterator ¶
type WorkspaceListResultIterator struct {
// contains filtered or unexported fields
}
WorkspaceListResultIterator provides access to a complete listing of Workspace values.
func NewWorkspaceListResultIterator ¶
func NewWorkspaceListResultIterator(page WorkspaceListResultPage) WorkspaceListResultIterator
Creates a new instance of the WorkspaceListResultIterator type.
func (*WorkspaceListResultIterator) Next ¶
func (iter *WorkspaceListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkspaceListResultIterator) NextWithContext ¶
func (iter *WorkspaceListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (WorkspaceListResultIterator) NotDone ¶
func (iter WorkspaceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WorkspaceListResultIterator) Response ¶
func (iter WorkspaceListResultIterator) Response() WorkspaceListResult
Response returns the raw server response from the last page request.
func (WorkspaceListResultIterator) Value ¶
func (iter WorkspaceListResultIterator) Value() Workspace
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WorkspaceListResultPage ¶
type WorkspaceListResultPage struct {
// contains filtered or unexported fields
}
WorkspaceListResultPage contains a page of Workspace values.
func NewWorkspaceListResultPage ¶
func NewWorkspaceListResultPage(cur WorkspaceListResult, getNextPage func(context.Context, WorkspaceListResult) (WorkspaceListResult, error)) WorkspaceListResultPage
Creates a new instance of the WorkspaceListResultPage type.
func (*WorkspaceListResultPage) Next ¶
func (page *WorkspaceListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*WorkspaceListResultPage) NextWithContext ¶
func (page *WorkspaceListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (WorkspaceListResultPage) NotDone ¶
func (page WorkspaceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WorkspaceListResultPage) Response ¶
func (page WorkspaceListResultPage) Response() WorkspaceListResult
Response returns the raw server response from the last page request.
func (WorkspaceListResultPage) Values ¶
func (page WorkspaceListResultPage) Values() []Workspace
Values returns the slice of values for the current page or nil if there are no values.
type WorkspaceProperties ¶
type WorkspaceProperties struct { // ManagedResourceGroupID - The managed resource group Id. ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"` // Parameters - The workspace's custom parameters. Parameters *WorkspaceCustomParameters `json:"parameters,omitempty"` // ProvisioningState - READ-ONLY; The workspace provisioning state. Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateRunning', 'ProvisioningStateReady', 'ProvisioningStateCreating', 'ProvisioningStateCreated', 'ProvisioningStateDeleting', 'ProvisioningStateDeleted', 'ProvisioningStateCanceled', 'ProvisioningStateFailed', 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // UIDefinitionURI - The blob URI where the UI definition file is located. UIDefinitionURI *string `json:"uiDefinitionUri,omitempty"` // Authorizations - The workspace provider authorizations. Authorizations *[]WorkspaceProviderAuthorization `json:"authorizations,omitempty"` // CreatedBy - Indicates the Object ID, PUID and Application ID of entity that created the workspace. CreatedBy *CreatedBy `json:"createdBy,omitempty"` // UpdatedBy - Indicates the Object ID, PUID and Application ID of entity that last updated the workspace. UpdatedBy *CreatedBy `json:"updatedBy,omitempty"` // CreatedDateTime - Specifies the date and time when the workspace is created. CreatedDateTime *date.Time `json:"createdDateTime,omitempty"` // WorkspaceID - READ-ONLY; The unique identifier of the databricks workspace in databricks control plane. WorkspaceID *string `json:"workspaceId,omitempty"` // WorkspaceURL - READ-ONLY; The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net' WorkspaceURL *string `json:"workspaceUrl,omitempty"` // StorageAccountIdentity - The details of Managed Identity of Storage Account StorageAccountIdentity *ManagedIdentityConfiguration `json:"storageAccountIdentity,omitempty"` }
WorkspaceProperties the workspace properties.
func (WorkspaceProperties) MarshalJSON ¶
func (wp WorkspaceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceProperties.
type WorkspaceProviderAuthorization ¶
type WorkspaceProviderAuthorization struct { // PrincipalID - The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // RoleDefinitionID - The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group. RoleDefinitionID *uuid.UUID `json:"roleDefinitionId,omitempty"` }
WorkspaceProviderAuthorization the workspace provider authorization.
type WorkspaceUpdate ¶
WorkspaceUpdate an update to a workspace.
func (WorkspaceUpdate) MarshalJSON ¶
func (wu WorkspaceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceUpdate.
type WorkspacesClient ¶
type WorkspacesClient struct {
BaseClient
}
WorkspacesClient is the ARM Databricks
func NewWorkspacesClient ¶
func NewWorkspacesClient(subscriptionID string) WorkspacesClient
NewWorkspacesClient creates an instance of the WorkspacesClient client.
func NewWorkspacesClientWithBaseURI ¶
func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient
NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (WorkspacesClient) CreateOrUpdate ¶
func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, parameters Workspace, resourceGroupName string, workspaceName string) (result WorkspacesCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new workspace. Parameters: parameters - parameters supplied to the create or update a workspace. resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (WorkspacesClient) CreateOrUpdatePreparer ¶
func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, parameters Workspace, resourceGroupName string, workspaceName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (WorkspacesClient) CreateOrUpdateResponder ¶
func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (WorkspacesClient) CreateOrUpdateSender ¶
func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Delete ¶
func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspacesDeleteFuture, err error)
Delete deletes the workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (WorkspacesClient) DeletePreparer ¶
func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WorkspacesClient) DeleteResponder ¶
func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (WorkspacesClient) DeleteSender ¶
func (client WorkspacesClient) DeleteSender(req *http.Request) (future WorkspacesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Get ¶
func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)
Get gets the workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (WorkspacesClient) GetPreparer ¶
func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WorkspacesClient) GetResponder ¶
func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WorkspacesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) ListByResourceGroup ¶
func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListResultPage, err error)
ListByResourceGroup gets all the workspaces within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (WorkspacesClient) ListByResourceGroupComplete ¶
func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WorkspaceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkspacesClient) ListByResourceGroupPreparer ¶
func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (WorkspacesClient) ListByResourceGroupResponder ¶
func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (WorkspacesClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) ListBySubscription ¶
func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListResultPage, err error)
ListBySubscription gets all the workspaces within a subscription.
func (WorkspacesClient) ListBySubscriptionComplete ¶
func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkspacesClient) ListBySubscriptionPreparer ¶
func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (WorkspacesClient) ListBySubscriptionResponder ¶
func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (WorkspacesClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (WorkspacesClient) Update ¶
func (client WorkspacesClient) Update(ctx context.Context, parameters WorkspaceUpdate, resourceGroupName string, workspaceName string) (result WorkspacesUpdateFuture, err error)
Update updates a workspace. Parameters: parameters - the update to the workspace. resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace.
func (WorkspacesClient) UpdatePreparer ¶
func (client WorkspacesClient) UpdatePreparer(ctx context.Context, parameters WorkspaceUpdate, resourceGroupName string, workspaceName string) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (WorkspacesClient) UpdateResponder ¶
func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (WorkspacesClient) UpdateSender ¶
func (client WorkspacesClient) UpdateSender(req *http.Request) (future WorkspacesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type WorkspacesCreateOrUpdateFuture ¶
type WorkspacesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkspacesClient) (Workspace, error) }
WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkspacesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *WorkspacesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WorkspacesDeleteFuture ¶
type WorkspacesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkspacesClient) (autorest.Response, error) }
WorkspacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkspacesDeleteFuture) UnmarshalJSON ¶
func (future *WorkspacesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WorkspacesUpdateFuture ¶
type WorkspacesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(WorkspacesClient) (Workspace, error) }
WorkspacesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*WorkspacesUpdateFuture) UnmarshalJSON ¶
func (future *WorkspacesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.