Documentation ¶
Index ¶
- func PossibleValuesForRecommendedSensitivityLabelUpdateKind() []string
- func PossibleValuesForSensitivityLabelRank() []string
- func PossibleValuesForSensitivityLabelUpdateKind() []string
- func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTableColumnID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DisableRecommendationOperationResponse
- type EnableRecommendationOperationResponse
- type GetOperationResponse
- type ListCurrentByDatabaseCompleteResult
- type ListCurrentByDatabaseOperationOptions
- type ListCurrentByDatabaseOperationResponse
- type ListRecommendedByDatabaseCompleteResult
- type ListRecommendedByDatabaseOperationOptions
- type ListRecommendedByDatabaseOperationResponse
- type ManagedDatabaseRecommendedSensitivityLabelsUpdateOperationResponse
- type ManagedDatabaseSensitivityLabelsClient
- func (c ManagedDatabaseSensitivityLabelsClient) CreateOrUpdate(ctx context.Context, id TableColumnId, input SensitivityLabel) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) Delete(ctx context.Context, id TableColumnId) (result DeleteOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) DisableRecommendation(ctx context.Context, id TableColumnId) (result DisableRecommendationOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) EnableRecommendation(ctx context.Context, id TableColumnId) (result EnableRecommendationOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) Get(ctx context.Context, id TableColumnId) (result GetOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListCurrentByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId, ...) (ListCurrentByDatabaseCompleteResult, error)
- func (c ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListCurrentByDatabaseCompleteResult, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListRecommendedByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId, ...) (ListRecommendedByDatabaseCompleteResult, error)
- func (c ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListRecommendedByDatabaseCompleteResult, err error)
- func (c ManagedDatabaseSensitivityLabelsClient) ManagedDatabaseRecommendedSensitivityLabelsUpdate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ManagedDatabaseRecommendedSensitivityLabelsUpdateOperationResponse, ...)
- func (c ManagedDatabaseSensitivityLabelsClient) Update(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result UpdateOperationResponse, err error)
- type ManagedInstanceDatabaseId
- func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) ManagedInstanceDatabaseId
- func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
- func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
- type RecommendedSensitivityLabelUpdate
- type RecommendedSensitivityLabelUpdateKind
- type RecommendedSensitivityLabelUpdateList
- type RecommendedSensitivityLabelUpdateProperties
- type SensitivityLabel
- type SensitivityLabelOperationPredicate
- type SensitivityLabelProperties
- type SensitivityLabelRank
- type SensitivityLabelUpdate
- type SensitivityLabelUpdateKind
- type SensitivityLabelUpdateList
- type SensitivityLabelUpdateProperties
- type TableColumnId
- 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 ValidateManagedInstanceDatabaseID ¶
func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedInstanceDatabaseID checks that 'input' can be parsed as a Managed Instance Database ID
func ValidateTableColumnID ¶
ValidateTableColumnID checks that 'input' can be parsed as a Table Column ID
Types ¶
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 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 ManagedDatabaseSensitivityLabelsClient ¶
type ManagedDatabaseSensitivityLabelsClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseSensitivityLabelsClientWithBaseURI ¶
func NewManagedDatabaseSensitivityLabelsClientWithBaseURI(api environments.Api) (*ManagedDatabaseSensitivityLabelsClient, error)
func (ManagedDatabaseSensitivityLabelsClient) CreateOrUpdate ¶
func (c ManagedDatabaseSensitivityLabelsClient) CreateOrUpdate(ctx context.Context, id TableColumnId, input SensitivityLabel) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedDatabaseSensitivityLabelsClient) Delete ¶
func (c ManagedDatabaseSensitivityLabelsClient) Delete(ctx context.Context, id TableColumnId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedDatabaseSensitivityLabelsClient) DisableRecommendation ¶
func (c ManagedDatabaseSensitivityLabelsClient) DisableRecommendation(ctx context.Context, id TableColumnId) (result DisableRecommendationOperationResponse, err error)
DisableRecommendation ...
func (ManagedDatabaseSensitivityLabelsClient) EnableRecommendation ¶
func (c ManagedDatabaseSensitivityLabelsClient) EnableRecommendation(ctx context.Context, id TableColumnId) (result EnableRecommendationOperationResponse, err error)
EnableRecommendation ...
func (ManagedDatabaseSensitivityLabelsClient) Get ¶
func (c ManagedDatabaseSensitivityLabelsClient) Get(ctx context.Context, id TableColumnId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabase ¶
func (c ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabase(ctx context.Context, id ManagedInstanceDatabaseId, options ListCurrentByDatabaseOperationOptions) (result ListCurrentByDatabaseOperationResponse, err error)
ListCurrentByDatabase ...
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseComplete ¶
func (c ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId, options ListCurrentByDatabaseOperationOptions) (ListCurrentByDatabaseCompleteResult, error)
ListCurrentByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseSensitivityLabelsClient) ListCurrentByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, options ListCurrentByDatabaseOperationOptions, predicate SensitivityLabelOperationPredicate) (result ListCurrentByDatabaseCompleteResult, err error)
ListCurrentByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabase ¶
func (c ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabase(ctx context.Context, id ManagedInstanceDatabaseId, options ListRecommendedByDatabaseOperationOptions) (result ListRecommendedByDatabaseOperationResponse, err error)
ListRecommendedByDatabase ...
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseComplete ¶
func (c ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId, options ListRecommendedByDatabaseOperationOptions) (ListRecommendedByDatabaseCompleteResult, error)
ListRecommendedByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseSensitivityLabelsClient) ListRecommendedByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, options ListRecommendedByDatabaseOperationOptions, predicate SensitivityLabelOperationPredicate) (result ListRecommendedByDatabaseCompleteResult, err error)
ListRecommendedByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedDatabaseSensitivityLabelsClient) ManagedDatabaseRecommendedSensitivityLabelsUpdate ¶
func (c ManagedDatabaseSensitivityLabelsClient) ManagedDatabaseRecommendedSensitivityLabelsUpdate(ctx context.Context, id ManagedInstanceDatabaseId, input RecommendedSensitivityLabelUpdateList) (result ManagedDatabaseRecommendedSensitivityLabelsUpdateOperationResponse, err error)
ManagedDatabaseRecommendedSensitivityLabelsUpdate ...
func (ManagedDatabaseSensitivityLabelsClient) Update ¶
func (c ManagedDatabaseSensitivityLabelsClient) Update(ctx context.Context, id ManagedInstanceDatabaseId, input SensitivityLabelUpdateList) (result UpdateOperationResponse, err error)
Update ...
type ManagedInstanceDatabaseId ¶
type ManagedInstanceDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string }
ManagedInstanceDatabaseId is a struct representing the Resource ID for a Managed Instance Database
func NewManagedInstanceDatabaseID ¶
func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string) ManagedInstanceDatabaseId
NewManagedInstanceDatabaseID returns a new ManagedInstanceDatabaseId struct
func ParseManagedInstanceDatabaseID ¶
func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseID parses 'input' into a ManagedInstanceDatabaseId
func ParseManagedInstanceDatabaseIDInsensitively ¶
func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseIDInsensitively parses 'input' case-insensitively into a ManagedInstanceDatabaseId note: this method should only be used for API response data and not user input
func (ManagedInstanceDatabaseId) ID ¶
func (id ManagedInstanceDatabaseId) ID() string
ID returns the formatted Managed Instance Database ID
func (ManagedInstanceDatabaseId) Segments ¶
func (id ManagedInstanceDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance Database ID
func (ManagedInstanceDatabaseId) String ¶
func (id ManagedInstanceDatabaseId) String() string
String returns a human-readable description of this Managed Instance Database ID
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 TableColumnId ¶
type TableColumnId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string SchemaName string TableName string ColumnName string }
TableColumnId is a struct representing the Resource ID for a Table Column
func NewTableColumnID ¶
func NewTableColumnID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) TableColumnId
NewTableColumnID returns a new TableColumnId struct
func ParseTableColumnID ¶
func ParseTableColumnID(input string) (*TableColumnId, error)
ParseTableColumnID parses 'input' into a TableColumnId
func ParseTableColumnIDInsensitively ¶
func ParseTableColumnIDInsensitively(input string) (*TableColumnId, error)
ParseTableColumnIDInsensitively parses 'input' case-insensitively into a TableColumnId note: this method should only be used for API response data and not user input
func (TableColumnId) ID ¶
func (id TableColumnId) ID() string
ID returns the formatted Table Column ID
func (TableColumnId) Segments ¶
func (id TableColumnId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Table Column ID
func (TableColumnId) String ¶
func (id TableColumnId) String() string
String returns a human-readable description of this Table Column ID
Source Files ¶
- client.go
- constants.go
- id_managedinstancedatabase.go
- id_tablecolumn.go
- method_createorupdate.go
- method_delete.go
- method_disablerecommendation.go
- method_enablerecommendation.go
- method_get.go
- method_listcurrentbydatabase.go
- method_listrecommendedbydatabase.go
- method_manageddatabaserecommendedsensitivitylabelsupdate.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