synapse

package
v40.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package synapse implements the Azure ARM Synapse service API version 2019-06-01-preview.

Azure Synapse Analytics Management Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Synapse
	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 AadAdminProperties

type AadAdminProperties struct {
	// TenantID - Tenant ID of the workspace active directory administrator
	TenantID *string `json:"tenantId,omitempty"`
	// Login - Login of the workspace active directory administrator
	Login *string `json:"login,omitempty"`
	// AdministratorType - Workspace active directory administrator type
	AdministratorType *string `json:"administratorType,omitempty"`
	// Sid - Object ID of the workspace active directory administrator
	Sid *string `json:"sid,omitempty"`
}

AadAdminProperties workspace active directory administrator properties

type ActualState

type ActualState string

ActualState enumerates the values for actual state.

const (
	// Disabled ...
	Disabled ActualState = "Disabled"
	// Disabling ...
	Disabling ActualState = "Disabling"
	// Enabled ...
	Enabled ActualState = "Enabled"
	// Enabling ...
	Enabling ActualState = "Enabling"
	// Unknown ...
	Unknown ActualState = "Unknown"
)

func PossibleActualStateValues

func PossibleActualStateValues() []ActualState

PossibleActualStateValues returns an array of possible values for the ActualState const type.

type AutoPauseProperties

type AutoPauseProperties struct {
	// DelayInMinutes - Number of minutes of idle time before the Big Data pool is automatically paused.
	DelayInMinutes *int32 `json:"delayInMinutes,omitempty"`
	// Enabled - Whether auto-pausing is enabled for the Big Data pool.
	Enabled *bool `json:"enabled,omitempty"`
}

AutoPauseProperties auto-pausing properties of a Big Data pool powered by Apache Spark

type AutoScaleProperties

type AutoScaleProperties struct {
	// MinNodeCount - The minimum number of nodes the Big Data pool can support.
	MinNodeCount *int32 `json:"minNodeCount,omitempty"`
	// Enabled - Whether automatic scaling is enabled for the Big Data pool.
	Enabled *bool `json:"enabled,omitempty"`
	// MaxNodeCount - The maximum number of nodes the Big Data pool can support.
	MaxNodeCount *int32 `json:"maxNodeCount,omitempty"`
}

AutoScaleProperties auto-scaling properties of a Big Data pool powered by Apache Spark

type AvailableRpOperation

type AvailableRpOperation struct {
	// Display - Display properties of the operation
	Display *AvailableRpOperationDisplayInfo `json:"display,omitempty"`
	// IsDataAction - Whether this operation is a data action
	IsDataAction *string `json:"isDataAction,omitempty"`
	// Name - Operation name
	Name *string `json:"name,omitempty"`
	// OperationMetaPropertyInfo - Operation properties
	*OperationMetaPropertyInfo `json:"properties,omitempty"`
	// Origin - Operation origin
	Origin *string `json:"origin,omitempty"`
}

AvailableRpOperation an operation that is available in this resource provider

func (AvailableRpOperation) MarshalJSON

func (aro AvailableRpOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailableRpOperation.

func (*AvailableRpOperation) UnmarshalJSON

func (aro *AvailableRpOperation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AvailableRpOperation struct.

type AvailableRpOperationDisplayInfo

type AvailableRpOperationDisplayInfo struct {
	// Description - Operation description
	Description *string `json:"description,omitempty"`
	// Resource - Resource type
	Resource *string `json:"resource,omitempty"`
	// Provider - Resource provider name
	Provider *string `json:"provider,omitempty"`
	// Operation - Operation name
	Operation *string `json:"operation,omitempty"`
}

AvailableRpOperationDisplayInfo description of an available operation

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,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"`
}

AzureEntityResource the resource model definition for a Azure Resource Manager resource with an etag.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Synapse.

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 BigDataPoolPatchInfo

type BigDataPoolPatchInfo struct {
	// Tags - Updated tags for the Big Data pool
	Tags map[string]*string `json:"tags"`
}

BigDataPoolPatchInfo properties patch for a Big Data pool

func (BigDataPoolPatchInfo) MarshalJSON

func (bdppi BigDataPoolPatchInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BigDataPoolPatchInfo.

type BigDataPoolResourceInfo

type BigDataPoolResourceInfo struct {
	autorest.Response `json:"-"`
	// BigDataPoolResourceProperties - Big Data pool properties
	*BigDataPoolResourceProperties `json:"properties,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"`
}

BigDataPoolResourceInfo a Big Data pool

func (BigDataPoolResourceInfo) MarshalJSON

func (bdpri BigDataPoolResourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BigDataPoolResourceInfo.

func (*BigDataPoolResourceInfo) UnmarshalJSON

func (bdpri *BigDataPoolResourceInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BigDataPoolResourceInfo struct.

type BigDataPoolResourceInfoListResult

type BigDataPoolResourceInfoListResult struct {
	autorest.Response `json:"-"`
	// NextLink - Link to the next page of results
	NextLink *string `json:"nextLink,omitempty"`
	// Value - List of Big Data pools
	Value *[]BigDataPoolResourceInfo `json:"value,omitempty"`
}

BigDataPoolResourceInfoListResult collection of Big Data pool information

func (BigDataPoolResourceInfoListResult) IsEmpty

func (bdprilr BigDataPoolResourceInfoListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BigDataPoolResourceInfoListResultIterator

type BigDataPoolResourceInfoListResultIterator struct {
	// contains filtered or unexported fields
}

BigDataPoolResourceInfoListResultIterator provides access to a complete listing of BigDataPoolResourceInfo values.

func NewBigDataPoolResourceInfoListResultIterator

func NewBigDataPoolResourceInfoListResultIterator(page BigDataPoolResourceInfoListResultPage) BigDataPoolResourceInfoListResultIterator

Creates a new instance of the BigDataPoolResourceInfoListResultIterator type.

func (*BigDataPoolResourceInfoListResultIterator) Next

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 (*BigDataPoolResourceInfoListResultIterator) NextWithContext

func (iter *BigDataPoolResourceInfoListResultIterator) 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 (BigDataPoolResourceInfoListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (BigDataPoolResourceInfoListResultIterator) Response

Response returns the raw server response from the last page request.

func (BigDataPoolResourceInfoListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BigDataPoolResourceInfoListResultPage

type BigDataPoolResourceInfoListResultPage struct {
	// contains filtered or unexported fields
}

BigDataPoolResourceInfoListResultPage contains a page of BigDataPoolResourceInfo values.

func NewBigDataPoolResourceInfoListResultPage

Creates a new instance of the BigDataPoolResourceInfoListResultPage type.

func (*BigDataPoolResourceInfoListResultPage) Next

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 (*BigDataPoolResourceInfoListResultPage) NextWithContext

func (page *BigDataPoolResourceInfoListResultPage) 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 (BigDataPoolResourceInfoListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BigDataPoolResourceInfoListResultPage) Response

Response returns the raw server response from the last page request.

func (BigDataPoolResourceInfoListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BigDataPoolResourceProperties

type BigDataPoolResourceProperties struct {
	// ProvisioningState - The state of the Big Data pool.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// AutoScale - Auto-scaling properties
	AutoScale *AutoScaleProperties `json:"autoScale,omitempty"`
	// CreationDate - The time when the Big Data pool was created.
	CreationDate *date.Time `json:"creationDate,omitempty"`
	// AutoPause - Auto-pausing properties
	AutoPause *AutoPauseProperties `json:"autoPause,omitempty"`
	// SparkEventsFolder - The Spark events folder
	SparkEventsFolder *string `json:"sparkEventsFolder,omitempty"`
	// NodeCount - The number of nodes in the Big Data pool.
	NodeCount *int32 `json:"nodeCount,omitempty"`
	// LibraryRequirements - Library version requirements
	LibraryRequirements *LibraryRequirements `json:"libraryRequirements,omitempty"`
	// SparkVersion - The Apache Spark version.
	SparkVersion *string `json:"sparkVersion,omitempty"`
	// DefaultSparkLogFolder - The default folder where Spark logs will be written.
	DefaultSparkLogFolder *string `json:"defaultSparkLogFolder,omitempty"`
	// NodeSize - The level of compute power that each node in the Big Data pool has. Possible values include: 'None', 'Small', 'Medium', 'Large'
	NodeSize NodeSize `json:"nodeSize,omitempty"`
	// NodeSizeFamily - The kind of nodes that the Big Data pool provides. Possible values include: 'NodeSizeFamilyNone', 'NodeSizeFamilyMemoryOptimized'
	NodeSizeFamily NodeSizeFamily `json:"nodeSizeFamily,omitempty"`
}

BigDataPoolResourceProperties properties of a Big Data pool powered by Apache Spark

type BigDataPoolsClient

type BigDataPoolsClient struct {
	BaseClient
}

BigDataPoolsClient is the azure Synapse Analytics Management Client

func NewBigDataPoolsClient

func NewBigDataPoolsClient(subscriptionID string) BigDataPoolsClient

NewBigDataPoolsClient creates an instance of the BigDataPoolsClient client.

func NewBigDataPoolsClientWithBaseURI

func NewBigDataPoolsClientWithBaseURI(baseURI string, subscriptionID string) BigDataPoolsClient

NewBigDataPoolsClientWithBaseURI creates an instance of the BigDataPoolsClient 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 (BigDataPoolsClient) CreateOrUpdate

func (client BigDataPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string, bigDataPoolInfo BigDataPoolResourceInfo, force *bool) (result BigDataPoolsCreateOrUpdateFuture, err error)

CreateOrUpdate create a new Big Data pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace bigDataPoolName - big Data pool name bigDataPoolInfo - the Big Data pool to create. force - whether to stop any running jobs in the Big Data pool

func (BigDataPoolsClient) CreateOrUpdatePreparer

func (client BigDataPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string, bigDataPoolInfo BigDataPoolResourceInfo, force *bool) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BigDataPoolsClient) CreateOrUpdateResponder

func (client BigDataPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result BigDataPoolResourceInfo, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BigDataPoolsClient) CreateOrUpdateSender

func (client BigDataPoolsClient) CreateOrUpdateSender(req *http.Request) (future BigDataPoolsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (BigDataPoolsClient) Delete

func (client BigDataPoolsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string) (result BigDataPoolsDeleteFuture, err error)

Delete delete a Big Data pool from the workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace bigDataPoolName - big Data pool name

func (BigDataPoolsClient) DeletePreparer

func (client BigDataPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BigDataPoolsClient) DeleteResponder

func (client BigDataPoolsClient) DeleteResponder(resp *http.Response) (result SetObject, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BigDataPoolsClient) DeleteSender

func (client BigDataPoolsClient) DeleteSender(req *http.Request) (future BigDataPoolsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BigDataPoolsClient) Get

func (client BigDataPoolsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string) (result BigDataPoolResourceInfo, err error)

Get get a Big Data pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace bigDataPoolName - big Data pool name

func (BigDataPoolsClient) GetPreparer

func (client BigDataPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BigDataPoolsClient) GetResponder

func (client BigDataPoolsClient) GetResponder(resp *http.Response) (result BigDataPoolResourceInfo, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BigDataPoolsClient) GetSender

func (client BigDataPoolsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BigDataPoolsClient) ListByWorkspace

func (client BigDataPoolsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result BigDataPoolResourceInfoListResultPage, err error)

ListByWorkspace list Big Data pools in a workspace. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (BigDataPoolsClient) ListByWorkspaceComplete

func (client BigDataPoolsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result BigDataPoolResourceInfoListResultIterator, err error)

ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.

func (BigDataPoolsClient) ListByWorkspacePreparer

func (client BigDataPoolsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (BigDataPoolsClient) ListByWorkspaceResponder

func (client BigDataPoolsClient) ListByWorkspaceResponder(resp *http.Response) (result BigDataPoolResourceInfoListResult, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (BigDataPoolsClient) ListByWorkspaceSender

func (client BigDataPoolsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

func (BigDataPoolsClient) Update

func (client BigDataPoolsClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string, bigDataPoolPatchInfo BigDataPoolPatchInfo) (result BigDataPoolResourceInfo, err error)

Update patch a Big Data pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace bigDataPoolName - big Data pool name bigDataPoolPatchInfo - the updated Big Data pool properties

func (BigDataPoolsClient) UpdatePreparer

func (client BigDataPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, bigDataPoolName string, bigDataPoolPatchInfo BigDataPoolPatchInfo) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BigDataPoolsClient) UpdateResponder

func (client BigDataPoolsClient) UpdateResponder(resp *http.Response) (result BigDataPoolResourceInfo, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BigDataPoolsClient) UpdateSender

func (client BigDataPoolsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BigDataPoolsCreateOrUpdateFuture

type BigDataPoolsCreateOrUpdateFuture struct {
	azure.Future
}

BigDataPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BigDataPoolsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BigDataPoolsDeleteFuture

type BigDataPoolsDeleteFuture struct {
	azure.Future
}

BigDataPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BigDataPoolsDeleteFuture) Result

func (future *BigDataPoolsDeleteFuture) Result(client BigDataPoolsClient) (so SetObject, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BlobAuditingPolicyState

type BlobAuditingPolicyState string

BlobAuditingPolicyState enumerates the values for blob auditing policy state.

const (
	// BlobAuditingPolicyStateDisabled ...
	BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled"
	// BlobAuditingPolicyStateEnabled ...
	BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled"
)

func PossibleBlobAuditingPolicyStateValues

func PossibleBlobAuditingPolicyStateValues() []BlobAuditingPolicyState

PossibleBlobAuditingPolicyStateValues returns an array of possible values for the BlobAuditingPolicyState const type.

type CheckNameAvailabilityRequest

type CheckNameAvailabilityRequest struct {
	// Name - Workspace name
	Name *string `json:"name,omitempty"`
	// Type - Type: workspace
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityRequest a request about whether a workspace name is available

type CheckNameAvailabilityResponse

type CheckNameAvailabilityResponse struct {
	autorest.Response `json:"-"`
	// Message - Validation message
	Message *string `json:"message,omitempty"`
	// Available - Whether the workspace name is available
	Available *bool `json:"available,omitempty"`
	// Reason - Reason the workspace name is or is not available
	Reason *string `json:"reason,omitempty"`
	// Name - Workspace name
	Name *string `json:"name,omitempty"`
}

CheckNameAvailabilityResponse a response saying whether the workspace name is available

type ColumnDataType

type ColumnDataType string

ColumnDataType enumerates the values for column data type.

const (
	// Bigint ...
	Bigint ColumnDataType = "bigint"
	// Binary ...
	Binary ColumnDataType = "binary"
	// Bit ...
	Bit ColumnDataType = "bit"
	// Char ...
	Char ColumnDataType = "char"
	// Date ...
	Date ColumnDataType = "date"
	// Datetime ...
	Datetime ColumnDataType = "datetime"
	// Datetime2 ...
	Datetime2 ColumnDataType = "datetime2"
	// Datetimeoffset ...
	Datetimeoffset ColumnDataType = "datetimeoffset"
	// Decimal ...
	Decimal ColumnDataType = "decimal"
	// Float ...
	Float ColumnDataType = "float"
	// Geography ...
	Geography ColumnDataType = "geography"
	// Geometry ...
	Geometry ColumnDataType = "geometry"
	// Hierarchyid ...
	Hierarchyid ColumnDataType = "hierarchyid"
	// Image ...
	Image ColumnDataType = "image"
	// Int ...
	Int ColumnDataType = "int"
	// Money ...
	Money ColumnDataType = "money"
	// Nchar ...
	Nchar ColumnDataType = "nchar"
	// Ntext ...
	Ntext ColumnDataType = "ntext"
	// Numeric ...
	Numeric ColumnDataType = "numeric"
	// Nvarchar ...
	Nvarchar ColumnDataType = "nvarchar"
	// Real ...
	Real ColumnDataType = "real"
	// Smalldatetime ...
	Smalldatetime ColumnDataType = "smalldatetime"
	// Smallint ...
	Smallint ColumnDataType = "smallint"
	// Smallmoney ...
	Smallmoney ColumnDataType = "smallmoney"
	// SQLVariant ...
	SQLVariant ColumnDataType = "sql_variant"
	// Sysname ...
	Sysname ColumnDataType = "sysname"
	// Text ...
	Text ColumnDataType = "text"
	// Time ...
	Time ColumnDataType = "time"
	// Timestamp ...
	Timestamp ColumnDataType = "timestamp"
	// Tinyint ...
	Tinyint ColumnDataType = "tinyint"
	// Uniqueidentifier ...
	Uniqueidentifier ColumnDataType = "uniqueidentifier"
	// Varbinary ...
	Varbinary ColumnDataType = "varbinary"
	// Varchar ...
	Varchar ColumnDataType = "varchar"
	// XML ...
	XML ColumnDataType = "xml"
)

func PossibleColumnDataTypeValues

func PossibleColumnDataTypeValues() []ColumnDataType

PossibleColumnDataTypeValues returns an array of possible values for the ColumnDataType const type.

type CreateSQLPoolRestorePointDefinition

type CreateSQLPoolRestorePointDefinition struct {
	// RestorePointLabel - The restore point label to apply
	RestorePointLabel *string `json:"restorePointLabel,omitempty"`
}

CreateSQLPoolRestorePointDefinition contains the information necessary to perform a create Sql pool restore point operation.

type DataLakeStorageAccountDetails

type DataLakeStorageAccountDetails struct {
	// AccountURL - Account URL
	AccountURL *string `json:"accountUrl,omitempty"`
	// Filesystem - Filesystem name
	Filesystem *string `json:"filesystem,omitempty"`
}

DataLakeStorageAccountDetails details of the data lake storage account associated with the workspace

type DataWarehouseUserActivities

type DataWarehouseUserActivities struct {
	autorest.Response `json:"-"`
	// DataWarehouseUserActivitiesProperties - Resource properties.
	*DataWarehouseUserActivitiesProperties `json:"properties,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"`
}

DataWarehouseUserActivities user activities of a data warehouse

func (DataWarehouseUserActivities) MarshalJSON

func (dwua DataWarehouseUserActivities) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataWarehouseUserActivities.

func (*DataWarehouseUserActivities) UnmarshalJSON

func (dwua *DataWarehouseUserActivities) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataWarehouseUserActivities struct.

type DataWarehouseUserActivitiesProperties

type DataWarehouseUserActivitiesProperties struct {
	// ActiveQueriesCount - READ-ONLY; Count of running and suspended queries.
	ActiveQueriesCount *int32 `json:"activeQueriesCount,omitempty"`
}

DataWarehouseUserActivitiesProperties user activities of a data warehouse. This currently includes the count of running or suspended queries. For more information, please view the sys.dm_pdw_exec_requests dynamic management view (DMV).

type DesiredState

type DesiredState string

DesiredState enumerates the values for desired state.

const (
	// DesiredStateDisabled ...
	DesiredStateDisabled DesiredState = "Disabled"
	// DesiredStateEnabled ...
	DesiredStateEnabled DesiredState = "Enabled"
)

func PossibleDesiredStateValues

func PossibleDesiredStateValues() []DesiredState

PossibleDesiredStateValues returns an array of possible values for the DesiredState const type.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

type ErrorContract

type ErrorContract struct {
	// Error - The error details.
	Error *ErrorResponse `json:"error,omitempty"`
}

ErrorContract contains details when the response code indicates an error.

type ErrorDetail

type ErrorDetail struct {
	// Message - Error message
	Message *string `json:"message,omitempty"`
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Target - Error target
	Target *string `json:"target,omitempty"`
}

ErrorDetail error details

type ErrorResponse

type ErrorResponse struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorResponse `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorResponse the resource management error response.

type GeoBackupPolicy

type GeoBackupPolicy struct {
	autorest.Response `json:"-"`
	// GeoBackupPolicyProperties - The properties of the geo backup policy.
	*GeoBackupPolicyProperties `json:"properties,omitempty"`
	// Kind - READ-ONLY; Kind of geo backup policy.  This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty"`
	// Location - READ-ONLY; Backup policy location.
	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"`
}

GeoBackupPolicy a database geo backup policy.

func (GeoBackupPolicy) MarshalJSON

func (gbp GeoBackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GeoBackupPolicy.

func (*GeoBackupPolicy) UnmarshalJSON

func (gbp *GeoBackupPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GeoBackupPolicy struct.

type GeoBackupPolicyProperties

type GeoBackupPolicyProperties struct {
	// State - The state of the geo backup policy. Possible values include: 'GeoBackupPolicyStateDisabled', 'GeoBackupPolicyStateEnabled'
	State GeoBackupPolicyState `json:"state,omitempty"`
	// StorageType - READ-ONLY; The storage type of the geo backup policy.
	StorageType *string `json:"storageType,omitempty"`
}

GeoBackupPolicyProperties the properties of the geo backup policy.

type GeoBackupPolicyState

type GeoBackupPolicyState string

GeoBackupPolicyState enumerates the values for geo backup policy state.

const (
	// GeoBackupPolicyStateDisabled ...
	GeoBackupPolicyStateDisabled GeoBackupPolicyState = "Disabled"
	// GeoBackupPolicyStateEnabled ...
	GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled"
)

func PossibleGeoBackupPolicyStateValues

func PossibleGeoBackupPolicyStateValues() []GeoBackupPolicyState

PossibleGeoBackupPolicyStateValues returns an array of possible values for the GeoBackupPolicyState const type.

type IPFirewallRuleInfo

type IPFirewallRuleInfo struct {
	autorest.Response `json:"-"`
	// IPFirewallRuleProperties - IP firewall rule properties
	*IPFirewallRuleProperties `json:"properties,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"`
}

IPFirewallRuleInfo IP firewall rule

func (IPFirewallRuleInfo) MarshalJSON

func (ifri IPFirewallRuleInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IPFirewallRuleInfo.

func (*IPFirewallRuleInfo) UnmarshalJSON

func (ifri *IPFirewallRuleInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IPFirewallRuleInfo struct.

type IPFirewallRuleInfoListResult

type IPFirewallRuleInfoListResult struct {
	autorest.Response `json:"-"`
	// NextLink - Link to next page of results
	NextLink *string `json:"nextLink,omitempty"`
	// Value - List of IP firewall rules
	Value *[]IPFirewallRuleInfo `json:"value,omitempty"`
}

IPFirewallRuleInfoListResult list of IP firewall rules

func (IPFirewallRuleInfoListResult) IsEmpty

func (ifrilr IPFirewallRuleInfoListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IPFirewallRuleInfoListResultIterator

type IPFirewallRuleInfoListResultIterator struct {
	// contains filtered or unexported fields
}

IPFirewallRuleInfoListResultIterator provides access to a complete listing of IPFirewallRuleInfo values.

func NewIPFirewallRuleInfoListResultIterator

func NewIPFirewallRuleInfoListResultIterator(page IPFirewallRuleInfoListResultPage) IPFirewallRuleInfoListResultIterator

Creates a new instance of the IPFirewallRuleInfoListResultIterator type.

func (*IPFirewallRuleInfoListResultIterator) Next

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 (*IPFirewallRuleInfoListResultIterator) NextWithContext

func (iter *IPFirewallRuleInfoListResultIterator) 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 (IPFirewallRuleInfoListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (IPFirewallRuleInfoListResultIterator) Response

Response returns the raw server response from the last page request.

func (IPFirewallRuleInfoListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IPFirewallRuleInfoListResultPage

type IPFirewallRuleInfoListResultPage struct {
	// contains filtered or unexported fields
}

IPFirewallRuleInfoListResultPage contains a page of IPFirewallRuleInfo values.

func NewIPFirewallRuleInfoListResultPage

Creates a new instance of the IPFirewallRuleInfoListResultPage type.

func (*IPFirewallRuleInfoListResultPage) Next

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 (*IPFirewallRuleInfoListResultPage) NextWithContext

func (page *IPFirewallRuleInfoListResultPage) 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 (IPFirewallRuleInfoListResultPage) NotDone

func (page IPFirewallRuleInfoListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IPFirewallRuleInfoListResultPage) Response

Response returns the raw server response from the last page request.

func (IPFirewallRuleInfoListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type IPFirewallRuleProperties

type IPFirewallRuleProperties struct {
	// EndIPAddress - The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress
	EndIPAddress *string `json:"endIpAddress,omitempty"`
	// ProvisioningState - READ-ONLY; Resource provisioning state. Possible values include: 'ProvisioningStateProvisioning', 'ProvisioningStateSucceeded', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateDeleteError'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartIPAddress - The start IP address of the firewall rule. Must be IPv4 format
	StartIPAddress *string `json:"startIpAddress,omitempty"`
}

IPFirewallRuleProperties IP firewall rule properties

type IPFirewallRulesClient

type IPFirewallRulesClient struct {
	BaseClient
}

IPFirewallRulesClient is the azure Synapse Analytics Management Client

func NewIPFirewallRulesClient

func NewIPFirewallRulesClient(subscriptionID string) IPFirewallRulesClient

NewIPFirewallRulesClient creates an instance of the IPFirewallRulesClient client.

func NewIPFirewallRulesClientWithBaseURI

func NewIPFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) IPFirewallRulesClient

NewIPFirewallRulesClientWithBaseURI creates an instance of the IPFirewallRulesClient 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 (IPFirewallRulesClient) CreateOrUpdate

func (client IPFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, ruleName string, IPFirewallRuleInfo IPFirewallRuleInfo) (result IPFirewallRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a firewall rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace ruleName - the IP firewall rule name IPFirewallRuleInfo - IP firewall rule properties

func (IPFirewallRulesClient) CreateOrUpdatePreparer

func (client IPFirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ruleName string, IPFirewallRuleInfo IPFirewallRuleInfo) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IPFirewallRulesClient) CreateOrUpdateResponder

func (client IPFirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result IPFirewallRuleInfo, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (IPFirewallRulesClient) CreateOrUpdateSender

func (client IPFirewallRulesClient) CreateOrUpdateSender(req *http.Request) (future IPFirewallRulesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (IPFirewallRulesClient) Delete

func (client IPFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, ruleName string) (result IPFirewallRulesDeleteFuture, err error)

Delete deletes a firewall rule Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace ruleName - the IP firewall rule name

func (IPFirewallRulesClient) DeletePreparer

func (client IPFirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, ruleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IPFirewallRulesClient) DeleteResponder

func (client IPFirewallRulesClient) DeleteResponder(resp *http.Response) (result SetObject, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (IPFirewallRulesClient) DeleteSender

func (client IPFirewallRulesClient) DeleteSender(req *http.Request) (future IPFirewallRulesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (IPFirewallRulesClient) ListByWorkspace

func (client IPFirewallRulesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result IPFirewallRuleInfoListResultPage, err error)

ListByWorkspace returns a list of firewall rules Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (IPFirewallRulesClient) ListByWorkspaceComplete

func (client IPFirewallRulesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result IPFirewallRuleInfoListResultIterator, err error)

ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.

func (IPFirewallRulesClient) ListByWorkspacePreparer

func (client IPFirewallRulesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (IPFirewallRulesClient) ListByWorkspaceResponder

func (client IPFirewallRulesClient) ListByWorkspaceResponder(resp *http.Response) (result IPFirewallRuleInfoListResult, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (IPFirewallRulesClient) ListByWorkspaceSender

func (client IPFirewallRulesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

func (IPFirewallRulesClient) ReplaceAll

func (client IPFirewallRulesClient) ReplaceAll(ctx context.Context, resourceGroupName string, workspaceName string, request ReplaceAllIPFirewallRulesRequest) (result IPFirewallRulesReplaceAllFuture, err error)

ReplaceAll replaces firewall rules Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace request - replace all IP firewall rules request

func (IPFirewallRulesClient) ReplaceAllPreparer

func (client IPFirewallRulesClient) ReplaceAllPreparer(ctx context.Context, resourceGroupName string, workspaceName string, request ReplaceAllIPFirewallRulesRequest) (*http.Request, error)

ReplaceAllPreparer prepares the ReplaceAll request.

func (IPFirewallRulesClient) ReplaceAllResponder

func (client IPFirewallRulesClient) ReplaceAllResponder(resp *http.Response) (result ReplaceAllFirewallRulesOperationResponse, err error)

ReplaceAllResponder handles the response to the ReplaceAll request. The method always closes the http.Response Body.

func (IPFirewallRulesClient) ReplaceAllSender

func (client IPFirewallRulesClient) ReplaceAllSender(req *http.Request) (future IPFirewallRulesReplaceAllFuture, err error)

ReplaceAllSender sends the ReplaceAll request. The method will close the http.Response Body if it receives an error.

type IPFirewallRulesCreateOrUpdateFuture

type IPFirewallRulesCreateOrUpdateFuture struct {
	azure.Future
}

IPFirewallRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*IPFirewallRulesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type IPFirewallRulesDeleteFuture

type IPFirewallRulesDeleteFuture struct {
	azure.Future
}

IPFirewallRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*IPFirewallRulesDeleteFuture) Result

func (future *IPFirewallRulesDeleteFuture) Result(client IPFirewallRulesClient) (so SetObject, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type IPFirewallRulesReplaceAllFuture

type IPFirewallRulesReplaceAllFuture struct {
	azure.Future
}

IPFirewallRulesReplaceAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*IPFirewallRulesReplaceAllFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LibraryRequirements

type LibraryRequirements struct {
	// Time - READ-ONLY; The last update time of the library requirements file.
	Time *date.Time `json:"time,omitempty"`
	// Content - The library requirements.
	Content *string `json:"content,omitempty"`
	// Filename - The filename of the library requirements file.
	Filename *string `json:"filename,omitempty"`
}

LibraryRequirements library requirements for a Big Data pool powered by Apache Spark

type ListAvailableRpOperation

type ListAvailableRpOperation struct {
	autorest.Response `json:"-"`
	Value             *[]AvailableRpOperation `json:"value,omitempty"`
}

ListAvailableRpOperation ...

type ManagedIdentity

type ManagedIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of the workspace managed identity
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of the workspace managed identity
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The type of managed identity for the workspace. Possible values include: 'ResourceIdentityTypeNone', 'ResourceIdentityTypeSystemAssigned'
	Type ResourceIdentityType `json:"type,omitempty"`
}

ManagedIdentity the workspace managed identity

type ManagedIdentitySQLControlSettingsModel

type ManagedIdentitySQLControlSettingsModel struct {
	autorest.Response `json:"-"`
	// ManagedIdentitySQLControlSettingsModelProperties - Sql Control Settings for workspace managed identity
	*ManagedIdentitySQLControlSettingsModelProperties `json:"properties,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"`
}

ManagedIdentitySQLControlSettingsModel sql Control Settings for workspace managed identity

func (ManagedIdentitySQLControlSettingsModel) MarshalJSON

func (miscsm ManagedIdentitySQLControlSettingsModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedIdentitySQLControlSettingsModel.

func (*ManagedIdentitySQLControlSettingsModel) UnmarshalJSON

func (miscsm *ManagedIdentitySQLControlSettingsModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ManagedIdentitySQLControlSettingsModel struct.

type ManagedIdentitySQLControlSettingsModelProperties

type ManagedIdentitySQLControlSettingsModelProperties struct {
	// GrantSQLControlToManagedIdentity - Grant sql control to managed identity
	GrantSQLControlToManagedIdentity *ManagedIdentitySQLControlSettingsModelPropertiesGrantSQLControlToManagedIdentity `json:"grantSqlControlToManagedIdentity,omitempty"`
}

ManagedIdentitySQLControlSettingsModelProperties sql Control Settings for workspace managed identity

type ManagedIdentitySQLControlSettingsModelPropertiesGrantSQLControlToManagedIdentity

type ManagedIdentitySQLControlSettingsModelPropertiesGrantSQLControlToManagedIdentity struct {
	// DesiredState - Desired state. Possible values include: 'DesiredStateEnabled', 'DesiredStateDisabled'
	DesiredState DesiredState `json:"desiredState,omitempty"`
	// ActualState - READ-ONLY; Actual state. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Unknown'
	ActualState ActualState `json:"actualState,omitempty"`
}

ManagedIdentitySQLControlSettingsModelPropertiesGrantSQLControlToManagedIdentity grant sql control to managed identity

type ManagementOperationState

type ManagementOperationState string

ManagementOperationState enumerates the values for management operation state.

const (
	// CancelInProgress ...
	CancelInProgress ManagementOperationState = "CancelInProgress"
	// Cancelled ...
	Cancelled ManagementOperationState = "Cancelled"
	// Failed ...
	Failed ManagementOperationState = "Failed"
	// InProgress ...
	InProgress ManagementOperationState = "InProgress"
	// Pending ...
	Pending ManagementOperationState = "Pending"
	// Succeeded ...
	Succeeded ManagementOperationState = "Succeeded"
)

func PossibleManagementOperationStateValues

func PossibleManagementOperationStateValues() []ManagementOperationState

PossibleManagementOperationStateValues returns an array of possible values for the ManagementOperationState const type.

type MetadataSyncConfig

type MetadataSyncConfig struct {
	autorest.Response `json:"-"`
	// MetadataSyncConfigProperties - Metadata Sync Config properties
	*MetadataSyncConfigProperties `json:"properties,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"`
}

MetadataSyncConfig configuration for metadata sync

func (MetadataSyncConfig) MarshalJSON

func (msc MetadataSyncConfig) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetadataSyncConfig.

func (*MetadataSyncConfig) UnmarshalJSON

func (msc *MetadataSyncConfig) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetadataSyncConfig struct.

type MetadataSyncConfigProperties

type MetadataSyncConfigProperties struct {
	// Enabled - Indicates whether the metadata sync is enabled or disabled
	Enabled *bool `json:"enabled,omitempty"`
}

MetadataSyncConfigProperties metadata Sync Config properties

type NodeSize

type NodeSize string

NodeSize enumerates the values for node size.

const (
	// Large ...
	Large NodeSize = "Large"
	// Medium ...
	Medium NodeSize = "Medium"
	// None ...
	None NodeSize = "None"
	// Small ...
	Small NodeSize = "Small"
)

func PossibleNodeSizeValues

func PossibleNodeSizeValues() []NodeSize

PossibleNodeSizeValues returns an array of possible values for the NodeSize const type.

type NodeSizeFamily

type NodeSizeFamily string

NodeSizeFamily enumerates the values for node size family.

const (
	// NodeSizeFamilyMemoryOptimized ...
	NodeSizeFamilyMemoryOptimized NodeSizeFamily = "MemoryOptimized"
	// NodeSizeFamilyNone ...
	NodeSizeFamilyNone NodeSizeFamily = "None"
)

func PossibleNodeSizeFamilyValues

func PossibleNodeSizeFamilyValues() []NodeSizeFamily

PossibleNodeSizeFamilyValues returns an array of possible values for the NodeSizeFamily const type.

type OperationMetaLogSpecification

type OperationMetaLogSpecification struct {
	// DisplayName - Log display name
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Time range the log covers
	BlobDuration *string `json:"blobDuration,omitempty"`
	// Name - Log unique name
	Name *string `json:"name,omitempty"`
}

OperationMetaLogSpecification what is this?

type OperationMetaMetricDimensionSpecification

type OperationMetaMetricDimensionSpecification struct {
	// DisplayName - Dimension display name
	DisplayName *string `json:"displayName,omitempty"`
	// Name - Dimension unique name
	Name *string `json:"name,omitempty"`
	// ToBeExportedForShoebox - Whether this metric should be exported for Shoebox
	ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
}

OperationMetaMetricDimensionSpecification what is this?

type OperationMetaMetricSpecification

type OperationMetaMetricSpecification struct {
	// SourceMdmNamespace - The source MDM namespace
	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
	// DisplayName - Metric display name
	DisplayName *string `json:"displayName,omitempty"`
	// Name - Metric unique name
	Name *string `json:"name,omitempty"`
	// AggregationType - Metric aggregation type
	AggregationType *string `json:"aggregationType,omitempty"`
	// DisplayDescription - Metric description
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// SourceMdmAccount - The source MDM account
	SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
	// EnableRegionalMdmAccount - Whether the regional MDM account is enabled
	EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"`
	// Unit - Metric units
	Unit *string `json:"unit,omitempty"`
	// Dimensions - Metric dimensions
	Dimensions *[]OperationMetaMetricDimensionSpecification `json:"dimensions,omitempty"`
	// SupportsInstanceLevelAggregation - Whether the metric supports instance-level aggregation
	SupportsInstanceLevelAggregation *bool `json:"supportsInstanceLevelAggregation,omitempty"`
	// MetricFilterPattern - Metric filter
	MetricFilterPattern *string `json:"metricFilterPattern,omitempty"`
}

OperationMetaMetricSpecification what is this?

type OperationMetaPropertyInfo

type OperationMetaPropertyInfo struct {
	// ServiceSpecification - Operation service specification
	ServiceSpecification *OperationMetaServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationMetaPropertyInfo what is this?

type OperationMetaServiceSpecification

type OperationMetaServiceSpecification struct {
	// MetricSpecifications - Service metric specifications
	MetricSpecifications *[]OperationMetaMetricSpecification `json:"metricSpecifications,omitempty"`
	// LogSpecifications - Service log specifications
	LogSpecifications *[]OperationMetaLogSpecification `json:"logSpecifications,omitempty"`
}

OperationMetaServiceSpecification what is this?

type OperationResource

type OperationResource struct {
	// ID - Operation ID
	ID *string `json:"id,omitempty"`
	// Name - Operation name
	Name *string `json:"name,omitempty"`
	// Status - Operation status. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed', 'OperationStatusCanceled'
	Status OperationStatus `json:"status,omitempty"`
	// Properties - Operation properties
	Properties interface{} `json:"properties,omitempty"`
	// Error - Errors from the operation
	Error *ErrorDetail `json:"error,omitempty"`
	// StartTime - Operation start time
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Operation start time
	EndTime *date.Time `json:"endTime,omitempty"`
	// PercentComplete - Completion percentage of the operation
	PercentComplete *float64 `json:"percentComplete,omitempty"`
}

OperationResource an operation

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// OperationStatusCanceled ...
	OperationStatusCanceled OperationStatus = "Canceled"
	// OperationStatusFailed ...
	OperationStatusFailed OperationStatus = "Failed"
	// OperationStatusInProgress ...
	OperationStatusInProgress OperationStatus = "InProgress"
	// OperationStatusSucceeded ...
	OperationStatusSucceeded OperationStatus = "Succeeded"
)

func PossibleOperationStatusValues

func PossibleOperationStatusValues() []OperationStatus

PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure Synapse Analytics Management Client

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

func (client OperationsClient) CheckNameAvailability(ctx context.Context, request CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailability check whether a workspace name is available Parameters: request - the check request

func (OperationsClient) CheckNameAvailabilityPreparer

func (client OperationsClient) CheckNameAvailabilityPreparer(ctx context.Context, request CheckNameAvailabilityRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (OperationsClient) CheckNameAvailabilityResponder

func (client OperationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (OperationsClient) CheckNameAvailabilitySender

func (client OperationsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (OperationsClient) GetAzureAsyncHeaderResult

func (client OperationsClient) GetAzureAsyncHeaderResult(ctx context.Context, resourceGroupName string, workspaceName string, operationID string) (result SetObject, err error)

GetAzureAsyncHeaderResult get the status of an operation Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace operationID - operation ID

func (OperationsClient) GetAzureAsyncHeaderResultPreparer

func (client OperationsClient) GetAzureAsyncHeaderResultPreparer(ctx context.Context, resourceGroupName string, workspaceName string, operationID string) (*http.Request, error)

GetAzureAsyncHeaderResultPreparer prepares the GetAzureAsyncHeaderResult request.

func (OperationsClient) GetAzureAsyncHeaderResultResponder

func (client OperationsClient) GetAzureAsyncHeaderResultResponder(resp *http.Response) (result SetObject, err error)

GetAzureAsyncHeaderResultResponder handles the response to the GetAzureAsyncHeaderResult request. The method always closes the http.Response Body.

func (OperationsClient) GetAzureAsyncHeaderResultSender

func (client OperationsClient) GetAzureAsyncHeaderResultSender(req *http.Request) (*http.Response, error)

GetAzureAsyncHeaderResultSender sends the GetAzureAsyncHeaderResult request. The method will close the http.Response Body if it receives an error.

func (OperationsClient) GetLocationHeaderResult

func (client OperationsClient) GetLocationHeaderResult(ctx context.Context, resourceGroupName string, workspaceName string, operationID string) (result autorest.Response, err error)

GetLocationHeaderResult get the result of an operation Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace operationID - operation ID

func (OperationsClient) GetLocationHeaderResultPreparer

func (client OperationsClient) GetLocationHeaderResultPreparer(ctx context.Context, resourceGroupName string, workspaceName string, operationID string) (*http.Request, error)

GetLocationHeaderResultPreparer prepares the GetLocationHeaderResult request.

func (OperationsClient) GetLocationHeaderResultResponder

func (client OperationsClient) GetLocationHeaderResultResponder(resp *http.Response) (result autorest.Response, err error)

GetLocationHeaderResultResponder handles the response to the GetLocationHeaderResult request. The method always closes the http.Response Body.

func (OperationsClient) GetLocationHeaderResultSender

func (client OperationsClient) GetLocationHeaderResultSender(req *http.Request) (*http.Response, error)

GetLocationHeaderResultSender sends the GetLocationHeaderResult request. The method will close the http.Response Body if it receives an error.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result ListAvailableRpOperation, err error)

List get all available operations

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result ListAvailableRpOperation, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateDeleteError ...
	ProvisioningStateDeleteError ProvisioningState = "DeleteError"
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateProvisioning ...
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource 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"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type QueryAggregationFunction

type QueryAggregationFunction string

QueryAggregationFunction enumerates the values for query aggregation function.

const (
	// Avg ...
	Avg QueryAggregationFunction = "avg"
	// Max ...
	Max QueryAggregationFunction = "max"
	// Min ...
	Min QueryAggregationFunction = "min"
	// Sum ...
	Sum QueryAggregationFunction = "sum"
)

func PossibleQueryAggregationFunctionValues

func PossibleQueryAggregationFunctionValues() []QueryAggregationFunction

PossibleQueryAggregationFunctionValues returns an array of possible values for the QueryAggregationFunction const type.

type QueryExecutionType

type QueryExecutionType string

QueryExecutionType enumerates the values for query execution type.

const (
	// Aborted ...
	Aborted QueryExecutionType = "aborted"
	// Any ...
	Any QueryExecutionType = "any"
	// Exception ...
	Exception QueryExecutionType = "exception"
	// Irregular ...
	Irregular QueryExecutionType = "irregular"
	// Regular ...
	Regular QueryExecutionType = "regular"
)

func PossibleQueryExecutionTypeValues

func PossibleQueryExecutionTypeValues() []QueryExecutionType

PossibleQueryExecutionTypeValues returns an array of possible values for the QueryExecutionType const type.

type QueryInterval

type QueryInterval struct {
	// IntervalStartTime - READ-ONLY; The start time of the measurement interval (ISO8601 format).
	IntervalStartTime *date.Time `json:"intervalStartTime,omitempty"`
	// ExecutionCount - READ-ONLY; The number of times the query was executed during this interval.
	ExecutionCount *float64 `json:"executionCount,omitempty"`
	// Metrics - READ-ONLY; The list of query metrics during this interval.
	Metrics *[]QueryMetric `json:"metrics,omitempty"`
}

QueryInterval a database query.

type QueryMetric

type QueryMetric struct {
	// Name - READ-ONLY; The name of the metric
	Name *string `json:"name,omitempty"`
	// DisplayName - READ-ONLY; The name of the metric for display in user interface
	DisplayName *string `json:"displayName,omitempty"`
	// Unit - READ-ONLY; The unit of measurement. Possible values include: 'Percentage', 'KB', 'Microseconds'
	Unit QueryMetricUnit `json:"unit,omitempty"`
	// Value - READ-ONLY; The measured value
	Value *float64 `json:"value,omitempty"`
}

QueryMetric a database query.

type QueryMetricUnit

type QueryMetricUnit string

QueryMetricUnit enumerates the values for query metric unit.

const (
	// KB ...
	KB QueryMetricUnit = "KB"
	// Microseconds ...
	Microseconds QueryMetricUnit = "microseconds"
	// Percentage ...
	Percentage QueryMetricUnit = "percentage"
)

func PossibleQueryMetricUnitValues

func PossibleQueryMetricUnitValues() []QueryMetricUnit

PossibleQueryMetricUnitValues returns an array of possible values for the QueryMetricUnit const type.

type QueryObservedMetricType

type QueryObservedMetricType string

QueryObservedMetricType enumerates the values for query observed metric type.

const (
	// CPU ...
	CPU QueryObservedMetricType = "cpu"
	// Duration ...
	Duration QueryObservedMetricType = "duration"
	// ExecutionCount ...
	ExecutionCount QueryObservedMetricType = "executionCount"
	// Io ...
	Io QueryObservedMetricType = "io"
	// Logio ...
	Logio QueryObservedMetricType = "logio"
)

func PossibleQueryObservedMetricTypeValues

func PossibleQueryObservedMetricTypeValues() []QueryObservedMetricType

PossibleQueryObservedMetricTypeValues returns an array of possible values for the QueryObservedMetricType const type.

type QueryStatistic

type QueryStatistic struct {
	// QueryID - READ-ONLY; The id of the query
	QueryID *string `json:"queryId,omitempty"`
	// Intervals - READ-ONLY; The list of query intervals.
	Intervals *[]QueryInterval `json:"intervals,omitempty"`
}

QueryStatistic a database query.

type ReplaceAllFirewallRulesOperationResponse

type ReplaceAllFirewallRulesOperationResponse struct {
	autorest.Response `json:"-"`
	// OperationID - The operation ID
	OperationID *string `json:"operationId,omitempty"`
}

ReplaceAllFirewallRulesOperationResponse an existing operation for replacing the firewall rules

type ReplaceAllIPFirewallRulesRequest

type ReplaceAllIPFirewallRulesRequest struct {
	// IPFirewallRules - IP firewall rule properties
	IPFirewallRules map[string]*IPFirewallRuleProperties `json:"ipFirewallRules"`
}

ReplaceAllIPFirewallRulesRequest replace all IP firewall rules request

func (ReplaceAllIPFirewallRulesRequest) MarshalJSON

func (raifrr ReplaceAllIPFirewallRulesRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplaceAllIPFirewallRulesRequest.

type ReplicationLink struct {
	// Location - READ-ONLY; Location of the workspace that contains this firewall rule.
	Location *string `json:"location,omitempty"`
	// ReplicationLinkProperties - The properties representing the resource.
	*ReplicationLinkProperties `json:"properties,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"`
}

ReplicationLink represents a Sql pool replication link.

func (ReplicationLink) MarshalJSON

func (rl ReplicationLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicationLink.

func (*ReplicationLink) UnmarshalJSON

func (rl *ReplicationLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReplicationLink struct.

type ReplicationLinkListResult

type ReplicationLinkListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of Sql pool replication links housed in the Sql pool.
	Value *[]ReplicationLink `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ReplicationLinkListResult represents the response to a List Sql pool replication link request.

func (ReplicationLinkListResult) IsEmpty

func (rllr ReplicationLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ReplicationLinkListResultIterator

type ReplicationLinkListResultIterator struct {
	// contains filtered or unexported fields
}

ReplicationLinkListResultIterator provides access to a complete listing of ReplicationLink values.

func NewReplicationLinkListResultIterator

func NewReplicationLinkListResultIterator(page ReplicationLinkListResultPage) ReplicationLinkListResultIterator

Creates a new instance of the ReplicationLinkListResultIterator type.

func (*ReplicationLinkListResultIterator) Next

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 (*ReplicationLinkListResultIterator) NextWithContext

func (iter *ReplicationLinkListResultIterator) 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 (ReplicationLinkListResultIterator) NotDone

func (iter ReplicationLinkListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ReplicationLinkListResultIterator) Response

Response returns the raw server response from the last page request.

func (ReplicationLinkListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ReplicationLinkListResultPage

type ReplicationLinkListResultPage struct {
	// contains filtered or unexported fields
}

ReplicationLinkListResultPage contains a page of ReplicationLink values.

func NewReplicationLinkListResultPage

func NewReplicationLinkListResultPage(getNextPage func(context.Context, ReplicationLinkListResult) (ReplicationLinkListResult, error)) ReplicationLinkListResultPage

Creates a new instance of the ReplicationLinkListResultPage type.

func (*ReplicationLinkListResultPage) Next

func (page *ReplicationLinkListResultPage) 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 (*ReplicationLinkListResultPage) NextWithContext

func (page *ReplicationLinkListResultPage) 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 (ReplicationLinkListResultPage) NotDone

func (page ReplicationLinkListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ReplicationLinkListResultPage) Response

Response returns the raw server response from the last page request.

func (ReplicationLinkListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ReplicationLinkProperties

type ReplicationLinkProperties struct {
	// IsTerminationAllowed - READ-ONLY; Legacy value indicating whether termination is allowed.  Currently always returns true.
	IsTerminationAllowed *bool `json:"isTerminationAllowed,omitempty"`
	// ReplicationMode - READ-ONLY; Replication mode of this replication link.
	ReplicationMode *string `json:"replicationMode,omitempty"`
	// PartnerServer - READ-ONLY; The name of the workspace hosting the partner Sql pool.
	PartnerServer *string `json:"partnerServer,omitempty"`
	// PartnerDatabase - READ-ONLY; The name of the partner Sql pool.
	PartnerDatabase *string `json:"partnerDatabase,omitempty"`
	// PartnerLocation - READ-ONLY; The Azure Region of the partner Sql pool.
	PartnerLocation *string `json:"partnerLocation,omitempty"`
	// Role - READ-ONLY; The role of the Sql pool in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
	Role ReplicationRole `json:"role,omitempty"`
	// PartnerRole - READ-ONLY; The role of the partner Sql pool in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
	PartnerRole ReplicationRole `json:"partnerRole,omitempty"`
	// StartTime - READ-ONLY; The start time for the replication link.
	StartTime *date.Time `json:"startTime,omitempty"`
	// PercentComplete - READ-ONLY; The percentage of seeding complete for the replication link.
	PercentComplete *int32 `json:"percentComplete,omitempty"`
	// ReplicationState - READ-ONLY; The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCHUP', 'SUSPENDED'
	ReplicationState ReplicationState `json:"replicationState,omitempty"`
}

ReplicationLinkProperties represents the properties of a Sql pool replication link.

type ReplicationRole

type ReplicationRole string

ReplicationRole enumerates the values for replication role.

const (
	// Copy ...
	Copy ReplicationRole = "Copy"
	// NonReadableSecondary ...
	NonReadableSecondary ReplicationRole = "NonReadableSecondary"
	// Primary ...
	Primary ReplicationRole = "Primary"
	// Secondary ...
	Secondary ReplicationRole = "Secondary"
	// Source ...
	Source ReplicationRole = "Source"
)

func PossibleReplicationRoleValues

func PossibleReplicationRoleValues() []ReplicationRole

PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type.

type ReplicationState

type ReplicationState string

ReplicationState enumerates the values for replication state.

const (
	// CATCHUP ...
	CATCHUP ReplicationState = "CATCH_UP"
	// PENDING ...
	PENDING ReplicationState = "PENDING"
	// SEEDING ...
	SEEDING ReplicationState = "SEEDING"
	// SUSPENDED ...
	SUSPENDED ReplicationState = "SUSPENDED"
)

func PossibleReplicationStateValues

func PossibleReplicationStateValues() []ReplicationState

PossibleReplicationStateValues returns an array of possible values for the ReplicationState 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 ...

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// ResourceIdentityTypeNone ...
	ResourceIdentityTypeNone ResourceIdentityType = "None"
	// ResourceIdentityTypeSystemAssigned ...
	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceMoveDefinition

type ResourceMoveDefinition struct {
	// ID - The target ID for the resource
	ID *string `json:"id,omitempty"`
}

ResourceMoveDefinition contains the information necessary to perform a resource move (rename).

type RestorePoint

type RestorePoint struct {
	autorest.Response `json:"-"`
	// Location - READ-ONLY; Resource location.
	Location *string `json:"location,omitempty"`
	// RestorePointProperties - Resource properties.
	*RestorePointProperties `json:"properties,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"`
}

RestorePoint database restore points.

func (RestorePoint) MarshalJSON

func (rp RestorePoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePoint.

func (*RestorePoint) UnmarshalJSON

func (rp *RestorePoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RestorePoint struct.

type RestorePointListResult

type RestorePointListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]RestorePoint `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RestorePointListResult a list of long term retention backups.

func (RestorePointListResult) IsEmpty

func (rplr RestorePointListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RestorePointListResultIterator

type RestorePointListResultIterator struct {
	// contains filtered or unexported fields
}

RestorePointListResultIterator provides access to a complete listing of RestorePoint values.

func NewRestorePointListResultIterator

func NewRestorePointListResultIterator(page RestorePointListResultPage) RestorePointListResultIterator

Creates a new instance of the RestorePointListResultIterator type.

func (*RestorePointListResultIterator) Next

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 (*RestorePointListResultIterator) NextWithContext

func (iter *RestorePointListResultIterator) 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 (RestorePointListResultIterator) NotDone

func (iter RestorePointListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RestorePointListResultIterator) Response

Response returns the raw server response from the last page request.

func (RestorePointListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RestorePointListResultPage

type RestorePointListResultPage struct {
	// contains filtered or unexported fields
}

RestorePointListResultPage contains a page of RestorePoint values.

func NewRestorePointListResultPage

func NewRestorePointListResultPage(getNextPage func(context.Context, RestorePointListResult) (RestorePointListResult, error)) RestorePointListResultPage

Creates a new instance of the RestorePointListResultPage type.

func (*RestorePointListResultPage) Next

func (page *RestorePointListResultPage) 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 (*RestorePointListResultPage) NextWithContext

func (page *RestorePointListResultPage) 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 (RestorePointListResultPage) NotDone

func (page RestorePointListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RestorePointListResultPage) Response

Response returns the raw server response from the last page request.

func (RestorePointListResultPage) Values

func (page RestorePointListResultPage) Values() []RestorePoint

Values returns the slice of values for the current page or nil if there are no values.

type RestorePointProperties

type RestorePointProperties struct {
	// RestorePointType - READ-ONLY; The type of restore point. Possible values include: 'CONTINUOUS', 'DISCRETE'
	RestorePointType RestorePointType `json:"restorePointType,omitempty"`
	// EarliestRestoreDate - READ-ONLY; The earliest time to which this database can be restored
	EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"`
	// RestorePointCreationDate - READ-ONLY; The time the backup was taken
	RestorePointCreationDate *date.Time `json:"restorePointCreationDate,omitempty"`
	// RestorePointLabel - READ-ONLY; The label of restore point for backup request by user
	RestorePointLabel *string `json:"restorePointLabel,omitempty"`
}

RestorePointProperties properties of a database restore point

type RestorePointType

type RestorePointType string

RestorePointType enumerates the values for restore point type.

const (
	// CONTINUOUS ...
	CONTINUOUS RestorePointType = "CONTINUOUS"
	// DISCRETE ...
	DISCRETE RestorePointType = "DISCRETE"
)

func PossibleRestorePointTypeValues

func PossibleRestorePointTypeValues() []RestorePointType

PossibleRestorePointTypeValues returns an array of possible values for the RestorePointType const type.

type SQLPool

type SQLPool struct {
	autorest.Response `json:"-"`
	// Sku - SQL pool SKU
	Sku *Sku `json:"sku,omitempty"`
	// SQLPoolResourceProperties - SQL pool properties
	*SQLPoolResourceProperties `json:"properties,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"`
}

SQLPool a SQL Analytics pool

func (SQLPool) MarshalJSON

func (sp SQLPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPool.

func (*SQLPool) UnmarshalJSON

func (sp *SQLPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPool struct.

type SQLPoolBlobAuditingPoliciesClient

type SQLPoolBlobAuditingPoliciesClient struct {
	BaseClient
}

SQLPoolBlobAuditingPoliciesClient is the azure Synapse Analytics Management Client

func NewSQLPoolBlobAuditingPoliciesClient

func NewSQLPoolBlobAuditingPoliciesClient(subscriptionID string) SQLPoolBlobAuditingPoliciesClient

NewSQLPoolBlobAuditingPoliciesClient creates an instance of the SQLPoolBlobAuditingPoliciesClient client.

func NewSQLPoolBlobAuditingPoliciesClientWithBaseURI

func NewSQLPoolBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolBlobAuditingPoliciesClient

NewSQLPoolBlobAuditingPoliciesClientWithBaseURI creates an instance of the SQLPoolBlobAuditingPoliciesClient 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 (SQLPoolBlobAuditingPoliciesClient) CreateOrUpdate

func (client SQLPoolBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters SQLPoolBlobAuditingPolicy) (result SQLPoolBlobAuditingPolicy, err error)

CreateOrUpdate creates or updates a SQL pool's blob auditing policy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name parameters - the database blob auditing policy.

func (SQLPoolBlobAuditingPoliciesClient) CreateOrUpdatePreparer

func (client SQLPoolBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters SQLPoolBlobAuditingPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLPoolBlobAuditingPoliciesClient) CreateOrUpdateResponder

func (client SQLPoolBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result SQLPoolBlobAuditingPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLPoolBlobAuditingPoliciesClient) CreateOrUpdateSender

func (client SQLPoolBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLPoolBlobAuditingPoliciesClient) Get

func (client SQLPoolBlobAuditingPoliciesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolBlobAuditingPolicy, err error)

Get get a SQL pool's blob auditing policy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolBlobAuditingPoliciesClient) GetPreparer

func (client SQLPoolBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolBlobAuditingPoliciesClient) GetResponder

func (client SQLPoolBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result SQLPoolBlobAuditingPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolBlobAuditingPoliciesClient) GetSender

func (client SQLPoolBlobAuditingPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolBlobAuditingPolicy

type SQLPoolBlobAuditingPolicy struct {
	autorest.Response `json:"-"`
	// Kind - READ-ONLY; Resource kind.
	Kind *string `json:"kind,omitempty"`
	// SQLPoolBlobAuditingPolicyProperties - Resource properties.
	*SQLPoolBlobAuditingPolicyProperties `json:"properties,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"`
}

SQLPoolBlobAuditingPolicy a Sql pool blob auditing policy.

func (SQLPoolBlobAuditingPolicy) MarshalJSON

func (spbap SQLPoolBlobAuditingPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolBlobAuditingPolicy.

func (*SQLPoolBlobAuditingPolicy) UnmarshalJSON

func (spbap *SQLPoolBlobAuditingPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolBlobAuditingPolicy struct.

type SQLPoolBlobAuditingPolicyProperties

type SQLPoolBlobAuditingPolicyProperties struct {
	// State - Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. Possible values include: 'BlobAuditingPolicyStateEnabled', 'BlobAuditingPolicyStateDisabled'
	State BlobAuditingPolicyState `json:"state,omitempty"`
	// StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint is required.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`
	// StorageAccountAccessKey - Specifies the identifier key of the auditing storage account. If state is Enabled and storageEndpoint is specified, storageAccountAccessKey is required.
	StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"`
	// RetentionDays - Specifies the number of days to keep in the audit logs in the storage account.
	RetentionDays *int32 `json:"retentionDays,omitempty"`
	// AuditActionsAndGroups - Specifies the Actions-Groups and Actions to audit.
	//
	// The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:
	//
	// BATCH_COMPLETED_GROUP,
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,
	// FAILED_DATABASE_AUTHENTICATION_GROUP.
	//
	// This above combination is also the set that is configured by default when enabling auditing from the Azure portal.
	//
	// The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):
	//
	// APPLICATION_ROLE_CHANGE_PASSWORD_GROUP
	// BACKUP_RESTORE_GROUP
	// DATABASE_LOGOUT_GROUP
	// DATABASE_OBJECT_CHANGE_GROUP
	// DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP
	// DATABASE_OBJECT_PERMISSION_CHANGE_GROUP
	// DATABASE_OPERATION_GROUP
	// DATABASE_PERMISSION_CHANGE_GROUP
	// DATABASE_PRINCIPAL_CHANGE_GROUP
	// DATABASE_PRINCIPAL_IMPERSONATION_GROUP
	// DATABASE_ROLE_MEMBER_CHANGE_GROUP
	// FAILED_DATABASE_AUTHENTICATION_GROUP
	// SCHEMA_OBJECT_ACCESS_GROUP
	// SCHEMA_OBJECT_CHANGE_GROUP
	// SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP
	// SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP
	// SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP
	// USER_CHANGE_PASSWORD_GROUP
	// BATCH_STARTED_GROUP
	// BATCH_COMPLETED_GROUP
	//
	// These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.
	//
	// For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).
	//
	// For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:
	// SELECT
	// UPDATE
	// INSERT
	// DELETE
	// EXECUTE
	// RECEIVE
	// REFERENCES
	//
	// The general form for defining an action to be audited is:
	// {action} ON {object} BY {principal}
	//
	// Note that <object> in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.
	//
	// For example:
	// SELECT on dbo.myTable by public
	// SELECT on DATABASE::myDatabase by public
	// SELECT on SCHEMA::mySchema by public
	//
	// For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)
	AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"`
	// StorageAccountSubscriptionID - Specifies the blob storage subscription Id.
	StorageAccountSubscriptionID *uuid.UUID `json:"storageAccountSubscriptionId,omitempty"`
	// IsStorageSecondaryKeyInUse - Specifies whether storageAccountAccessKey value is the storage's secondary key.
	IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"`
	// IsAzureMonitorTargetEnabled - Specifies whether audit events are sent to Azure Monitor.
	// In order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.
	//
	// When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.
	// Note that for server level audit you should use the 'master' database as {databaseName}.
	//
	// Diagnostic Settings URI format:
	// PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview
	//
	// For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)
	// or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)
	IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"`
}

SQLPoolBlobAuditingPolicyProperties properties of a Sql pool blob auditing policy.

type SQLPoolBlobAuditingPolicySQLPoolOperationListResult

type SQLPoolBlobAuditingPolicySQLPoolOperationListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]SQLPoolOperation `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SQLPoolBlobAuditingPolicySQLPoolOperationListResult the response to a list Sql pool operations request

func (SQLPoolBlobAuditingPolicySQLPoolOperationListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator

type SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator provides access to a complete listing of SQLPoolOperation values.

func NewSQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator

func NewSQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator(page SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage) SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator

Creates a new instance of the SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator type.

func (*SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator) Next

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 (*SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator) NextWithContext

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 (SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage

type SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage contains a page of SQLPoolOperation values.

func NewSQLPoolBlobAuditingPolicySQLPoolOperationListResultPage

Creates a new instance of the SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage type.

func (*SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage) Next

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 (*SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage) NextWithContext

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 (SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolColumn

type SQLPoolColumn struct {
	// SQLPoolColumnProperties - Resource properties.
	*SQLPoolColumnProperties `json:"properties,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"`
}

SQLPoolColumn a Sql pool column resource.

func (SQLPoolColumn) MarshalJSON

func (spc SQLPoolColumn) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolColumn.

func (*SQLPoolColumn) UnmarshalJSON

func (spc *SQLPoolColumn) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolColumn struct.

type SQLPoolColumnListResult

type SQLPoolColumnListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]SQLPoolColumn `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SQLPoolColumnListResult a list of Sql pool columns.

func (SQLPoolColumnListResult) IsEmpty

func (spclr SQLPoolColumnListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLPoolColumnListResultIterator

type SQLPoolColumnListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolColumnListResultIterator provides access to a complete listing of SQLPoolColumn values.

func NewSQLPoolColumnListResultIterator

func NewSQLPoolColumnListResultIterator(page SQLPoolColumnListResultPage) SQLPoolColumnListResultIterator

Creates a new instance of the SQLPoolColumnListResultIterator type.

func (*SQLPoolColumnListResultIterator) Next

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 (*SQLPoolColumnListResultIterator) NextWithContext

func (iter *SQLPoolColumnListResultIterator) 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 (SQLPoolColumnListResultIterator) NotDone

func (iter SQLPoolColumnListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolColumnListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolColumnListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolColumnListResultPage

type SQLPoolColumnListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolColumnListResultPage contains a page of SQLPoolColumn values.

func NewSQLPoolColumnListResultPage

func NewSQLPoolColumnListResultPage(getNextPage func(context.Context, SQLPoolColumnListResult) (SQLPoolColumnListResult, error)) SQLPoolColumnListResultPage

Creates a new instance of the SQLPoolColumnListResultPage type.

func (*SQLPoolColumnListResultPage) Next

func (page *SQLPoolColumnListResultPage) 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 (*SQLPoolColumnListResultPage) NextWithContext

func (page *SQLPoolColumnListResultPage) 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 (SQLPoolColumnListResultPage) NotDone

func (page SQLPoolColumnListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolColumnListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolColumnListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolColumnProperties

type SQLPoolColumnProperties struct {
	// ColumnType - The column data type. Possible values include: 'Image', 'Text', 'Uniqueidentifier', 'Date', 'Time', 'Datetime2', 'Datetimeoffset', 'Tinyint', 'Smallint', 'Int', 'Smalldatetime', 'Real', 'Money', 'Datetime', 'Float', 'SQLVariant', 'Ntext', 'Bit', 'Decimal', 'Numeric', 'Smallmoney', 'Bigint', 'Hierarchyid', 'Geometry', 'Geography', 'Varbinary', 'Varchar', 'Binary', 'Char', 'Timestamp', 'Nvarchar', 'Nchar', 'XML', 'Sysname'
	ColumnType ColumnDataType `json:"columnType,omitempty"`
}

SQLPoolColumnProperties sql pool column properties.

type SQLPoolConnectionPoliciesClient

type SQLPoolConnectionPoliciesClient struct {
	BaseClient
}

SQLPoolConnectionPoliciesClient is the azure Synapse Analytics Management Client

func NewSQLPoolConnectionPoliciesClient

func NewSQLPoolConnectionPoliciesClient(subscriptionID string) SQLPoolConnectionPoliciesClient

NewSQLPoolConnectionPoliciesClient creates an instance of the SQLPoolConnectionPoliciesClient client.

func NewSQLPoolConnectionPoliciesClientWithBaseURI

func NewSQLPoolConnectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolConnectionPoliciesClient

NewSQLPoolConnectionPoliciesClientWithBaseURI creates an instance of the SQLPoolConnectionPoliciesClient 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 (SQLPoolConnectionPoliciesClient) Get

func (client SQLPoolConnectionPoliciesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolConnectionPolicy, err error)

Get get a Sql pool's connection policy, which is used with table auditing. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolConnectionPoliciesClient) GetPreparer

func (client SQLPoolConnectionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolConnectionPoliciesClient) GetResponder

func (client SQLPoolConnectionPoliciesClient) GetResponder(resp *http.Response) (result SQLPoolConnectionPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolConnectionPoliciesClient) GetSender

func (client SQLPoolConnectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolConnectionPolicy

type SQLPoolConnectionPolicy struct {
	autorest.Response `json:"-"`
	// Kind - READ-ONLY; Resource kind.
	Kind *string `json:"kind,omitempty"`
	// Location - READ-ONLY; Resource location.
	Location *string `json:"location,omitempty"`
	// SQLPoolConnectionPolicyProperties - Resource properties.
	*SQLPoolConnectionPolicyProperties `json:"properties,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"`
}

SQLPoolConnectionPolicy a Sql pool connection policy.

func (SQLPoolConnectionPolicy) MarshalJSON

func (spcp SQLPoolConnectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolConnectionPolicy.

func (*SQLPoolConnectionPolicy) UnmarshalJSON

func (spcp *SQLPoolConnectionPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolConnectionPolicy struct.

type SQLPoolConnectionPolicyProperties

type SQLPoolConnectionPolicyProperties struct {
	// SecurityEnabledAccess - The state of security access.
	SecurityEnabledAccess *string `json:"securityEnabledAccess,omitempty"`
	// ProxyDNSName - The fully qualified host name of the auditing proxy.
	ProxyDNSName *string `json:"proxyDnsName,omitempty"`
	// ProxyPort - The port number of the auditing proxy.
	ProxyPort *string `json:"proxyPort,omitempty"`
	// Visibility - The visibility of the auditing proxy.
	Visibility *string `json:"visibility,omitempty"`
	// UseServerDefault - Whether server default is enabled or disabled.
	UseServerDefault *string `json:"useServerDefault,omitempty"`
	// RedirectionState - The state of proxy redirection.
	RedirectionState *string `json:"redirectionState,omitempty"`
	// State - The connection policy state.
	State *string `json:"state,omitempty"`
}

SQLPoolConnectionPolicyProperties properties of a Sql pool connection policy.

type SQLPoolDataWarehouseUserActivitiesClient

type SQLPoolDataWarehouseUserActivitiesClient struct {
	BaseClient
}

SQLPoolDataWarehouseUserActivitiesClient is the azure Synapse Analytics Management Client

func NewSQLPoolDataWarehouseUserActivitiesClient

func NewSQLPoolDataWarehouseUserActivitiesClient(subscriptionID string) SQLPoolDataWarehouseUserActivitiesClient

NewSQLPoolDataWarehouseUserActivitiesClient creates an instance of the SQLPoolDataWarehouseUserActivitiesClient client.

func NewSQLPoolDataWarehouseUserActivitiesClientWithBaseURI

func NewSQLPoolDataWarehouseUserActivitiesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolDataWarehouseUserActivitiesClient

NewSQLPoolDataWarehouseUserActivitiesClientWithBaseURI creates an instance of the SQLPoolDataWarehouseUserActivitiesClient 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 (SQLPoolDataWarehouseUserActivitiesClient) Get

func (client SQLPoolDataWarehouseUserActivitiesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result DataWarehouseUserActivities, err error)

Get gets the user activities of a SQL pool which includes running and suspended queries Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolDataWarehouseUserActivitiesClient) GetPreparer

func (client SQLPoolDataWarehouseUserActivitiesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolDataWarehouseUserActivitiesClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolDataWarehouseUserActivitiesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolGeoBackupPoliciesClient

type SQLPoolGeoBackupPoliciesClient struct {
	BaseClient
}

SQLPoolGeoBackupPoliciesClient is the azure Synapse Analytics Management Client

func NewSQLPoolGeoBackupPoliciesClient

func NewSQLPoolGeoBackupPoliciesClient(subscriptionID string) SQLPoolGeoBackupPoliciesClient

NewSQLPoolGeoBackupPoliciesClient creates an instance of the SQLPoolGeoBackupPoliciesClient client.

func NewSQLPoolGeoBackupPoliciesClientWithBaseURI

func NewSQLPoolGeoBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolGeoBackupPoliciesClient

NewSQLPoolGeoBackupPoliciesClientWithBaseURI creates an instance of the SQLPoolGeoBackupPoliciesClient 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 (SQLPoolGeoBackupPoliciesClient) Get

func (client SQLPoolGeoBackupPoliciesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result GeoBackupPolicy, err error)

Get get the specified SQL pool geo backup policy Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolGeoBackupPoliciesClient) GetPreparer

func (client SQLPoolGeoBackupPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolGeoBackupPoliciesClient) GetResponder

func (client SQLPoolGeoBackupPoliciesClient) GetResponder(resp *http.Response) (result GeoBackupPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolGeoBackupPoliciesClient) GetSender

func (client SQLPoolGeoBackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolInfoListResult

type SQLPoolInfoListResult struct {
	autorest.Response `json:"-"`
	// NextLink - Link to the next page of results
	NextLink *string `json:"nextLink,omitempty"`
	// Value - List of SQL pools
	Value *[]SQLPool `json:"value,omitempty"`
}

SQLPoolInfoListResult list of SQL pools

func (SQLPoolInfoListResult) IsEmpty

func (spilr SQLPoolInfoListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLPoolInfoListResultIterator

type SQLPoolInfoListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolInfoListResultIterator provides access to a complete listing of SQLPool values.

func NewSQLPoolInfoListResultIterator

func NewSQLPoolInfoListResultIterator(page SQLPoolInfoListResultPage) SQLPoolInfoListResultIterator

Creates a new instance of the SQLPoolInfoListResultIterator type.

func (*SQLPoolInfoListResultIterator) Next

func (iter *SQLPoolInfoListResultIterator) 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 (*SQLPoolInfoListResultIterator) NextWithContext

func (iter *SQLPoolInfoListResultIterator) 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 (SQLPoolInfoListResultIterator) NotDone

func (iter SQLPoolInfoListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolInfoListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolInfoListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolInfoListResultPage

type SQLPoolInfoListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolInfoListResultPage contains a page of SQLPool values.

func NewSQLPoolInfoListResultPage

func NewSQLPoolInfoListResultPage(getNextPage func(context.Context, SQLPoolInfoListResult) (SQLPoolInfoListResult, error)) SQLPoolInfoListResultPage

Creates a new instance of the SQLPoolInfoListResultPage type.

func (*SQLPoolInfoListResultPage) Next

func (page *SQLPoolInfoListResultPage) 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 (*SQLPoolInfoListResultPage) NextWithContext

func (page *SQLPoolInfoListResultPage) 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 (SQLPoolInfoListResultPage) NotDone

func (page SQLPoolInfoListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolInfoListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolInfoListResultPage) Values

func (page SQLPoolInfoListResultPage) Values() []SQLPool

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolMetadataSyncConfigsClient

type SQLPoolMetadataSyncConfigsClient struct {
	BaseClient
}

SQLPoolMetadataSyncConfigsClient is the azure Synapse Analytics Management Client

func NewSQLPoolMetadataSyncConfigsClient

func NewSQLPoolMetadataSyncConfigsClient(subscriptionID string) SQLPoolMetadataSyncConfigsClient

NewSQLPoolMetadataSyncConfigsClient creates an instance of the SQLPoolMetadataSyncConfigsClient client.

func NewSQLPoolMetadataSyncConfigsClientWithBaseURI

func NewSQLPoolMetadataSyncConfigsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolMetadataSyncConfigsClient

NewSQLPoolMetadataSyncConfigsClientWithBaseURI creates an instance of the SQLPoolMetadataSyncConfigsClient 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 (SQLPoolMetadataSyncConfigsClient) Create

func (client SQLPoolMetadataSyncConfigsClient) Create(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, metadataSyncConfiguration MetadataSyncConfig) (result MetadataSyncConfig, err error)

Create set the metadata sync configuration for a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name metadataSyncConfiguration - metadata sync configuration

func (SQLPoolMetadataSyncConfigsClient) CreatePreparer

func (client SQLPoolMetadataSyncConfigsClient) CreatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, metadataSyncConfiguration MetadataSyncConfig) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SQLPoolMetadataSyncConfigsClient) CreateResponder

func (client SQLPoolMetadataSyncConfigsClient) CreateResponder(resp *http.Response) (result MetadataSyncConfig, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SQLPoolMetadataSyncConfigsClient) CreateSender

func (client SQLPoolMetadataSyncConfigsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SQLPoolMetadataSyncConfigsClient) Get

func (client SQLPoolMetadataSyncConfigsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result MetadataSyncConfig, err error)

Get get the metadata sync configuration for a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolMetadataSyncConfigsClient) GetPreparer

func (client SQLPoolMetadataSyncConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolMetadataSyncConfigsClient) GetResponder

func (client SQLPoolMetadataSyncConfigsClient) GetResponder(resp *http.Response) (result MetadataSyncConfig, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolMetadataSyncConfigsClient) GetSender

func (client SQLPoolMetadataSyncConfigsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolOperation

type SQLPoolOperation struct {
	// SQLPoolOperationProperties - Resource properties.
	*SQLPoolOperationProperties `json:"properties,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"`
}

SQLPoolOperation a Sql pool operation.

func (SQLPoolOperation) MarshalJSON

func (spo SQLPoolOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolOperation.

func (*SQLPoolOperation) UnmarshalJSON

func (spo *SQLPoolOperation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolOperation struct.

type SQLPoolOperationProperties

type SQLPoolOperationProperties struct {
	// DatabaseName - READ-ONLY; The name of the Sql pool the operation is being performed on.
	DatabaseName *string `json:"databaseName,omitempty"`
	// Operation - READ-ONLY; The name of operation.
	Operation *string `json:"operation,omitempty"`
	// OperationFriendlyName - READ-ONLY; The friendly name of operation.
	OperationFriendlyName *string `json:"operationFriendlyName,omitempty"`
	// PercentComplete - READ-ONLY; The percentage of the operation completed.
	PercentComplete *int32 `json:"percentComplete,omitempty"`
	// ServerName - READ-ONLY; The name of the server.
	ServerName *string `json:"serverName,omitempty"`
	// StartTime - READ-ONLY; The operation start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// State - READ-ONLY; The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', 'Cancelled'
	State ManagementOperationState `json:"state,omitempty"`
	// ErrorCode - READ-ONLY; The operation error code.
	ErrorCode *int32 `json:"errorCode,omitempty"`
	// ErrorDescription - READ-ONLY; The operation error description.
	ErrorDescription *string `json:"errorDescription,omitempty"`
	// ErrorSeverity - READ-ONLY; The operation error severity.
	ErrorSeverity *int32 `json:"errorSeverity,omitempty"`
	// IsUserError - READ-ONLY; Whether or not the error is a user error.
	IsUserError *bool `json:"isUserError,omitempty"`
	// EstimatedCompletionTime - READ-ONLY; The estimated completion time of the operation.
	EstimatedCompletionTime *date.Time `json:"estimatedCompletionTime,omitempty"`
	// Description - READ-ONLY; The operation description.
	Description *string `json:"description,omitempty"`
	// IsCancellable - READ-ONLY; Whether the operation can be cancelled.
	IsCancellable *bool `json:"isCancellable,omitempty"`
}

SQLPoolOperationProperties the properties of a Sql pool operation.

type SQLPoolOperationResultsClient

type SQLPoolOperationResultsClient struct {
	BaseClient
}

SQLPoolOperationResultsClient is the azure Synapse Analytics Management Client

func NewSQLPoolOperationResultsClient

func NewSQLPoolOperationResultsClient(subscriptionID string) SQLPoolOperationResultsClient

NewSQLPoolOperationResultsClient creates an instance of the SQLPoolOperationResultsClient client.

func NewSQLPoolOperationResultsClientWithBaseURI

func NewSQLPoolOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolOperationResultsClient

NewSQLPoolOperationResultsClientWithBaseURI creates an instance of the SQLPoolOperationResultsClient 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 (SQLPoolOperationResultsClient) GetLocationHeaderResult

func (client SQLPoolOperationResultsClient) GetLocationHeaderResult(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, operationID string) (result SetObject, err error)

GetLocationHeaderResult get the status of a SQL pool operation Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name operationID - operation ID

func (SQLPoolOperationResultsClient) GetLocationHeaderResultPreparer

func (client SQLPoolOperationResultsClient) GetLocationHeaderResultPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, operationID string) (*http.Request, error)

GetLocationHeaderResultPreparer prepares the GetLocationHeaderResult request.

func (SQLPoolOperationResultsClient) GetLocationHeaderResultResponder

func (client SQLPoolOperationResultsClient) GetLocationHeaderResultResponder(resp *http.Response) (result SetObject, err error)

GetLocationHeaderResultResponder handles the response to the GetLocationHeaderResult request. The method always closes the http.Response Body.

func (SQLPoolOperationResultsClient) GetLocationHeaderResultSender

func (client SQLPoolOperationResultsClient) GetLocationHeaderResultSender(req *http.Request) (*http.Response, error)

GetLocationHeaderResultSender sends the GetLocationHeaderResult request. The method will close the http.Response Body if it receives an error.

type SQLPoolOperationsClient

type SQLPoolOperationsClient struct {
	BaseClient
}

SQLPoolOperationsClient is the azure Synapse Analytics Management Client

func NewSQLPoolOperationsClient

func NewSQLPoolOperationsClient(subscriptionID string) SQLPoolOperationsClient

NewSQLPoolOperationsClient creates an instance of the SQLPoolOperationsClient client.

func NewSQLPoolOperationsClientWithBaseURI

func NewSQLPoolOperationsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolOperationsClient

NewSQLPoolOperationsClientWithBaseURI creates an instance of the SQLPoolOperationsClient 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 (SQLPoolOperationsClient) List

func (client SQLPoolOperationsClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolBlobAuditingPolicySQLPoolOperationListResultPage, err error)

List gets a list of operations performed on the SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolOperationsClient) ListComplete

func (client SQLPoolOperationsClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolBlobAuditingPolicySQLPoolOperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolOperationsClient) ListPreparer

func (client SQLPoolOperationsClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolOperationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolOperationsClient) ListSender

func (client SQLPoolOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolPatchInfo

type SQLPoolPatchInfo struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// Sku - SQL pool SKU
	Sku *Sku `json:"sku,omitempty"`
	// SQLPoolResourceProperties - SQL pool properties
	*SQLPoolResourceProperties `json:"properties,omitempty"`
}

SQLPoolPatchInfo a SQL Analytics pool patch info

func (SQLPoolPatchInfo) MarshalJSON

func (sppi SQLPoolPatchInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolPatchInfo.

func (*SQLPoolPatchInfo) UnmarshalJSON

func (sppi *SQLPoolPatchInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolPatchInfo struct.

type SQLPoolReplicationLinksClient

type SQLPoolReplicationLinksClient struct {
	BaseClient
}

SQLPoolReplicationLinksClient is the azure Synapse Analytics Management Client

func NewSQLPoolReplicationLinksClient

func NewSQLPoolReplicationLinksClient(subscriptionID string) SQLPoolReplicationLinksClient

NewSQLPoolReplicationLinksClient creates an instance of the SQLPoolReplicationLinksClient client.

func NewSQLPoolReplicationLinksClientWithBaseURI

func NewSQLPoolReplicationLinksClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolReplicationLinksClient

NewSQLPoolReplicationLinksClientWithBaseURI creates an instance of the SQLPoolReplicationLinksClient 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 (SQLPoolReplicationLinksClient) List

func (client SQLPoolReplicationLinksClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result ReplicationLinkListResultPage, err error)

List lists a Sql pool's replication links. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolReplicationLinksClient) ListComplete

func (client SQLPoolReplicationLinksClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result ReplicationLinkListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolReplicationLinksClient) ListPreparer

func (client SQLPoolReplicationLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolReplicationLinksClient) ListResponder

func (client SQLPoolReplicationLinksClient) ListResponder(resp *http.Response) (result ReplicationLinkListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolReplicationLinksClient) ListSender

func (client SQLPoolReplicationLinksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolResourceProperties

type SQLPoolResourceProperties struct {
	// MaxSizeBytes - Maximum size in bytes
	MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty"`
	// Collation - Collation mode
	Collation *string `json:"collation,omitempty"`
	// SourceDatabaseID - Source database to create from
	SourceDatabaseID *string `json:"sourceDatabaseId,omitempty"`
	// RecoverableDatabaseID - Backup database to restore from
	RecoverableDatabaseID *string `json:"recoverableDatabaseId,omitempty"`
	// ProvisioningState - Resource state
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Status - Resource status
	Status *string `json:"status,omitempty"`
	// RestorePointInTime - Snapshot time to restore
	RestorePointInTime *date.Time `json:"restorePointInTime,omitempty"`
	// CreateMode - What is this?
	CreateMode *string `json:"createMode,omitempty"`
	// CreationDate - Date the SQL pool was created
	CreationDate *date.Time `json:"creationDate,omitempty"`
}

SQLPoolResourceProperties properties of a SQL Analytics pool

type SQLPoolRestorePointsClient

type SQLPoolRestorePointsClient struct {
	BaseClient
}

SQLPoolRestorePointsClient is the azure Synapse Analytics Management Client

func NewSQLPoolRestorePointsClient

func NewSQLPoolRestorePointsClient(subscriptionID string) SQLPoolRestorePointsClient

NewSQLPoolRestorePointsClient creates an instance of the SQLPoolRestorePointsClient client.

func NewSQLPoolRestorePointsClientWithBaseURI

func NewSQLPoolRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolRestorePointsClient

NewSQLPoolRestorePointsClientWithBaseURI creates an instance of the SQLPoolRestorePointsClient 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 (SQLPoolRestorePointsClient) Create

func (client SQLPoolRestorePointsClient) Create(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters CreateSQLPoolRestorePointDefinition) (result SQLPoolRestorePointsCreateFuture, err error)

Create creates a restore point for a data warehouse. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name parameters - the definition for creating the restore point of this Sql pool.

func (SQLPoolRestorePointsClient) CreatePreparer

func (client SQLPoolRestorePointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters CreateSQLPoolRestorePointDefinition) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SQLPoolRestorePointsClient) CreateResponder

func (client SQLPoolRestorePointsClient) CreateResponder(resp *http.Response) (result RestorePoint, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SQLPoolRestorePointsClient) CreateSender

func (client SQLPoolRestorePointsClient) CreateSender(req *http.Request) (future SQLPoolRestorePointsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SQLPoolRestorePointsClient) List

func (client SQLPoolRestorePointsClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result RestorePointListResultPage, err error)

List get SQL pool backup information Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolRestorePointsClient) ListComplete

func (client SQLPoolRestorePointsClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result RestorePointListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolRestorePointsClient) ListPreparer

func (client SQLPoolRestorePointsClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolRestorePointsClient) ListResponder

func (client SQLPoolRestorePointsClient) ListResponder(resp *http.Response) (result RestorePointListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolRestorePointsClient) ListSender

func (client SQLPoolRestorePointsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolRestorePointsCreateFuture

type SQLPoolRestorePointsCreateFuture struct {
	azure.Future
}

SQLPoolRestorePointsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SQLPoolRestorePointsCreateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SQLPoolSchema

type SQLPoolSchema 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"`
}

SQLPoolSchema a Sql pool schema resource.

type SQLPoolSchemaListResult

type SQLPoolSchemaListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]SQLPoolSchema `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SQLPoolSchemaListResult a list of Sql pool schemas.

func (SQLPoolSchemaListResult) IsEmpty

func (spslr SQLPoolSchemaListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLPoolSchemaListResultIterator

type SQLPoolSchemaListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolSchemaListResultIterator provides access to a complete listing of SQLPoolSchema values.

func NewSQLPoolSchemaListResultIterator

func NewSQLPoolSchemaListResultIterator(page SQLPoolSchemaListResultPage) SQLPoolSchemaListResultIterator

Creates a new instance of the SQLPoolSchemaListResultIterator type.

func (*SQLPoolSchemaListResultIterator) Next

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 (*SQLPoolSchemaListResultIterator) NextWithContext

func (iter *SQLPoolSchemaListResultIterator) 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 (SQLPoolSchemaListResultIterator) NotDone

func (iter SQLPoolSchemaListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolSchemaListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolSchemaListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolSchemaListResultPage

type SQLPoolSchemaListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolSchemaListResultPage contains a page of SQLPoolSchema values.

func NewSQLPoolSchemaListResultPage

func NewSQLPoolSchemaListResultPage(getNextPage func(context.Context, SQLPoolSchemaListResult) (SQLPoolSchemaListResult, error)) SQLPoolSchemaListResultPage

Creates a new instance of the SQLPoolSchemaListResultPage type.

func (*SQLPoolSchemaListResultPage) Next

func (page *SQLPoolSchemaListResultPage) 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 (*SQLPoolSchemaListResultPage) NextWithContext

func (page *SQLPoolSchemaListResultPage) 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 (SQLPoolSchemaListResultPage) NotDone

func (page SQLPoolSchemaListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolSchemaListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolSchemaListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolSchemasClient

type SQLPoolSchemasClient struct {
	BaseClient
}

SQLPoolSchemasClient is the azure Synapse Analytics Management Client

func NewSQLPoolSchemasClient

func NewSQLPoolSchemasClient(subscriptionID string) SQLPoolSchemasClient

NewSQLPoolSchemasClient creates an instance of the SQLPoolSchemasClient client.

func NewSQLPoolSchemasClientWithBaseURI

func NewSQLPoolSchemasClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolSchemasClient

NewSQLPoolSchemasClientWithBaseURI creates an instance of the SQLPoolSchemasClient 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 (SQLPoolSchemasClient) List

func (client SQLPoolSchemasClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, filter string) (result SQLPoolSchemaListResultPage, err error)

List gets schemas of a given SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name filter - an OData filter expression that filters elements in the collection.

func (SQLPoolSchemasClient) ListComplete

func (client SQLPoolSchemasClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, filter string) (result SQLPoolSchemaListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolSchemasClient) ListPreparer

func (client SQLPoolSchemasClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolSchemasClient) ListResponder

func (client SQLPoolSchemasClient) ListResponder(resp *http.Response) (result SQLPoolSchemaListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolSchemasClient) ListSender

func (client SQLPoolSchemasClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolSecurityAlertPoliciesClient

type SQLPoolSecurityAlertPoliciesClient struct {
	BaseClient
}

SQLPoolSecurityAlertPoliciesClient is the azure Synapse Analytics Management Client

func NewSQLPoolSecurityAlertPoliciesClient

func NewSQLPoolSecurityAlertPoliciesClient(subscriptionID string) SQLPoolSecurityAlertPoliciesClient

NewSQLPoolSecurityAlertPoliciesClient creates an instance of the SQLPoolSecurityAlertPoliciesClient client.

func NewSQLPoolSecurityAlertPoliciesClientWithBaseURI

func NewSQLPoolSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolSecurityAlertPoliciesClient

NewSQLPoolSecurityAlertPoliciesClientWithBaseURI creates an instance of the SQLPoolSecurityAlertPoliciesClient 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 (SQLPoolSecurityAlertPoliciesClient) CreateOrUpdate

func (client SQLPoolSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters SQLPoolSecurityAlertPolicy) (result SQLPoolSecurityAlertPolicy, err error)

CreateOrUpdate create or update a Sql pool's security alert policy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name parameters - the Sql pool security alert policy.

func (SQLPoolSecurityAlertPoliciesClient) CreateOrUpdatePreparer

func (client SQLPoolSecurityAlertPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters SQLPoolSecurityAlertPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLPoolSecurityAlertPoliciesClient) CreateOrUpdateResponder

func (client SQLPoolSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result SQLPoolSecurityAlertPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLPoolSecurityAlertPoliciesClient) CreateOrUpdateSender

func (client SQLPoolSecurityAlertPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLPoolSecurityAlertPoliciesClient) Get

func (client SQLPoolSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolSecurityAlertPolicy, err error)

Get get a Sql pool's security alert policy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolSecurityAlertPoliciesClient) GetPreparer

func (client SQLPoolSecurityAlertPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolSecurityAlertPoliciesClient) GetResponder

func (client SQLPoolSecurityAlertPoliciesClient) GetResponder(resp *http.Response) (result SQLPoolSecurityAlertPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolSecurityAlertPoliciesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolSecurityAlertPolicy

type SQLPoolSecurityAlertPolicy struct {
	autorest.Response `json:"-"`
	// SecurityAlertPolicyProperties - Resource properties.
	*SecurityAlertPolicyProperties `json:"properties,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"`
}

SQLPoolSecurityAlertPolicy a Sql pool security alert policy.

func (SQLPoolSecurityAlertPolicy) MarshalJSON

func (spsap SQLPoolSecurityAlertPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolSecurityAlertPolicy.

func (*SQLPoolSecurityAlertPolicy) UnmarshalJSON

func (spsap *SQLPoolSecurityAlertPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolSecurityAlertPolicy struct.

type SQLPoolSensitivityLabelsClient

type SQLPoolSensitivityLabelsClient struct {
	BaseClient
}

SQLPoolSensitivityLabelsClient is the azure Synapse Analytics Management Client

func NewSQLPoolSensitivityLabelsClient

func NewSQLPoolSensitivityLabelsClient(subscriptionID string) SQLPoolSensitivityLabelsClient

NewSQLPoolSensitivityLabelsClient creates an instance of the SQLPoolSensitivityLabelsClient client.

func NewSQLPoolSensitivityLabelsClientWithBaseURI

func NewSQLPoolSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolSensitivityLabelsClient

NewSQLPoolSensitivityLabelsClientWithBaseURI creates an instance of the SQLPoolSensitivityLabelsClient 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 (SQLPoolSensitivityLabelsClient) CreateOrUpdate

func (client SQLPoolSensitivityLabelsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string, parameters SensitivityLabel) (result SensitivityLabel, err error)

CreateOrUpdate creates or updates the sensitivity label of a given column in a Sql pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column. parameters - the column sensitivity label resource.

func (SQLPoolSensitivityLabelsClient) CreateOrUpdatePreparer

func (client SQLPoolSensitivityLabelsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string, parameters SensitivityLabel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLPoolSensitivityLabelsClient) CreateOrUpdateResponder

func (client SQLPoolSensitivityLabelsClient) CreateOrUpdateResponder(resp *http.Response) (result SensitivityLabel, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLPoolSensitivityLabelsClient) CreateOrUpdateSender

func (client SQLPoolSensitivityLabelsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLPoolSensitivityLabelsClient) Delete

func (client SQLPoolSensitivityLabelsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)

Delete deletes the sensitivity label of a given column in a Sql pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.

func (SQLPoolSensitivityLabelsClient) DeletePreparer

func (client SQLPoolSensitivityLabelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLPoolSensitivityLabelsClient) DeleteResponder

func (client SQLPoolSensitivityLabelsClient) 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 (SQLPoolSensitivityLabelsClient) DeleteSender

func (client SQLPoolSensitivityLabelsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLPoolSensitivityLabelsClient) DisableRecommendation

func (client SQLPoolSensitivityLabelsClient) DisableRecommendation(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)

DisableRecommendation disables sensitivity recommendations on a given column Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.

func (SQLPoolSensitivityLabelsClient) DisableRecommendationPreparer

func (client SQLPoolSensitivityLabelsClient) DisableRecommendationPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string) (*http.Request, error)

DisableRecommendationPreparer prepares the DisableRecommendation request.

func (SQLPoolSensitivityLabelsClient) DisableRecommendationResponder

func (client SQLPoolSensitivityLabelsClient) DisableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)

DisableRecommendationResponder handles the response to the DisableRecommendation request. The method always closes the http.Response Body.

func (SQLPoolSensitivityLabelsClient) DisableRecommendationSender

func (client SQLPoolSensitivityLabelsClient) DisableRecommendationSender(req *http.Request) (*http.Response, error)

DisableRecommendationSender sends the DisableRecommendation request. The method will close the http.Response Body if it receives an error.

func (SQLPoolSensitivityLabelsClient) EnableRecommendation

func (client SQLPoolSensitivityLabelsClient) EnableRecommendation(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string) (result autorest.Response, err error)

EnableRecommendation enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns) Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name schemaName - the name of the schema. tableName - the name of the table. columnName - the name of the column.

func (SQLPoolSensitivityLabelsClient) EnableRecommendationPreparer

func (client SQLPoolSensitivityLabelsClient) EnableRecommendationPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, columnName string) (*http.Request, error)

EnableRecommendationPreparer prepares the EnableRecommendation request.

func (SQLPoolSensitivityLabelsClient) EnableRecommendationResponder

func (client SQLPoolSensitivityLabelsClient) EnableRecommendationResponder(resp *http.Response) (result autorest.Response, err error)

EnableRecommendationResponder handles the response to the EnableRecommendation request. The method always closes the http.Response Body.

func (SQLPoolSensitivityLabelsClient) EnableRecommendationSender

func (client SQLPoolSensitivityLabelsClient) EnableRecommendationSender(req *http.Request) (*http.Response, error)

EnableRecommendationSender sends the EnableRecommendation request. The method will close the http.Response Body if it receives an error.

func (SQLPoolSensitivityLabelsClient) ListCurrent

func (client SQLPoolSensitivityLabelsClient) ListCurrent(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, filter string) (result SensitivityLabelListResultPage, err error)

ListCurrent gets SQL pool sensitivity labels. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name filter - an OData filter expression that filters elements in the collection.

func (SQLPoolSensitivityLabelsClient) ListCurrentComplete

func (client SQLPoolSensitivityLabelsClient) ListCurrentComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, filter string) (result SensitivityLabelListResultIterator, err error)

ListCurrentComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolSensitivityLabelsClient) ListCurrentPreparer

func (client SQLPoolSensitivityLabelsClient) ListCurrentPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, filter string) (*http.Request, error)

ListCurrentPreparer prepares the ListCurrent request.

func (SQLPoolSensitivityLabelsClient) ListCurrentResponder

func (client SQLPoolSensitivityLabelsClient) ListCurrentResponder(resp *http.Response) (result SensitivityLabelListResult, err error)

ListCurrentResponder handles the response to the ListCurrent request. The method always closes the http.Response Body.

func (SQLPoolSensitivityLabelsClient) ListCurrentSender

func (client SQLPoolSensitivityLabelsClient) ListCurrentSender(req *http.Request) (*http.Response, error)

ListCurrentSender sends the ListCurrent request. The method will close the http.Response Body if it receives an error.

func (SQLPoolSensitivityLabelsClient) ListRecommended

func (client SQLPoolSensitivityLabelsClient) ListRecommended(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, includeDisabledRecommendations *bool, skipToken string, filter string) (result SensitivityLabelListResultPage, err error)

ListRecommended gets sensitivity labels of a given SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name includeDisabledRecommendations - specifies whether to include disabled recommendations or not. skipToken - an OData query option to indicate how many elements to skip in the collection. filter - an OData filter expression that filters elements in the collection.

func (SQLPoolSensitivityLabelsClient) ListRecommendedComplete

func (client SQLPoolSensitivityLabelsClient) ListRecommendedComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, includeDisabledRecommendations *bool, skipToken string, filter string) (result SensitivityLabelListResultIterator, err error)

ListRecommendedComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolSensitivityLabelsClient) ListRecommendedPreparer

func (client SQLPoolSensitivityLabelsClient) ListRecommendedPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, includeDisabledRecommendations *bool, skipToken string, filter string) (*http.Request, error)

ListRecommendedPreparer prepares the ListRecommended request.

func (SQLPoolSensitivityLabelsClient) ListRecommendedResponder

func (client SQLPoolSensitivityLabelsClient) ListRecommendedResponder(resp *http.Response) (result SensitivityLabelListResult, err error)

ListRecommendedResponder handles the response to the ListRecommended request. The method always closes the http.Response Body.

func (SQLPoolSensitivityLabelsClient) ListRecommendedSender

func (client SQLPoolSensitivityLabelsClient) ListRecommendedSender(req *http.Request) (*http.Response, error)

ListRecommendedSender sends the ListRecommended request. The method will close the http.Response Body if it receives an error.

type SQLPoolTable

type SQLPoolTable 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"`
}

SQLPoolTable a Sql pool table resource.

type SQLPoolTableColumnsClient

type SQLPoolTableColumnsClient struct {
	BaseClient
}

SQLPoolTableColumnsClient is the azure Synapse Analytics Management Client

func NewSQLPoolTableColumnsClient

func NewSQLPoolTableColumnsClient(subscriptionID string) SQLPoolTableColumnsClient

NewSQLPoolTableColumnsClient creates an instance of the SQLPoolTableColumnsClient client.

func NewSQLPoolTableColumnsClientWithBaseURI

func NewSQLPoolTableColumnsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolTableColumnsClient

NewSQLPoolTableColumnsClientWithBaseURI creates an instance of the SQLPoolTableColumnsClient 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 (SQLPoolTableColumnsClient) ListByTableName

func (client SQLPoolTableColumnsClient) ListByTableName(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, filter string) (result SQLPoolColumnListResultPage, err error)

ListByTableName gets columns in a given table in a SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name schemaName - the name of the schema. tableName - the name of the table. filter - an OData filter expression that filters elements in the collection.

func (SQLPoolTableColumnsClient) ListByTableNameComplete

func (client SQLPoolTableColumnsClient) ListByTableNameComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, filter string) (result SQLPoolColumnListResultIterator, err error)

ListByTableNameComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolTableColumnsClient) ListByTableNamePreparer

func (client SQLPoolTableColumnsClient) ListByTableNamePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, tableName string, filter string) (*http.Request, error)

ListByTableNamePreparer prepares the ListByTableName request.

func (SQLPoolTableColumnsClient) ListByTableNameResponder

func (client SQLPoolTableColumnsClient) ListByTableNameResponder(resp *http.Response) (result SQLPoolColumnListResult, err error)

ListByTableNameResponder handles the response to the ListByTableName request. The method always closes the http.Response Body.

func (SQLPoolTableColumnsClient) ListByTableNameSender

func (client SQLPoolTableColumnsClient) ListByTableNameSender(req *http.Request) (*http.Response, error)

ListByTableNameSender sends the ListByTableName request. The method will close the http.Response Body if it receives an error.

type SQLPoolTableListResult

type SQLPoolTableListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]SQLPoolTable `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SQLPoolTableListResult a list of Sql pool tables.

func (SQLPoolTableListResult) IsEmpty

func (sptlr SQLPoolTableListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLPoolTableListResultIterator

type SQLPoolTableListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolTableListResultIterator provides access to a complete listing of SQLPoolTable values.

func NewSQLPoolTableListResultIterator

func NewSQLPoolTableListResultIterator(page SQLPoolTableListResultPage) SQLPoolTableListResultIterator

Creates a new instance of the SQLPoolTableListResultIterator type.

func (*SQLPoolTableListResultIterator) Next

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 (*SQLPoolTableListResultIterator) NextWithContext

func (iter *SQLPoolTableListResultIterator) 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 (SQLPoolTableListResultIterator) NotDone

func (iter SQLPoolTableListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolTableListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolTableListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolTableListResultPage

type SQLPoolTableListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolTableListResultPage contains a page of SQLPoolTable values.

func NewSQLPoolTableListResultPage

func NewSQLPoolTableListResultPage(getNextPage func(context.Context, SQLPoolTableListResult) (SQLPoolTableListResult, error)) SQLPoolTableListResultPage

Creates a new instance of the SQLPoolTableListResultPage type.

func (*SQLPoolTableListResultPage) Next

func (page *SQLPoolTableListResultPage) 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 (*SQLPoolTableListResultPage) NextWithContext

func (page *SQLPoolTableListResultPage) 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 (SQLPoolTableListResultPage) NotDone

func (page SQLPoolTableListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolTableListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolTableListResultPage) Values

func (page SQLPoolTableListResultPage) Values() []SQLPoolTable

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolTablesClient

type SQLPoolTablesClient struct {
	BaseClient
}

SQLPoolTablesClient is the azure Synapse Analytics Management Client

func NewSQLPoolTablesClient

func NewSQLPoolTablesClient(subscriptionID string) SQLPoolTablesClient

NewSQLPoolTablesClient creates an instance of the SQLPoolTablesClient client.

func NewSQLPoolTablesClientWithBaseURI

func NewSQLPoolTablesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolTablesClient

NewSQLPoolTablesClientWithBaseURI creates an instance of the SQLPoolTablesClient 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 (SQLPoolTablesClient) ListBySchema

func (client SQLPoolTablesClient) ListBySchema(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, filter string) (result SQLPoolTableListResultPage, err error)

ListBySchema gets tables of a given schema in a SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name schemaName - the name of the schema. filter - an OData filter expression that filters elements in the collection.

func (SQLPoolTablesClient) ListBySchemaComplete

func (client SQLPoolTablesClient) ListBySchemaComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, filter string) (result SQLPoolTableListResultIterator, err error)

ListBySchemaComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolTablesClient) ListBySchemaPreparer

func (client SQLPoolTablesClient) ListBySchemaPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, schemaName string, filter string) (*http.Request, error)

ListBySchemaPreparer prepares the ListBySchema request.

func (SQLPoolTablesClient) ListBySchemaResponder

func (client SQLPoolTablesClient) ListBySchemaResponder(resp *http.Response) (result SQLPoolTableListResult, err error)

ListBySchemaResponder handles the response to the ListBySchema request. The method always closes the http.Response Body.

func (SQLPoolTablesClient) ListBySchemaSender

func (client SQLPoolTablesClient) ListBySchemaSender(req *http.Request) (*http.Response, error)

ListBySchemaSender sends the ListBySchema request. The method will close the http.Response Body if it receives an error.

type SQLPoolTransparentDataEncryptionsClient

type SQLPoolTransparentDataEncryptionsClient struct {
	BaseClient
}

SQLPoolTransparentDataEncryptionsClient is the azure Synapse Analytics Management Client

func NewSQLPoolTransparentDataEncryptionsClient

func NewSQLPoolTransparentDataEncryptionsClient(subscriptionID string) SQLPoolTransparentDataEncryptionsClient

NewSQLPoolTransparentDataEncryptionsClient creates an instance of the SQLPoolTransparentDataEncryptionsClient client.

func NewSQLPoolTransparentDataEncryptionsClientWithBaseURI

func NewSQLPoolTransparentDataEncryptionsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolTransparentDataEncryptionsClient

NewSQLPoolTransparentDataEncryptionsClientWithBaseURI creates an instance of the SQLPoolTransparentDataEncryptionsClient 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 (SQLPoolTransparentDataEncryptionsClient) CreateOrUpdate

func (client SQLPoolTransparentDataEncryptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters TransparentDataEncryption) (result TransparentDataEncryption, err error)

CreateOrUpdate creates or updates a Sql pool's transparent data encryption configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name parameters - the required parameters for creating or updating transparent data encryption.

func (SQLPoolTransparentDataEncryptionsClient) CreateOrUpdatePreparer

func (client SQLPoolTransparentDataEncryptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters TransparentDataEncryption) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLPoolTransparentDataEncryptionsClient) CreateOrUpdateResponder

func (client SQLPoolTransparentDataEncryptionsClient) CreateOrUpdateResponder(resp *http.Response) (result TransparentDataEncryption, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLPoolTransparentDataEncryptionsClient) CreateOrUpdateSender

func (client SQLPoolTransparentDataEncryptionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLPoolTransparentDataEncryptionsClient) Get

func (client SQLPoolTransparentDataEncryptionsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result TransparentDataEncryption, err error)

Get get a SQL pool's transparent data encryption configuration. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolTransparentDataEncryptionsClient) GetPreparer

func (client SQLPoolTransparentDataEncryptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolTransparentDataEncryptionsClient) GetResponder

func (client SQLPoolTransparentDataEncryptionsClient) GetResponder(resp *http.Response) (result TransparentDataEncryption, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolTransparentDataEncryptionsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type SQLPoolUsage

type SQLPoolUsage struct {
	// Name - READ-ONLY; The name of the usage metric.
	Name *string `json:"name,omitempty"`
	// ResourceName - READ-ONLY; The name of the resource.
	ResourceName *string `json:"resourceName,omitempty"`
	// DisplayName - READ-ONLY; The usage metric display name.
	DisplayName *string `json:"displayName,omitempty"`
	// CurrentValue - READ-ONLY; The current value of the usage metric.
	CurrentValue *float64 `json:"currentValue,omitempty"`
	// Limit - READ-ONLY; The current limit of the usage metric.
	Limit *float64 `json:"limit,omitempty"`
	// Unit - READ-ONLY; The units of the usage metric.
	Unit *string `json:"unit,omitempty"`
	// NextResetTime - READ-ONLY; The next reset time for the usage metric (ISO8601 format).
	NextResetTime *date.Time `json:"nextResetTime,omitempty"`
}

SQLPoolUsage the Sql pool usages.

type SQLPoolUsageListResult

type SQLPoolUsageListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of usages for the Sql pool.
	Value *[]SQLPoolUsage `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SQLPoolUsageListResult the response to a list Sql pool usages request.

func (SQLPoolUsageListResult) IsEmpty

func (spulr SQLPoolUsageListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLPoolUsageListResultIterator

type SQLPoolUsageListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolUsageListResultIterator provides access to a complete listing of SQLPoolUsage values.

func NewSQLPoolUsageListResultIterator

func NewSQLPoolUsageListResultIterator(page SQLPoolUsageListResultPage) SQLPoolUsageListResultIterator

Creates a new instance of the SQLPoolUsageListResultIterator type.

func (*SQLPoolUsageListResultIterator) Next

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 (*SQLPoolUsageListResultIterator) NextWithContext

func (iter *SQLPoolUsageListResultIterator) 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 (SQLPoolUsageListResultIterator) NotDone

func (iter SQLPoolUsageListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolUsageListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolUsageListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolUsageListResultPage

type SQLPoolUsageListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolUsageListResultPage contains a page of SQLPoolUsage values.

func NewSQLPoolUsageListResultPage

func NewSQLPoolUsageListResultPage(getNextPage func(context.Context, SQLPoolUsageListResult) (SQLPoolUsageListResult, error)) SQLPoolUsageListResultPage

Creates a new instance of the SQLPoolUsageListResultPage type.

func (*SQLPoolUsageListResultPage) Next

func (page *SQLPoolUsageListResultPage) 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 (*SQLPoolUsageListResultPage) NextWithContext

func (page *SQLPoolUsageListResultPage) 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 (SQLPoolUsageListResultPage) NotDone

func (page SQLPoolUsageListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolUsageListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolUsageListResultPage) Values

func (page SQLPoolUsageListResultPage) Values() []SQLPoolUsage

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolUsagesClient

type SQLPoolUsagesClient struct {
	BaseClient
}

SQLPoolUsagesClient is the azure Synapse Analytics Management Client

func NewSQLPoolUsagesClient

func NewSQLPoolUsagesClient(subscriptionID string) SQLPoolUsagesClient

NewSQLPoolUsagesClient creates an instance of the SQLPoolUsagesClient client.

func NewSQLPoolUsagesClientWithBaseURI

func NewSQLPoolUsagesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolUsagesClient

NewSQLPoolUsagesClientWithBaseURI creates an instance of the SQLPoolUsagesClient 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 (SQLPoolUsagesClient) List

func (client SQLPoolUsagesClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolUsageListResultPage, err error)

List gets SQL pool usages. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolUsagesClient) ListComplete

func (client SQLPoolUsagesClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolUsageListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolUsagesClient) ListPreparer

func (client SQLPoolUsagesClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolUsagesClient) ListResponder

func (client SQLPoolUsagesClient) ListResponder(resp *http.Response) (result SQLPoolUsageListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolUsagesClient) ListSender

func (client SQLPoolUsagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolVulnerabilityAssessment

type SQLPoolVulnerabilityAssessment struct {
	autorest.Response `json:"-"`
	// SQLPoolVulnerabilityAssessmentProperties - Resource properties.
	*SQLPoolVulnerabilityAssessmentProperties `json:"properties,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"`
}

SQLPoolVulnerabilityAssessment a Sql pool vulnerability assessment.

func (SQLPoolVulnerabilityAssessment) MarshalJSON

func (spva SQLPoolVulnerabilityAssessment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolVulnerabilityAssessment.

func (*SQLPoolVulnerabilityAssessment) UnmarshalJSON

func (spva *SQLPoolVulnerabilityAssessment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolVulnerabilityAssessment struct.

type SQLPoolVulnerabilityAssessmentListResult

type SQLPoolVulnerabilityAssessmentListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]SQLPoolVulnerabilityAssessment `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SQLPoolVulnerabilityAssessmentListResult a list of the Sql pool's vulnerability assessments.

func (SQLPoolVulnerabilityAssessmentListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type SQLPoolVulnerabilityAssessmentListResultIterator

type SQLPoolVulnerabilityAssessmentListResultIterator struct {
	// contains filtered or unexported fields
}

SQLPoolVulnerabilityAssessmentListResultIterator provides access to a complete listing of SQLPoolVulnerabilityAssessment values.

func NewSQLPoolVulnerabilityAssessmentListResultIterator

func NewSQLPoolVulnerabilityAssessmentListResultIterator(page SQLPoolVulnerabilityAssessmentListResultPage) SQLPoolVulnerabilityAssessmentListResultIterator

Creates a new instance of the SQLPoolVulnerabilityAssessmentListResultIterator type.

func (*SQLPoolVulnerabilityAssessmentListResultIterator) Next

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 (*SQLPoolVulnerabilityAssessmentListResultIterator) NextWithContext

func (iter *SQLPoolVulnerabilityAssessmentListResultIterator) 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 (SQLPoolVulnerabilityAssessmentListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLPoolVulnerabilityAssessmentListResultIterator) Response

Response returns the raw server response from the last page request.

func (SQLPoolVulnerabilityAssessmentListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLPoolVulnerabilityAssessmentListResultPage

type SQLPoolVulnerabilityAssessmentListResultPage struct {
	// contains filtered or unexported fields
}

SQLPoolVulnerabilityAssessmentListResultPage contains a page of SQLPoolVulnerabilityAssessment values.

func NewSQLPoolVulnerabilityAssessmentListResultPage

Creates a new instance of the SQLPoolVulnerabilityAssessmentListResultPage type.

func (*SQLPoolVulnerabilityAssessmentListResultPage) Next

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 (*SQLPoolVulnerabilityAssessmentListResultPage) NextWithContext

func (page *SQLPoolVulnerabilityAssessmentListResultPage) 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 (SQLPoolVulnerabilityAssessmentListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLPoolVulnerabilityAssessmentListResultPage) Response

Response returns the raw server response from the last page request.

func (SQLPoolVulnerabilityAssessmentListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SQLPoolVulnerabilityAssessmentProperties

type SQLPoolVulnerabilityAssessmentProperties struct {
	// StorageContainerPath - A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level vulnerability assessment policy doesn't set
	StorageContainerPath *string `json:"storageContainerPath,omitempty"`
	// StorageContainerSasKey - A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.
	StorageContainerSasKey *string `json:"storageContainerSasKey,omitempty"`
	// StorageAccountAccessKey - Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.
	StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"`
	// RecurringScans - The recurring scans settings
	RecurringScans *VulnerabilityAssessmentRecurringScansProperties `json:"recurringScans,omitempty"`
}

SQLPoolVulnerabilityAssessmentProperties properties of a Sql pool Vulnerability Assessment.

type SQLPoolVulnerabilityAssessmentRuleBaseline

type SQLPoolVulnerabilityAssessmentRuleBaseline struct {
	autorest.Response `json:"-"`
	// SQLPoolVulnerabilityAssessmentRuleBaselineProperties - Resource properties.
	*SQLPoolVulnerabilityAssessmentRuleBaselineProperties `json:"properties,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"`
}

SQLPoolVulnerabilityAssessmentRuleBaseline a Sql pool vulnerability assessment rule baseline.

func (SQLPoolVulnerabilityAssessmentRuleBaseline) MarshalJSON

func (spvarb SQLPoolVulnerabilityAssessmentRuleBaseline) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolVulnerabilityAssessmentRuleBaseline.

func (*SQLPoolVulnerabilityAssessmentRuleBaseline) UnmarshalJSON

func (spvarb *SQLPoolVulnerabilityAssessmentRuleBaseline) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolVulnerabilityAssessmentRuleBaseline struct.

type SQLPoolVulnerabilityAssessmentRuleBaselineItem

type SQLPoolVulnerabilityAssessmentRuleBaselineItem struct {
	// Result - The rule baseline result
	Result *[]string `json:"result,omitempty"`
}

SQLPoolVulnerabilityAssessmentRuleBaselineItem properties for an Sql pool vulnerability assessment rule baseline's result.

type SQLPoolVulnerabilityAssessmentRuleBaselineProperties

type SQLPoolVulnerabilityAssessmentRuleBaselineProperties struct {
	// BaselineResults - The rule baseline result
	BaselineResults *[]SQLPoolVulnerabilityAssessmentRuleBaselineItem `json:"baselineResults,omitempty"`
}

SQLPoolVulnerabilityAssessmentRuleBaselineProperties properties of a Sql pool vulnerability assessment rule baseline.

type SQLPoolVulnerabilityAssessmentRuleBaselinesClient

type SQLPoolVulnerabilityAssessmentRuleBaselinesClient struct {
	BaseClient
}

SQLPoolVulnerabilityAssessmentRuleBaselinesClient is the azure Synapse Analytics Management Client

func NewSQLPoolVulnerabilityAssessmentRuleBaselinesClient

func NewSQLPoolVulnerabilityAssessmentRuleBaselinesClient(subscriptionID string) SQLPoolVulnerabilityAssessmentRuleBaselinesClient

NewSQLPoolVulnerabilityAssessmentRuleBaselinesClient creates an instance of the SQLPoolVulnerabilityAssessmentRuleBaselinesClient client.

func NewSQLPoolVulnerabilityAssessmentRuleBaselinesClientWithBaseURI

func NewSQLPoolVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolVulnerabilityAssessmentRuleBaselinesClient

NewSQLPoolVulnerabilityAssessmentRuleBaselinesClientWithBaseURI creates an instance of the SQLPoolVulnerabilityAssessmentRuleBaselinesClient 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 (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate

CreateOrUpdate creates or updates a Sql pool's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule). parameters - the requested rule baseline resource.

func (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer

func (client SQLPoolVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName, parameters SQLPoolVulnerabilityAssessmentRuleBaseline) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateResponder

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateSender

func (client SQLPoolVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) Delete

func (client SQLPoolVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (result autorest.Response, err error)

Delete removes the database's vulnerability assessment rule baseline. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name ruleID - the vulnerability assessment rule ID. baselineName - the name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule).

func (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer

func (client SQLPoolVulnerabilityAssessmentRuleBaselinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, ruleID string, baselineName VulnerabilityAssessmentPolicyBaselineName) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) DeleteResponder

func (client SQLPoolVulnerabilityAssessmentRuleBaselinesClient) 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 (SQLPoolVulnerabilityAssessmentRuleBaselinesClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

type SQLPoolVulnerabilityAssessmentScanExportProperties

type SQLPoolVulnerabilityAssessmentScanExportProperties struct {
	// ExportedReportLocation - READ-ONLY; Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx).
	ExportedReportLocation *string `json:"exportedReportLocation,omitempty"`
}

SQLPoolVulnerabilityAssessmentScanExportProperties properties of the export operation's result.

type SQLPoolVulnerabilityAssessmentScansClient

type SQLPoolVulnerabilityAssessmentScansClient struct {
	BaseClient
}

SQLPoolVulnerabilityAssessmentScansClient is the azure Synapse Analytics Management Client

func NewSQLPoolVulnerabilityAssessmentScansClient

func NewSQLPoolVulnerabilityAssessmentScansClient(subscriptionID string) SQLPoolVulnerabilityAssessmentScansClient

NewSQLPoolVulnerabilityAssessmentScansClient creates an instance of the SQLPoolVulnerabilityAssessmentScansClient client.

func NewSQLPoolVulnerabilityAssessmentScansClientWithBaseURI

func NewSQLPoolVulnerabilityAssessmentScansClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolVulnerabilityAssessmentScansClient

NewSQLPoolVulnerabilityAssessmentScansClientWithBaseURI creates an instance of the SQLPoolVulnerabilityAssessmentScansClient 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 (SQLPoolVulnerabilityAssessmentScansClient) Export

func (client SQLPoolVulnerabilityAssessmentScansClient) Export(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, scanID string) (result SQLPoolVulnerabilityAssessmentScansExport, err error)

Export convert an existing scan result to a human readable format. If already exists nothing happens Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name scanID - the vulnerability assessment scan Id of the scan to retrieve.

func (SQLPoolVulnerabilityAssessmentScansClient) ExportPreparer

func (client SQLPoolVulnerabilityAssessmentScansClient) ExportPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, scanID string) (*http.Request, error)

ExportPreparer prepares the Export request.

func (SQLPoolVulnerabilityAssessmentScansClient) ExportResponder

ExportResponder handles the response to the Export request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentScansClient) ExportSender

ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.

func (SQLPoolVulnerabilityAssessmentScansClient) InitiateScan

func (client SQLPoolVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, scanID string) (result SQLPoolVulnerabilityAssessmentScansInitiateScanFuture, err error)

InitiateScan executes a Vulnerability Assessment database scan. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name scanID - the vulnerability assessment scan Id of the scan to retrieve.

func (SQLPoolVulnerabilityAssessmentScansClient) InitiateScanPreparer

func (client SQLPoolVulnerabilityAssessmentScansClient) InitiateScanPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, scanID string) (*http.Request, error)

InitiateScanPreparer prepares the InitiateScan request.

func (SQLPoolVulnerabilityAssessmentScansClient) InitiateScanResponder

func (client SQLPoolVulnerabilityAssessmentScansClient) InitiateScanResponder(resp *http.Response) (result autorest.Response, err error)

InitiateScanResponder handles the response to the InitiateScan request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentScansClient) InitiateScanSender

InitiateScanSender sends the InitiateScan request. The method will close the http.Response Body if it receives an error.

func (SQLPoolVulnerabilityAssessmentScansClient) List

func (client SQLPoolVulnerabilityAssessmentScansClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result VulnerabilityAssessmentScanRecordListResultPage, err error)

List lists the vulnerability assessment scans of a SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolVulnerabilityAssessmentScansClient) ListComplete

func (client SQLPoolVulnerabilityAssessmentScansClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result VulnerabilityAssessmentScanRecordListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolVulnerabilityAssessmentScansClient) ListPreparer

func (client SQLPoolVulnerabilityAssessmentScansClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolVulnerabilityAssessmentScansClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentScansClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolVulnerabilityAssessmentScansExport

type SQLPoolVulnerabilityAssessmentScansExport struct {
	autorest.Response `json:"-"`
	// SQLPoolVulnerabilityAssessmentScanExportProperties - Resource properties.
	*SQLPoolVulnerabilityAssessmentScanExportProperties `json:"properties,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"`
}

SQLPoolVulnerabilityAssessmentScansExport a Sql pool Vulnerability Assessment scan export resource.

func (SQLPoolVulnerabilityAssessmentScansExport) MarshalJSON

func (spvase SQLPoolVulnerabilityAssessmentScansExport) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLPoolVulnerabilityAssessmentScansExport.

func (*SQLPoolVulnerabilityAssessmentScansExport) UnmarshalJSON

func (spvase *SQLPoolVulnerabilityAssessmentScansExport) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLPoolVulnerabilityAssessmentScansExport struct.

type SQLPoolVulnerabilityAssessmentScansInitiateScanFuture

type SQLPoolVulnerabilityAssessmentScansInitiateScanFuture struct {
	azure.Future
}

SQLPoolVulnerabilityAssessmentScansInitiateScanFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SQLPoolVulnerabilityAssessmentScansInitiateScanFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SQLPoolVulnerabilityAssessmentsClient

type SQLPoolVulnerabilityAssessmentsClient struct {
	BaseClient
}

SQLPoolVulnerabilityAssessmentsClient is the azure Synapse Analytics Management Client

func NewSQLPoolVulnerabilityAssessmentsClient

func NewSQLPoolVulnerabilityAssessmentsClient(subscriptionID string) SQLPoolVulnerabilityAssessmentsClient

NewSQLPoolVulnerabilityAssessmentsClient creates an instance of the SQLPoolVulnerabilityAssessmentsClient client.

func NewSQLPoolVulnerabilityAssessmentsClientWithBaseURI

func NewSQLPoolVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolVulnerabilityAssessmentsClient

NewSQLPoolVulnerabilityAssessmentsClientWithBaseURI creates an instance of the SQLPoolVulnerabilityAssessmentsClient 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 (SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdate

func (client SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters SQLPoolVulnerabilityAssessment) (result SQLPoolVulnerabilityAssessment, err error)

CreateOrUpdate creates or updates the Sql pool vulnerability assessment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name parameters - the requested resource.

func (SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdatePreparer

func (client SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters SQLPoolVulnerabilityAssessment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdateResponder

func (client SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result SQLPoolVulnerabilityAssessment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdateSender

func (client SQLPoolVulnerabilityAssessmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLPoolVulnerabilityAssessmentsClient) Delete

func (client SQLPoolVulnerabilityAssessmentsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result autorest.Response, err error)

Delete removes the database's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolVulnerabilityAssessmentsClient) DeletePreparer

func (client SQLPoolVulnerabilityAssessmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLPoolVulnerabilityAssessmentsClient) DeleteResponder

func (client SQLPoolVulnerabilityAssessmentsClient) 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 (SQLPoolVulnerabilityAssessmentsClient) DeleteSender

func (client SQLPoolVulnerabilityAssessmentsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLPoolVulnerabilityAssessmentsClient) Get

func (client SQLPoolVulnerabilityAssessmentsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolVulnerabilityAssessment, err error)

Get gets the Sql pool's vulnerability assessment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolVulnerabilityAssessmentsClient) GetPreparer

func (client SQLPoolVulnerabilityAssessmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolVulnerabilityAssessmentsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLPoolVulnerabilityAssessmentsClient) List

func (client SQLPoolVulnerabilityAssessmentsClient) List(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolVulnerabilityAssessmentListResultPage, err error)

List lists the vulnerability assessment policies associated with a SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolVulnerabilityAssessmentsClient) ListComplete

func (client SQLPoolVulnerabilityAssessmentsClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolVulnerabilityAssessmentListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolVulnerabilityAssessmentsClient) ListPreparer

func (client SQLPoolVulnerabilityAssessmentsClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLPoolVulnerabilityAssessmentsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLPoolVulnerabilityAssessmentsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SQLPoolsClient

type SQLPoolsClient struct {
	BaseClient
}

SQLPoolsClient is the azure Synapse Analytics Management Client

func NewSQLPoolsClient

func NewSQLPoolsClient(subscriptionID string) SQLPoolsClient

NewSQLPoolsClient creates an instance of the SQLPoolsClient client.

func NewSQLPoolsClientWithBaseURI

func NewSQLPoolsClientWithBaseURI(baseURI string, subscriptionID string) SQLPoolsClient

NewSQLPoolsClientWithBaseURI creates an instance of the SQLPoolsClient 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 (SQLPoolsClient) Create

func (client SQLPoolsClient) Create(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, SQLPoolInfo SQLPool) (result SQLPoolsCreateFuture, err error)

Create create a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name SQLPoolInfo - the SQL pool to create

func (SQLPoolsClient) CreatePreparer

func (client SQLPoolsClient) CreatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, SQLPoolInfo SQLPool) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SQLPoolsClient) CreateResponder

func (client SQLPoolsClient) CreateResponder(resp *http.Response) (result SQLPool, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SQLPoolsClient) CreateSender

func (client SQLPoolsClient) CreateSender(req *http.Request) (future SQLPoolsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) Delete

func (client SQLPoolsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolsDeleteFuture, err error)

Delete delete a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolsClient) DeletePreparer

func (client SQLPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLPoolsClient) DeleteResponder

func (client SQLPoolsClient) DeleteResponder(resp *http.Response) (result SetObject, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SQLPoolsClient) DeleteSender

func (client SQLPoolsClient) DeleteSender(req *http.Request) (future SQLPoolsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) Get

func (client SQLPoolsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPool, err error)

Get get SQL pool properties Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolsClient) GetPreparer

func (client SQLPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLPoolsClient) GetResponder

func (client SQLPoolsClient) GetResponder(resp *http.Response) (result SQLPool, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLPoolsClient) GetSender

func (client SQLPoolsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) ListByWorkspace

func (client SQLPoolsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result SQLPoolInfoListResultPage, err error)

ListByWorkspace list all SQL pools Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (SQLPoolsClient) ListByWorkspaceComplete

func (client SQLPoolsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result SQLPoolInfoListResultIterator, err error)

ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLPoolsClient) ListByWorkspacePreparer

func (client SQLPoolsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (SQLPoolsClient) ListByWorkspaceResponder

func (client SQLPoolsClient) ListByWorkspaceResponder(resp *http.Response) (result SQLPoolInfoListResult, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (SQLPoolsClient) ListByWorkspaceSender

func (client SQLPoolsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

ListByWorkspaceSender sends the ListByWorkspace request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) Pause

func (client SQLPoolsClient) Pause(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolsPauseFuture, err error)

Pause pause a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolsClient) PausePreparer

func (client SQLPoolsClient) PausePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

PausePreparer prepares the Pause request.

func (SQLPoolsClient) PauseResponder

func (client SQLPoolsClient) PauseResponder(resp *http.Response) (result SetObject, err error)

PauseResponder handles the response to the Pause request. The method always closes the http.Response Body.

func (SQLPoolsClient) PauseSender

func (client SQLPoolsClient) PauseSender(req *http.Request) (future SQLPoolsPauseFuture, err error)

PauseSender sends the Pause request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) Rename

func (client SQLPoolsClient) Rename(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters ResourceMoveDefinition) (result autorest.Response, err error)

Rename rename a SQL pool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name parameters - the resource move definition for renaming this Sql pool.

func (SQLPoolsClient) RenamePreparer

func (client SQLPoolsClient) RenamePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, parameters ResourceMoveDefinition) (*http.Request, error)

RenamePreparer prepares the Rename request.

func (SQLPoolsClient) RenameResponder

func (client SQLPoolsClient) RenameResponder(resp *http.Response) (result autorest.Response, err error)

RenameResponder handles the response to the Rename request. The method always closes the http.Response Body.

func (SQLPoolsClient) RenameSender

func (client SQLPoolsClient) RenameSender(req *http.Request) (*http.Response, error)

RenameSender sends the Rename request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) Resume

func (client SQLPoolsClient) Resume(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (result SQLPoolsResumeFuture, err error)

Resume resume a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name

func (SQLPoolsClient) ResumePreparer

func (client SQLPoolsClient) ResumePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (SQLPoolsClient) ResumeResponder

func (client SQLPoolsClient) ResumeResponder(resp *http.Response) (result SetObject, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (SQLPoolsClient) ResumeSender

func (client SQLPoolsClient) ResumeSender(req *http.Request) (future SQLPoolsResumeFuture, err error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

func (SQLPoolsClient) Update

func (client SQLPoolsClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, SQLPoolInfo SQLPoolPatchInfo) (result SQLPool, err error)

Update apply a partial update to a SQL pool Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace SQLPoolName - SQL pool name SQLPoolInfo - the updated SQL pool properties

func (SQLPoolsClient) UpdatePreparer

func (client SQLPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, SQLPoolName string, SQLPoolInfo SQLPoolPatchInfo) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SQLPoolsClient) UpdateResponder

func (client SQLPoolsClient) UpdateResponder(resp *http.Response) (result SQLPool, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SQLPoolsClient) UpdateSender

func (client SQLPoolsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SQLPoolsCreateFuture

type SQLPoolsCreateFuture struct {
	azure.Future
}

SQLPoolsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SQLPoolsCreateFuture) Result

func (future *SQLPoolsCreateFuture) Result(client SQLPoolsClient) (sp SQLPool, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SQLPoolsDeleteFuture

type SQLPoolsDeleteFuture struct {
	azure.Future
}

SQLPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SQLPoolsDeleteFuture) Result

func (future *SQLPoolsDeleteFuture) Result(client SQLPoolsClient) (so SetObject, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SQLPoolsPauseFuture

type SQLPoolsPauseFuture struct {
	azure.Future
}

SQLPoolsPauseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SQLPoolsPauseFuture) Result

func (future *SQLPoolsPauseFuture) Result(client SQLPoolsClient) (so SetObject, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SQLPoolsResumeFuture

type SQLPoolsResumeFuture struct {
	azure.Future
}

SQLPoolsResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SQLPoolsResumeFuture) Result

func (future *SQLPoolsResumeFuture) Result(client SQLPoolsClient) (so SetObject, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SecurityAlertPolicyProperties

type SecurityAlertPolicyProperties struct {
	// State - Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool. Possible values include: 'SecurityAlertPolicyStateNew', 'SecurityAlertPolicyStateEnabled', 'SecurityAlertPolicyStateDisabled'
	State SecurityAlertPolicyState `json:"state,omitempty"`
	// DisabledAlerts - Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action
	DisabledAlerts *[]string `json:"disabledAlerts,omitempty"`
	// EmailAddresses - Specifies an array of e-mail addresses to which the alert is sent.
	EmailAddresses *[]string `json:"emailAddresses,omitempty"`
	// EmailAccountAdmins - Specifies that the alert is sent to the account administrators.
	EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`
	// StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint *string `json:"storageEndpoint,omitempty"`
	// StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"`
	// RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs.
	RetentionDays *int32 `json:"retentionDays,omitempty"`
	// CreationTime - READ-ONLY; Specifies the UTC creation time of the policy.
	CreationTime *date.Time `json:"creationTime,omitempty"`
}

SecurityAlertPolicyProperties properties of a security alert policy.

type SecurityAlertPolicyState

type SecurityAlertPolicyState string

SecurityAlertPolicyState enumerates the values for security alert policy state.

const (
	// SecurityAlertPolicyStateDisabled ...
	SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled"
	// SecurityAlertPolicyStateEnabled ...
	SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled"
	// SecurityAlertPolicyStateNew ...
	SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New"
)

func PossibleSecurityAlertPolicyStateValues

func PossibleSecurityAlertPolicyStateValues() []SecurityAlertPolicyState

PossibleSecurityAlertPolicyStateValues returns an array of possible values for the SecurityAlertPolicyState const type.

type SensitivityLabel

type SensitivityLabel struct {
	autorest.Response `json:"-"`
	// SensitivityLabelProperties - Resource properties.
	*SensitivityLabelProperties `json:"properties,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"`
}

SensitivityLabel a sensitivity label.

func (SensitivityLabel) MarshalJSON

func (sl SensitivityLabel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SensitivityLabel.

func (*SensitivityLabel) UnmarshalJSON

func (sl *SensitivityLabel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SensitivityLabel struct.

type SensitivityLabelListResult

type SensitivityLabelListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]SensitivityLabel `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SensitivityLabelListResult a list of sensitivity labels.

func (SensitivityLabelListResult) IsEmpty

func (sllr SensitivityLabelListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SensitivityLabelListResultIterator

type SensitivityLabelListResultIterator struct {
	// contains filtered or unexported fields
}

SensitivityLabelListResultIterator provides access to a complete listing of SensitivityLabel values.

func NewSensitivityLabelListResultIterator

func NewSensitivityLabelListResultIterator(page SensitivityLabelListResultPage) SensitivityLabelListResultIterator

Creates a new instance of the SensitivityLabelListResultIterator type.

func (*SensitivityLabelListResultIterator) Next

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 (*SensitivityLabelListResultIterator) NextWithContext

func (iter *SensitivityLabelListResultIterator) 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 (SensitivityLabelListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SensitivityLabelListResultIterator) Response

Response returns the raw server response from the last page request.

func (SensitivityLabelListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SensitivityLabelListResultPage

type SensitivityLabelListResultPage struct {
	// contains filtered or unexported fields
}

SensitivityLabelListResultPage contains a page of SensitivityLabel values.

func NewSensitivityLabelListResultPage

func NewSensitivityLabelListResultPage(getNextPage func(context.Context, SensitivityLabelListResult) (SensitivityLabelListResult, error)) SensitivityLabelListResultPage

Creates a new instance of the SensitivityLabelListResultPage type.

func (*SensitivityLabelListResultPage) Next

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 (*SensitivityLabelListResultPage) NextWithContext

func (page *SensitivityLabelListResultPage) 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 (SensitivityLabelListResultPage) NotDone

func (page SensitivityLabelListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SensitivityLabelListResultPage) Response

Response returns the raw server response from the last page request.

func (SensitivityLabelListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SensitivityLabelProperties

type SensitivityLabelProperties struct {
	// LabelName - The label name.
	LabelName *string `json:"labelName,omitempty"`
	// LabelID - The label ID.
	LabelID *string `json:"labelId,omitempty"`
	// InformationType - The information type.
	InformationType *string `json:"informationType,omitempty"`
	// InformationTypeID - The information type ID.
	InformationTypeID *string `json:"informationTypeId,omitempty"`
	// IsDisabled - READ-ONLY; Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
	IsDisabled *bool `json:"isDisabled,omitempty"`
}

SensitivityLabelProperties properties of a sensitivity label.

type SetObject

type SetObject struct {
	autorest.Response `json:"-"`
	Value             interface{} `json:"value,omitempty"`
}

SetObject ...

type Sku

type Sku struct {
	// Tier - The service tier
	Tier *string `json:"tier,omitempty"`
	// Name - The SKU name
	Name *string `json:"name,omitempty"`
}

Sku SQL pool SKU

type TopQueries

type TopQueries struct {
	// AggregationFunction - READ-ONLY; The function that is used to aggregate each query's metrics. Possible values include: 'Min', 'Max', 'Avg', 'Sum'
	AggregationFunction QueryAggregationFunction `json:"aggregationFunction,omitempty"`
	// ExecutionType - READ-ONLY; The execution type that is used to filter the query instances that are returned. Possible values include: 'Any', 'Regular', 'Irregular', 'Aborted', 'Exception'
	ExecutionType QueryExecutionType `json:"executionType,omitempty"`
	// IntervalType - READ-ONLY; The duration of the interval (ISO8601 duration format).
	IntervalType *string `json:"intervalType,omitempty"`
	// NumberOfTopQueries - READ-ONLY; The number of requested queries.
	NumberOfTopQueries *float64 `json:"numberOfTopQueries,omitempty"`
	// ObservationStartTime - READ-ONLY; The start time for queries that are returned (ISO8601 format)
	ObservationStartTime *date.Time `json:"observationStartTime,omitempty"`
	// ObservationEndTime - READ-ONLY; The end time for queries that are returned (ISO8601 format)
	ObservationEndTime *date.Time `json:"observationEndTime,omitempty"`
	// ObservedMetric - READ-ONLY; The type of metric to use for ordering the top metrics. Possible values include: 'CPU', 'Io', 'Logio', 'Duration', 'ExecutionCount'
	ObservedMetric QueryObservedMetricType `json:"observedMetric,omitempty"`
	// Queries - READ-ONLY; The list of queries.
	Queries *[]QueryStatistic `json:"queries,omitempty"`
}

TopQueries a database query.

type TopQueriesListResult

type TopQueriesListResult struct {
	// Value - The list of top queries.
	Value *[]TopQueries `json:"value,omitempty"`
}

TopQueriesListResult represents the response to a get top queries request.

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 TransparentDataEncryption

type TransparentDataEncryption struct {
	autorest.Response `json:"-"`
	// Location - READ-ONLY; Resource location.
	Location *string `json:"location,omitempty"`
	// TransparentDataEncryptionProperties - Represents the properties of the resource.
	*TransparentDataEncryptionProperties `json:"properties,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"`
}

TransparentDataEncryption represents a Sql pool transparent data encryption configuration.

func (TransparentDataEncryption) MarshalJSON

func (tde TransparentDataEncryption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TransparentDataEncryption.

func (*TransparentDataEncryption) UnmarshalJSON

func (tde *TransparentDataEncryption) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TransparentDataEncryption struct.

type TransparentDataEncryptionProperties

type TransparentDataEncryptionProperties struct {
	// Status - The status of the database transparent data encryption. Possible values include: 'TransparentDataEncryptionStatusEnabled', 'TransparentDataEncryptionStatusDisabled'
	Status TransparentDataEncryptionStatus `json:"status,omitempty"`
}

TransparentDataEncryptionProperties represents the properties of a database transparent data encryption.

type TransparentDataEncryptionStatus

type TransparentDataEncryptionStatus string

TransparentDataEncryptionStatus enumerates the values for transparent data encryption status.

const (
	// TransparentDataEncryptionStatusDisabled ...
	TransparentDataEncryptionStatusDisabled TransparentDataEncryptionStatus = "Disabled"
	// TransparentDataEncryptionStatusEnabled ...
	TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled"
)

func PossibleTransparentDataEncryptionStatusValues

func PossibleTransparentDataEncryptionStatusValues() []TransparentDataEncryptionStatus

PossibleTransparentDataEncryptionStatusValues returns an array of possible values for the TransparentDataEncryptionStatus const type.

type VirtualNetworkProfile

type VirtualNetworkProfile struct {
	// ComputeSubnetID - Subnet ID used for computes in workspace
	ComputeSubnetID *string `json:"computeSubnetId,omitempty"`
}

VirtualNetworkProfile virtual Network Profile

type VulnerabilityAssessmentPolicyBaselineName

type VulnerabilityAssessmentPolicyBaselineName string

VulnerabilityAssessmentPolicyBaselineName enumerates the values for vulnerability assessment policy baseline name.

const (
	// Default ...
	Default VulnerabilityAssessmentPolicyBaselineName = "default"
	// Master ...
	Master VulnerabilityAssessmentPolicyBaselineName = "master"
)

func PossibleVulnerabilityAssessmentPolicyBaselineNameValues

func PossibleVulnerabilityAssessmentPolicyBaselineNameValues() []VulnerabilityAssessmentPolicyBaselineName

PossibleVulnerabilityAssessmentPolicyBaselineNameValues returns an array of possible values for the VulnerabilityAssessmentPolicyBaselineName const type.

type VulnerabilityAssessmentRecurringScansProperties

type VulnerabilityAssessmentRecurringScansProperties struct {
	// IsEnabled - Recurring scans state.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// EmailSubscriptionAdmins - Specifies that the schedule scan notification will be is sent to the subscription administrators.
	EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty"`
	// Emails - Specifies an array of e-mail addresses to which the scan notification is sent.
	Emails *[]string `json:"emails,omitempty"`
}

VulnerabilityAssessmentRecurringScansProperties properties of a Vulnerability Assessment recurring scans.

type VulnerabilityAssessmentScanError

type VulnerabilityAssessmentScanError struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
}

VulnerabilityAssessmentScanError properties of a vulnerability assessment scan error.

type VulnerabilityAssessmentScanRecord

type VulnerabilityAssessmentScanRecord struct {
	// VulnerabilityAssessmentScanRecordProperties - Resource properties.
	*VulnerabilityAssessmentScanRecordProperties `json:"properties,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"`
}

VulnerabilityAssessmentScanRecord a vulnerability assessment scan record.

func (VulnerabilityAssessmentScanRecord) MarshalJSON

func (vasr VulnerabilityAssessmentScanRecord) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VulnerabilityAssessmentScanRecord.

func (*VulnerabilityAssessmentScanRecord) UnmarshalJSON

func (vasr *VulnerabilityAssessmentScanRecord) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VulnerabilityAssessmentScanRecord struct.

type VulnerabilityAssessmentScanRecordListResult

type VulnerabilityAssessmentScanRecordListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Array of results.
	Value *[]VulnerabilityAssessmentScanRecord `json:"value,omitempty"`
	// NextLink - READ-ONLY; Link to retrieve next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VulnerabilityAssessmentScanRecordListResult a list of vulnerability assessment scan records.

func (VulnerabilityAssessmentScanRecordListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type VulnerabilityAssessmentScanRecordListResultIterator

type VulnerabilityAssessmentScanRecordListResultIterator struct {
	// contains filtered or unexported fields
}

VulnerabilityAssessmentScanRecordListResultIterator provides access to a complete listing of VulnerabilityAssessmentScanRecord values.

func NewVulnerabilityAssessmentScanRecordListResultIterator

func NewVulnerabilityAssessmentScanRecordListResultIterator(page VulnerabilityAssessmentScanRecordListResultPage) VulnerabilityAssessmentScanRecordListResultIterator

Creates a new instance of the VulnerabilityAssessmentScanRecordListResultIterator type.

func (*VulnerabilityAssessmentScanRecordListResultIterator) Next

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 (*VulnerabilityAssessmentScanRecordListResultIterator) NextWithContext

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 (VulnerabilityAssessmentScanRecordListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VulnerabilityAssessmentScanRecordListResultIterator) Response

Response returns the raw server response from the last page request.

func (VulnerabilityAssessmentScanRecordListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VulnerabilityAssessmentScanRecordListResultPage

type VulnerabilityAssessmentScanRecordListResultPage struct {
	// contains filtered or unexported fields
}

VulnerabilityAssessmentScanRecordListResultPage contains a page of VulnerabilityAssessmentScanRecord values.

func NewVulnerabilityAssessmentScanRecordListResultPage

Creates a new instance of the VulnerabilityAssessmentScanRecordListResultPage type.

func (*VulnerabilityAssessmentScanRecordListResultPage) Next

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 (*VulnerabilityAssessmentScanRecordListResultPage) NextWithContext

func (page *VulnerabilityAssessmentScanRecordListResultPage) 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 (VulnerabilityAssessmentScanRecordListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VulnerabilityAssessmentScanRecordListResultPage) Response

Response returns the raw server response from the last page request.

func (VulnerabilityAssessmentScanRecordListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VulnerabilityAssessmentScanRecordProperties

type VulnerabilityAssessmentScanRecordProperties struct {
	// ScanID - READ-ONLY; The scan ID.
	ScanID *string `json:"scanId,omitempty"`
	// TriggerType - READ-ONLY; The scan trigger type. Possible values include: 'OnDemand', 'Recurring'
	TriggerType VulnerabilityAssessmentScanTriggerType `json:"triggerType,omitempty"`
	// State - READ-ONLY; The scan status. Possible values include: 'VulnerabilityAssessmentScanStatePassed', 'VulnerabilityAssessmentScanStateFailed', 'VulnerabilityAssessmentScanStateFailedToRun', 'VulnerabilityAssessmentScanStateInProgress'
	State VulnerabilityAssessmentScanState `json:"state,omitempty"`
	// StartTime - READ-ONLY; The scan start time (UTC).
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; The scan end time (UTC).
	EndTime *date.Time `json:"endTime,omitempty"`
	// Errors - READ-ONLY; The scan errors.
	Errors *[]VulnerabilityAssessmentScanError `json:"errors,omitempty"`
	// StorageContainerPath - READ-ONLY; The scan results storage container path.
	StorageContainerPath *string `json:"storageContainerPath,omitempty"`
	// NumberOfFailedSecurityChecks - READ-ONLY; The number of failed security checks.
	NumberOfFailedSecurityChecks *int32 `json:"numberOfFailedSecurityChecks,omitempty"`
}

VulnerabilityAssessmentScanRecordProperties properties of a vulnerability assessment scan record.

type VulnerabilityAssessmentScanState

type VulnerabilityAssessmentScanState string

VulnerabilityAssessmentScanState enumerates the values for vulnerability assessment scan state.

const (
	// VulnerabilityAssessmentScanStateFailed ...
	VulnerabilityAssessmentScanStateFailed VulnerabilityAssessmentScanState = "Failed"
	// VulnerabilityAssessmentScanStateFailedToRun ...
	VulnerabilityAssessmentScanStateFailedToRun VulnerabilityAssessmentScanState = "FailedToRun"
	// VulnerabilityAssessmentScanStateInProgress ...
	VulnerabilityAssessmentScanStateInProgress VulnerabilityAssessmentScanState = "InProgress"
	// VulnerabilityAssessmentScanStatePassed ...
	VulnerabilityAssessmentScanStatePassed VulnerabilityAssessmentScanState = "Passed"
)

func PossibleVulnerabilityAssessmentScanStateValues

func PossibleVulnerabilityAssessmentScanStateValues() []VulnerabilityAssessmentScanState

PossibleVulnerabilityAssessmentScanStateValues returns an array of possible values for the VulnerabilityAssessmentScanState const type.

type VulnerabilityAssessmentScanTriggerType

type VulnerabilityAssessmentScanTriggerType string

VulnerabilityAssessmentScanTriggerType enumerates the values for vulnerability assessment scan trigger type.

const (
	// OnDemand ...
	OnDemand VulnerabilityAssessmentScanTriggerType = "OnDemand"
	// Recurring ...
	Recurring VulnerabilityAssessmentScanTriggerType = "Recurring"
)

func PossibleVulnerabilityAssessmentScanTriggerTypeValues

func PossibleVulnerabilityAssessmentScanTriggerTypeValues() []VulnerabilityAssessmentScanTriggerType

PossibleVulnerabilityAssessmentScanTriggerTypeValues returns an array of possible values for the VulnerabilityAssessmentScanTriggerType const type.

type Workspace

type Workspace struct {
	autorest.Response `json:"-"`
	// WorkspaceProperties - Workspace resource properties
	*WorkspaceProperties `json:"properties,omitempty"`
	// Identity - Identity of the workspace
	Identity *ManagedIdentity `json:"identity,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 a workspace

func (Workspace) MarshalJSON

func (w Workspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workspace.

func (*Workspace) UnmarshalJSON

func (w *Workspace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Workspace struct.

type WorkspaceAadAdminInfo

type WorkspaceAadAdminInfo struct {
	autorest.Response `json:"-"`
	// AadAdminProperties - Workspace active directory administrator properties
	*AadAdminProperties `json:"properties,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"`
}

WorkspaceAadAdminInfo workspace active directory administrator

func (WorkspaceAadAdminInfo) MarshalJSON

func (waai WorkspaceAadAdminInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceAadAdminInfo.

func (*WorkspaceAadAdminInfo) UnmarshalJSON

func (waai *WorkspaceAadAdminInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkspaceAadAdminInfo struct.

type WorkspaceAadAdminsClient

type WorkspaceAadAdminsClient struct {
	BaseClient
}

WorkspaceAadAdminsClient is the azure Synapse Analytics Management Client

func NewWorkspaceAadAdminsClient

func NewWorkspaceAadAdminsClient(subscriptionID string) WorkspaceAadAdminsClient

NewWorkspaceAadAdminsClient creates an instance of the WorkspaceAadAdminsClient client.

func NewWorkspaceAadAdminsClientWithBaseURI

func NewWorkspaceAadAdminsClientWithBaseURI(baseURI string, subscriptionID string) WorkspaceAadAdminsClient

NewWorkspaceAadAdminsClientWithBaseURI creates an instance of the WorkspaceAadAdminsClient 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 (WorkspaceAadAdminsClient) CreateOrUpdate

func (client WorkspaceAadAdminsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, aadAdminInfo WorkspaceAadAdminInfo) (result WorkspaceAadAdminsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a workspace active directory admin Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace aadAdminInfo - workspace active directory administrator properties

func (WorkspaceAadAdminsClient) CreateOrUpdatePreparer

func (client WorkspaceAadAdminsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, aadAdminInfo WorkspaceAadAdminInfo) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspaceAadAdminsClient) CreateOrUpdateResponder

func (client WorkspaceAadAdminsClient) CreateOrUpdateResponder(resp *http.Response) (result WorkspaceAadAdminInfo, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WorkspaceAadAdminsClient) CreateOrUpdateSender

func (client WorkspaceAadAdminsClient) CreateOrUpdateSender(req *http.Request) (future WorkspaceAadAdminsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (WorkspaceAadAdminsClient) Delete

func (client WorkspaceAadAdminsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceAadAdminsDeleteFuture, err error)

Delete deletes a workspace active directory admin Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (WorkspaceAadAdminsClient) DeletePreparer

func (client WorkspaceAadAdminsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WorkspaceAadAdminsClient) DeleteResponder

func (client WorkspaceAadAdminsClient) 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 (WorkspaceAadAdminsClient) DeleteSender

func (client WorkspaceAadAdminsClient) DeleteSender(req *http.Request) (future WorkspaceAadAdminsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (WorkspaceAadAdminsClient) Get

func (client WorkspaceAadAdminsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspaceAadAdminInfo, err error)

Get gets a workspace active directory admin Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (WorkspaceAadAdminsClient) GetPreparer

func (client WorkspaceAadAdminsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkspaceAadAdminsClient) GetResponder

func (client WorkspaceAadAdminsClient) GetResponder(resp *http.Response) (result WorkspaceAadAdminInfo, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WorkspaceAadAdminsClient) GetSender

func (client WorkspaceAadAdminsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type WorkspaceAadAdminsCreateOrUpdateFuture

type WorkspaceAadAdminsCreateOrUpdateFuture struct {
	azure.Future
}

WorkspaceAadAdminsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WorkspaceAadAdminsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WorkspaceAadAdminsDeleteFuture

type WorkspaceAadAdminsDeleteFuture struct {
	azure.Future
}

WorkspaceAadAdminsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WorkspaceAadAdminsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WorkspaceInfoListResult

type WorkspaceInfoListResult struct {
	autorest.Response `json:"-"`
	// NextLink - Link to the next page of results
	NextLink *string `json:"nextLink,omitempty"`
	// Value - List of workspaces
	Value *[]Workspace `json:"value,omitempty"`
}

WorkspaceInfoListResult list of workspaces

func (WorkspaceInfoListResult) IsEmpty

func (wilr WorkspaceInfoListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkspaceInfoListResultIterator

type WorkspaceInfoListResultIterator struct {
	// contains filtered or unexported fields
}

WorkspaceInfoListResultIterator provides access to a complete listing of Workspace values.

func NewWorkspaceInfoListResultIterator

func NewWorkspaceInfoListResultIterator(page WorkspaceInfoListResultPage) WorkspaceInfoListResultIterator

Creates a new instance of the WorkspaceInfoListResultIterator type.

func (*WorkspaceInfoListResultIterator) Next

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 (*WorkspaceInfoListResultIterator) NextWithContext

func (iter *WorkspaceInfoListResultIterator) 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 (WorkspaceInfoListResultIterator) NotDone

func (iter WorkspaceInfoListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WorkspaceInfoListResultIterator) Response

Response returns the raw server response from the last page request.

func (WorkspaceInfoListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WorkspaceInfoListResultPage

type WorkspaceInfoListResultPage struct {
	// contains filtered or unexported fields
}

WorkspaceInfoListResultPage contains a page of Workspace values.

func NewWorkspaceInfoListResultPage

func NewWorkspaceInfoListResultPage(getNextPage func(context.Context, WorkspaceInfoListResult) (WorkspaceInfoListResult, error)) WorkspaceInfoListResultPage

Creates a new instance of the WorkspaceInfoListResultPage type.

func (*WorkspaceInfoListResultPage) Next

func (page *WorkspaceInfoListResultPage) 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 (*WorkspaceInfoListResultPage) NextWithContext

func (page *WorkspaceInfoListResultPage) 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 (WorkspaceInfoListResultPage) NotDone

func (page WorkspaceInfoListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WorkspaceInfoListResultPage) Response

Response returns the raw server response from the last page request.

func (WorkspaceInfoListResultPage) Values

func (page WorkspaceInfoListResultPage) Values() []Workspace

Values returns the slice of values for the current page or nil if there are no values.

type WorkspaceManagedIdentitySQLControlSettingsClient

type WorkspaceManagedIdentitySQLControlSettingsClient struct {
	BaseClient
}

WorkspaceManagedIdentitySQLControlSettingsClient is the azure Synapse Analytics Management Client

func NewWorkspaceManagedIdentitySQLControlSettingsClient

func NewWorkspaceManagedIdentitySQLControlSettingsClient(subscriptionID string) WorkspaceManagedIdentitySQLControlSettingsClient

NewWorkspaceManagedIdentitySQLControlSettingsClient creates an instance of the WorkspaceManagedIdentitySQLControlSettingsClient client.

func NewWorkspaceManagedIdentitySQLControlSettingsClientWithBaseURI

func NewWorkspaceManagedIdentitySQLControlSettingsClientWithBaseURI(baseURI string, subscriptionID string) WorkspaceManagedIdentitySQLControlSettingsClient

NewWorkspaceManagedIdentitySQLControlSettingsClientWithBaseURI creates an instance of the WorkspaceManagedIdentitySQLControlSettingsClient 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 (WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdate

func (client WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, managedIdentitySQLControlSettings ManagedIdentitySQLControlSettingsModel) (result ManagedIdentitySQLControlSettingsModel, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace managedIdentitySQLControlSettings - managed Identity Sql Control Settings

func (WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdatePreparer

func (client WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, managedIdentitySQLControlSettings ManagedIdentitySQLControlSettingsModel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdateResponder

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdateSender

func (client WorkspaceManagedIdentitySQLControlSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (WorkspaceManagedIdentitySQLControlSettingsClient) Get

func (client WorkspaceManagedIdentitySQLControlSettingsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result ManagedIdentitySQLControlSettingsModel, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace

func (WorkspaceManagedIdentitySQLControlSettingsClient) GetPreparer

func (client WorkspaceManagedIdentitySQLControlSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WorkspaceManagedIdentitySQLControlSettingsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WorkspaceManagedIdentitySQLControlSettingsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type WorkspacePatchInfo

type WorkspacePatchInfo struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Identity - The identity of the workspace
	Identity *ManagedIdentity `json:"identity,omitempty"`
	// WorkspacePatchProperties - Workspace patch properties
	*WorkspacePatchProperties `json:"properties,omitempty"`
}

WorkspacePatchInfo workspace patch details

func (WorkspacePatchInfo) MarshalJSON

func (wpi WorkspacePatchInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspacePatchInfo.

func (*WorkspacePatchInfo) UnmarshalJSON

func (wpi *WorkspacePatchInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkspacePatchInfo struct.

type WorkspacePatchProperties

type WorkspacePatchProperties struct {
	// SQLAdministratorLoginPassword - SQL administrator login password
	SQLAdministratorLoginPassword *string `json:"sqlAdministratorLoginPassword,omitempty"`
	// ProvisioningState - READ-ONLY; Resource provisioning state
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

WorkspacePatchProperties workspace patch properties

type WorkspaceProperties

type WorkspaceProperties struct {
	// DefaultDataLakeStorage - Workspace default data lake storage account details
	DefaultDataLakeStorage *DataLakeStorageAccountDetails `json:"defaultDataLakeStorage,omitempty"`
	// SQLAdministratorLoginPassword - SQL administrator login password
	SQLAdministratorLoginPassword *string `json:"sqlAdministratorLoginPassword,omitempty"`
	// ManagedResourceGroupName - READ-ONLY; Workspace managed resource group
	ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty"`
	// ProvisioningState - READ-ONLY; Resource provisioning state
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// SQLAdministratorLogin - Login for workspace SQL active directory administrator
	SQLAdministratorLogin *string `json:"sqlAdministratorLogin,omitempty"`
	// VirtualNetworkProfile - Virtual Network profile
	VirtualNetworkProfile *VirtualNetworkProfile `json:"virtualNetworkProfile,omitempty"`
	// ConnectivityEndpoints - Connectivity endpoints
	ConnectivityEndpoints map[string]*string `json:"connectivityEndpoints"`
}

WorkspaceProperties workspace properties

func (WorkspaceProperties) MarshalJSON

func (wp WorkspaceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspaceProperties.

type WorkspacesClient

type WorkspacesClient struct {
	BaseClient
}

WorkspacesClient is the azure Synapse Analytics Management Client

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, resourceGroupName string, workspaceName string, workspaceInfo Workspace) (result WorkspacesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a workspace Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace workspaceInfo - workspace create or update request properties

func (WorkspacesClient) CreateOrUpdatePreparer

func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspaceInfo Workspace) (*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 a 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 SetObject, 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 a 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

func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) List

func (client WorkspacesClient) List(ctx context.Context) (result WorkspaceInfoListResultPage, err error)

List returns a list of workspaces in a subscription

func (WorkspacesClient) ListByResourceGroup

func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceInfoListResultPage, err error)

ListByResourceGroup returns a list of workspaces in 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 WorkspaceInfoListResultIterator, 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 WorkspaceInfoListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (WorkspacesClient) ListByResourceGroupSender

func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) ListComplete

func (client WorkspacesClient) ListComplete(ctx context.Context) (result WorkspaceInfoListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (WorkspacesClient) ListPreparer

func (client WorkspacesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (WorkspacesClient) ListResponder

func (client WorkspacesClient) ListResponder(resp *http.Response) (result WorkspaceInfoListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WorkspacesClient) ListSender

func (client WorkspacesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (WorkspacesClient) Update

func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, workspacePatchInfo WorkspacePatchInfo) (result WorkspacesUpdateFuture, err error)

Update updates a workspace Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. workspaceName - the name of the workspace workspacePatchInfo - workspace patch request properties

func (WorkspacesClient) UpdatePreparer

func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspacePatchInfo WorkspacePatchInfo) (*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.Future
}

WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WorkspacesCreateOrUpdateFuture) Result

func (future *WorkspacesCreateOrUpdateFuture) Result(client WorkspacesClient) (w Workspace, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WorkspacesDeleteFuture

type WorkspacesDeleteFuture struct {
	azure.Future
}

WorkspacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WorkspacesDeleteFuture) Result

func (future *WorkspacesDeleteFuture) Result(client WorkspacesClient) (so SetObject, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WorkspacesUpdateFuture

type WorkspacesUpdateFuture struct {
	azure.Future
}

WorkspacesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WorkspacesUpdateFuture) Result

func (future *WorkspacesUpdateFuture) Result(client WorkspacesClient) (w Workspace, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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