Documentation ¶
Index ¶
- func PossibleValuesForRecommendedSensitivityLabelUpdateKind() []string
- func PossibleValuesForSensitivityLabelRank() []string
- func PossibleValuesForSensitivityLabelSource() []string
- func PossibleValuesForSensitivityLabelUpdateKind() []string
- func ValidateColumnID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSensitivityLabelSourceID(input interface{}, key string) (warnings []string, errors []error)
- type ColumnId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DisableRecommendationOperationResponse
- type EnableRecommendationOperationResponse
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationOptions
- type ListByDatabaseOperationResponse
- type ListCurrentByDatabaseCompleteResult
- type ListCurrentByDatabaseOperationOptions
- type ListCurrentByDatabaseOperationResponse
- type ListRecommendedByDatabaseCompleteResult
- type ListRecommendedByDatabaseOperationOptions
- type ListRecommendedByDatabaseOperationResponse
- type RecommendedSensitivityLabelUpdate
- type RecommendedSensitivityLabelUpdateKind
- type RecommendedSensitivityLabelUpdateList
- type RecommendedSensitivityLabelUpdateProperties
- type RecommendedSensitivityLabelsUpdateOperationResponse
- type SensitivityLabel
- type SensitivityLabelOperationPredicate
- type SensitivityLabelProperties
- type SensitivityLabelRank
- type SensitivityLabelSource
- type SensitivityLabelSourceId
- func NewSensitivityLabelSourceID(subscriptionId string, resourceGroupName string, serverName string, ...) SensitivityLabelSourceId
- func ParseSensitivityLabelSourceID(input string) (*SensitivityLabelSourceId, error)
- func ParseSensitivityLabelSourceIDInsensitively(input string) (*SensitivityLabelSourceId, error)
- type SensitivityLabelUpdate
- type SensitivityLabelUpdateKind
- type SensitivityLabelUpdateList
- type SensitivityLabelUpdateProperties
- type SensitivityLabelsClient
- func (c SensitivityLabelsClient) CreateOrUpdate(ctx context.Context, id ColumnId, input SensitivityLabel) (result CreateOrUpdateOperationResponse, err error)
- func (c SensitivityLabelsClient) Delete(ctx context.Context, id ColumnId) (result DeleteOperationResponse, err error)
- func (c SensitivityLabelsClient) DisableRecommendation(ctx context.Context, id ColumnId) (result DisableRecommendationOperationResponse, err error)
- func (c SensitivityLabelsClient) EnableRecommendation(ctx context.Context, id ColumnId) (result EnableRecommendationOperationResponse, err error)
- func (c SensitivityLabelsClient) Get(ctx context.Context, id SensitivityLabelSourceId) (result GetOperationResponse, err error)
- func (c SensitivityLabelsClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseOperationResponse, err error)
- func (c SensitivityLabelsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId, ...) (ListByDatabaseCompleteResult, error)
- func (c SensitivityLabelsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- func (c SensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListCurrentByDatabaseOperationResponse, err error)
- func (c SensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId, ...) (ListCurrentByDatabaseCompleteResult, error)
- func (c SensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListCurrentByDatabaseCompleteResult, err error)
- func (c SensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListRecommendedByDatabaseOperationResponse, err error)
- func (c SensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId, ...) (ListRecommendedByDatabaseCompleteResult, error)
- func (c SensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListRecommendedByDatabaseCompleteResult, err error)
- func (c SensitivityLabelsClient) RecommendedSensitivityLabelsUpdate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result RecommendedSensitivityLabelsUpdateOperationResponse, err error)
- func (c SensitivityLabelsClient) Update(ctx context.Context, id commonids.SqlDatabaseId, ...) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRecommendedSensitivityLabelUpdateKind ¶
func PossibleValuesForRecommendedSensitivityLabelUpdateKind() []string
func PossibleValuesForSensitivityLabelRank ¶
func PossibleValuesForSensitivityLabelRank() []string
func PossibleValuesForSensitivityLabelSource ¶
func PossibleValuesForSensitivityLabelSource() []string
func PossibleValuesForSensitivityLabelUpdateKind ¶
func PossibleValuesForSensitivityLabelUpdateKind() []string
func ValidateColumnID ¶
ValidateColumnID checks that 'input' can be parsed as a Column ID
func ValidateSensitivityLabelSourceID ¶
func ValidateSensitivityLabelSourceID(input interface{}, key string) (warnings []string, errors []error)
ValidateSensitivityLabelSourceID checks that 'input' can be parsed as a Sensitivity Label Source ID
Types ¶
type ColumnId ¶
type ColumnId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SchemaName string TableName string ColumnName string }
ColumnId is a struct representing the Resource ID for a Column
func NewColumnID ¶
func NewColumnID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string) ColumnId
NewColumnID returns a new ColumnId struct
func ParseColumnID ¶
ParseColumnID parses 'input' into a ColumnId
func ParseColumnIDInsensitively ¶
ParseColumnIDInsensitively parses 'input' case-insensitively into a ColumnId note: this method should only be used for API response data and not user input
func (*ColumnId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ColumnId) FromParseResult(input resourceids.ParseResult) error
func (ColumnId) Segments ¶
func (id ColumnId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Column ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SensitivityLabel }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SensitivityLabel }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []SensitivityLabel }
type ListByDatabaseOperationOptions ¶
type ListByDatabaseOperationOptions struct {
Filter *string
}
func DefaultListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions() ListByDatabaseOperationOptions
func (ListByDatabaseOperationOptions) ToHeaders ¶
func (o ListByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListByDatabaseOperationOptions) ToOData ¶
func (o ListByDatabaseOperationOptions) ToOData() *odata.Query
func (ListByDatabaseOperationOptions) ToQuery ¶
func (o ListByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SensitivityLabel }
type ListCurrentByDatabaseCompleteResult ¶
type ListCurrentByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []SensitivityLabel }
type ListCurrentByDatabaseOperationOptions ¶
func DefaultListCurrentByDatabaseOperationOptions ¶
func DefaultListCurrentByDatabaseOperationOptions() ListCurrentByDatabaseOperationOptions
func (ListCurrentByDatabaseOperationOptions) ToHeaders ¶
func (o ListCurrentByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListCurrentByDatabaseOperationOptions) ToOData ¶
func (o ListCurrentByDatabaseOperationOptions) ToOData() *odata.Query
func (ListCurrentByDatabaseOperationOptions) ToQuery ¶
func (o ListCurrentByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListCurrentByDatabaseOperationResponse ¶
type ListCurrentByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SensitivityLabel }
type ListRecommendedByDatabaseCompleteResult ¶
type ListRecommendedByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []SensitivityLabel }
type ListRecommendedByDatabaseOperationOptions ¶
type ListRecommendedByDatabaseOperationOptions struct { Filter *string IncludeDisabledRecommendations *bool }
func DefaultListRecommendedByDatabaseOperationOptions ¶
func DefaultListRecommendedByDatabaseOperationOptions() ListRecommendedByDatabaseOperationOptions
func (ListRecommendedByDatabaseOperationOptions) ToHeaders ¶
func (o ListRecommendedByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListRecommendedByDatabaseOperationOptions) ToOData ¶
func (o ListRecommendedByDatabaseOperationOptions) ToOData() *odata.Query
func (ListRecommendedByDatabaseOperationOptions) ToQuery ¶
func (o ListRecommendedByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListRecommendedByDatabaseOperationResponse ¶
type ListRecommendedByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SensitivityLabel }
type RecommendedSensitivityLabelUpdate ¶
type RecommendedSensitivityLabelUpdate struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RecommendedSensitivityLabelUpdateProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecommendedSensitivityLabelUpdateKind ¶
type RecommendedSensitivityLabelUpdateKind string
const ( RecommendedSensitivityLabelUpdateKindDisable RecommendedSensitivityLabelUpdateKind = "disable" RecommendedSensitivityLabelUpdateKindEnable RecommendedSensitivityLabelUpdateKind = "enable" )
func (*RecommendedSensitivityLabelUpdateKind) UnmarshalJSON ¶
func (s *RecommendedSensitivityLabelUpdateKind) UnmarshalJSON(bytes []byte) error
type RecommendedSensitivityLabelUpdateList ¶
type RecommendedSensitivityLabelUpdateList struct {
Operations *[]RecommendedSensitivityLabelUpdate `json:"operations,omitempty"`
}
type RecommendedSensitivityLabelUpdateProperties ¶
type RecommendedSensitivityLabelUpdateProperties struct { Column string `json:"column"` Op RecommendedSensitivityLabelUpdateKind `json:"op"` Schema string `json:"schema"` Table string `json:"table"` }
type SensitivityLabel ¶
type SensitivityLabel struct { Id *string `json:"id,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Properties *SensitivityLabelProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SensitivityLabelOperationPredicate ¶
type SensitivityLabelOperationPredicate struct { Id *string ManagedBy *string Name *string Type *string }
func (SensitivityLabelOperationPredicate) Matches ¶
func (p SensitivityLabelOperationPredicate) Matches(input SensitivityLabel) bool
type SensitivityLabelProperties ¶
type SensitivityLabelProperties struct { ColumnName *string `json:"columnName,omitempty"` InformationType *string `json:"informationType,omitempty"` InformationTypeId *string `json:"informationTypeId,omitempty"` IsDisabled *bool `json:"isDisabled,omitempty"` LabelId *string `json:"labelId,omitempty"` LabelName *string `json:"labelName,omitempty"` Rank *SensitivityLabelRank `json:"rank,omitempty"` SchemaName *string `json:"schemaName,omitempty"` TableName *string `json:"tableName,omitempty"` }
type SensitivityLabelRank ¶
type SensitivityLabelRank string
const ( SensitivityLabelRankCritical SensitivityLabelRank = "Critical" SensitivityLabelRankHigh SensitivityLabelRank = "High" SensitivityLabelRankLow SensitivityLabelRank = "Low" SensitivityLabelRankMedium SensitivityLabelRank = "Medium" SensitivityLabelRankNone SensitivityLabelRank = "None" )
func (*SensitivityLabelRank) UnmarshalJSON ¶
func (s *SensitivityLabelRank) UnmarshalJSON(bytes []byte) error
type SensitivityLabelSource ¶
type SensitivityLabelSource string
const ( SensitivityLabelSourceCurrent SensitivityLabelSource = "current" SensitivityLabelSourceRecommended SensitivityLabelSource = "recommended" )
func (*SensitivityLabelSource) UnmarshalJSON ¶
func (s *SensitivityLabelSource) UnmarshalJSON(bytes []byte) error
type SensitivityLabelSourceId ¶
type SensitivityLabelSourceId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SchemaName string TableName string ColumnName string SensitivityLabelSource SensitivityLabelSource }
SensitivityLabelSourceId is a struct representing the Resource ID for a Sensitivity Label Source
func NewSensitivityLabelSourceID ¶
func NewSensitivityLabelSourceID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string, columnName string, sensitivityLabelSource SensitivityLabelSource) SensitivityLabelSourceId
NewSensitivityLabelSourceID returns a new SensitivityLabelSourceId struct
func ParseSensitivityLabelSourceID ¶
func ParseSensitivityLabelSourceID(input string) (*SensitivityLabelSourceId, error)
ParseSensitivityLabelSourceID parses 'input' into a SensitivityLabelSourceId
func ParseSensitivityLabelSourceIDInsensitively ¶
func ParseSensitivityLabelSourceIDInsensitively(input string) (*SensitivityLabelSourceId, error)
ParseSensitivityLabelSourceIDInsensitively parses 'input' case-insensitively into a SensitivityLabelSourceId note: this method should only be used for API response data and not user input
func (*SensitivityLabelSourceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SensitivityLabelSourceId) FromParseResult(input resourceids.ParseResult) error
func (SensitivityLabelSourceId) ID ¶
func (id SensitivityLabelSourceId) ID() string
ID returns the formatted Sensitivity Label Source ID
func (SensitivityLabelSourceId) Segments ¶
func (id SensitivityLabelSourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sensitivity Label Source ID
func (SensitivityLabelSourceId) String ¶
func (id SensitivityLabelSourceId) String() string
String returns a human-readable description of this Sensitivity Label Source ID
type SensitivityLabelUpdate ¶
type SensitivityLabelUpdate struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SensitivityLabelUpdateProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SensitivityLabelUpdateKind ¶
type SensitivityLabelUpdateKind string
const ( SensitivityLabelUpdateKindRemove SensitivityLabelUpdateKind = "remove" SensitivityLabelUpdateKindSet SensitivityLabelUpdateKind = "set" )
func (*SensitivityLabelUpdateKind) UnmarshalJSON ¶
func (s *SensitivityLabelUpdateKind) UnmarshalJSON(bytes []byte) error
type SensitivityLabelUpdateList ¶
type SensitivityLabelUpdateList struct {
Operations *[]SensitivityLabelUpdate `json:"operations,omitempty"`
}
type SensitivityLabelUpdateProperties ¶
type SensitivityLabelUpdateProperties struct { Column string `json:"column"` Op SensitivityLabelUpdateKind `json:"op"` Schema string `json:"schema"` SensitivityLabel *SensitivityLabel `json:"sensitivityLabel,omitempty"` Table string `json:"table"` }
type SensitivityLabelsClient ¶
type SensitivityLabelsClient struct {
Client *resourcemanager.Client
}
func NewSensitivityLabelsClientWithBaseURI ¶
func NewSensitivityLabelsClientWithBaseURI(sdkApi sdkEnv.Api) (*SensitivityLabelsClient, error)
func (SensitivityLabelsClient) CreateOrUpdate ¶
func (c SensitivityLabelsClient) CreateOrUpdate(ctx context.Context, id ColumnId, input SensitivityLabel) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SensitivityLabelsClient) Delete ¶
func (c SensitivityLabelsClient) Delete(ctx context.Context, id ColumnId) (result DeleteOperationResponse, err error)
Delete ...
func (SensitivityLabelsClient) DisableRecommendation ¶
func (c SensitivityLabelsClient) DisableRecommendation(ctx context.Context, id ColumnId) (result DisableRecommendationOperationResponse, err error)
DisableRecommendation ...
func (SensitivityLabelsClient) EnableRecommendation ¶
func (c SensitivityLabelsClient) EnableRecommendation(ctx context.Context, id ColumnId) (result EnableRecommendationOperationResponse, err error)
EnableRecommendation ...
func (SensitivityLabelsClient) Get ¶
func (c SensitivityLabelsClient) Get(ctx context.Context, id SensitivityLabelSourceId) (result GetOperationResponse, err error)
Get ...
func (SensitivityLabelsClient) ListByDatabase ¶
func (c SensitivityLabelsClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (SensitivityLabelsClient) ListByDatabaseComplete ¶
func (c SensitivityLabelsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (SensitivityLabelsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c SensitivityLabelsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, options ListByDatabaseOperationOptions, predicate SensitivityLabelOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SensitivityLabelsClient) ListCurrentByDatabase ¶
func (c SensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, id commonids.SqlDatabaseId, options ListCurrentByDatabaseOperationOptions) (result ListCurrentByDatabaseOperationResponse, err error)
ListCurrentByDatabase ...
func (SensitivityLabelsClient) ListCurrentByDatabaseComplete ¶
func (c SensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId, options ListCurrentByDatabaseOperationOptions) (ListCurrentByDatabaseCompleteResult, error)
ListCurrentByDatabaseComplete retrieves all the results into a single object
func (SensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate ¶
func (c SensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, options ListCurrentByDatabaseOperationOptions, predicate SensitivityLabelOperationPredicate) (result ListCurrentByDatabaseCompleteResult, err error)
ListCurrentByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SensitivityLabelsClient) ListRecommendedByDatabase ¶
func (c SensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, id commonids.SqlDatabaseId, options ListRecommendedByDatabaseOperationOptions) (result ListRecommendedByDatabaseOperationResponse, err error)
ListRecommendedByDatabase ...
func (SensitivityLabelsClient) ListRecommendedByDatabaseComplete ¶
func (c SensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId, options ListRecommendedByDatabaseOperationOptions) (ListRecommendedByDatabaseCompleteResult, error)
ListRecommendedByDatabaseComplete retrieves all the results into a single object
func (SensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate ¶
func (c SensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, options ListRecommendedByDatabaseOperationOptions, predicate SensitivityLabelOperationPredicate) (result ListRecommendedByDatabaseCompleteResult, err error)
ListRecommendedByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SensitivityLabelsClient) RecommendedSensitivityLabelsUpdate ¶
func (c SensitivityLabelsClient) RecommendedSensitivityLabelsUpdate(ctx context.Context, id commonids.SqlDatabaseId, input RecommendedSensitivityLabelUpdateList) (result RecommendedSensitivityLabelsUpdateOperationResponse, err error)
RecommendedSensitivityLabelsUpdate ...
func (SensitivityLabelsClient) Update ¶
func (c SensitivityLabelsClient) Update(ctx context.Context, id commonids.SqlDatabaseId, input SensitivityLabelUpdateList) (result UpdateOperationResponse, err error)
Update ...
Source Files ¶
- client.go
- constants.go
- id_column.go
- id_sensitivitylabelsource.go
- method_createorupdate.go
- method_delete.go
- method_disablerecommendation.go
- method_enablerecommendation.go
- method_get.go
- method_listbydatabase.go
- method_listcurrentbydatabase.go
- method_listrecommendedbydatabase.go
- method_recommendedsensitivitylabelsupdate.go
- method_update.go
- model_recommendedsensitivitylabelupdate.go
- model_recommendedsensitivitylabelupdatelist.go
- model_recommendedsensitivitylabelupdateproperties.go
- model_sensitivitylabel.go
- model_sensitivitylabelproperties.go
- model_sensitivitylabelupdate.go
- model_sensitivitylabelupdatelist.go
- model_sensitivitylabelupdateproperties.go
- predicates.go
- version.go