Documentation ¶
Index ¶
- func PossibleValuesForRecommendedSensitivityLabelUpdateKind() []string
- func PossibleValuesForSensitivityLabelRank() []string
- func PossibleValuesForSensitivityLabelUpdateKind() []string
- func ValidateColumnID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type ColumnId
- type CreateOrUpdateOperationResponse
- type DatabaseId
- type DeleteOperationResponse
- type DisableRecommendationOperationResponse
- type EnableRecommendationOperationResponse
- type GetOperationResponse
- 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 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 ColumnId) (result GetOperationResponse, err error)
- func (c SensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, id DatabaseId, ...) (result ListCurrentByDatabaseOperationResponse, err error)
- func (c SensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, id DatabaseId, ...) (ListCurrentByDatabaseCompleteResult, error)
- func (c SensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result ListCurrentByDatabaseCompleteResult, err error)
- func (c SensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, id DatabaseId, ...) (result ListRecommendedByDatabaseOperationResponse, err error)
- func (c SensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, id DatabaseId, ...) (ListRecommendedByDatabaseCompleteResult, error)
- func (c SensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result ListRecommendedByDatabaseCompleteResult, err error)
- func (c SensitivityLabelsClient) RecommendedSensitivityLabelsUpdate(ctx context.Context, id DatabaseId, ...) (result RecommendedSensitivityLabelsUpdateOperationResponse, err error)
- func (c SensitivityLabelsClient) Update(ctx context.Context, id DatabaseId, input SensitivityLabelUpdateList) (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 PossibleValuesForSensitivityLabelUpdateKind ¶
func PossibleValuesForSensitivityLabelUpdateKind() []string
func ValidateColumnID ¶
ValidateColumnID checks that 'input' can be parsed as a Column ID
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database 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) 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 DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, serverName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SensitivityLabel }
type ListCurrentByDatabaseCompleteResult ¶
type ListCurrentByDatabaseCompleteResult struct {
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 {
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 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(api environments.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 ColumnId) (result GetOperationResponse, err error)
Get ...
func (SensitivityLabelsClient) ListCurrentByDatabase ¶
func (c SensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, id DatabaseId, options ListCurrentByDatabaseOperationOptions) (result ListCurrentByDatabaseOperationResponse, err error)
ListCurrentByDatabase ...
func (SensitivityLabelsClient) ListCurrentByDatabaseComplete ¶
func (c SensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, id DatabaseId, options ListCurrentByDatabaseOperationOptions) (ListCurrentByDatabaseCompleteResult, error)
ListCurrentByDatabaseComplete retrieves all the results into a single object
func (SensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate ¶
func (c SensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, 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 DatabaseId, options ListRecommendedByDatabaseOperationOptions) (result ListRecommendedByDatabaseOperationResponse, err error)
ListRecommendedByDatabase ...
func (SensitivityLabelsClient) ListRecommendedByDatabaseComplete ¶
func (c SensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, id DatabaseId, options ListRecommendedByDatabaseOperationOptions) (ListRecommendedByDatabaseCompleteResult, error)
ListRecommendedByDatabaseComplete retrieves all the results into a single object
func (SensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate ¶
func (c SensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, 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 DatabaseId, input RecommendedSensitivityLabelUpdateList) (result RecommendedSensitivityLabelsUpdateOperationResponse, err error)
RecommendedSensitivityLabelsUpdate ...
func (SensitivityLabelsClient) Update ¶
func (c SensitivityLabelsClient) Update(ctx context.Context, id DatabaseId, input SensitivityLabelUpdateList) (result UpdateOperationResponse, err error)
Update ...
Source Files ¶
- client.go
- constants.go
- id_column.go
- id_database.go
- method_createorupdate.go
- method_delete.go
- method_disablerecommendation.go
- method_enablerecommendation.go
- method_get.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