Documentation ¶
Index ¶
- func PossibleValuesForDataMaskingFunction() []string
- func PossibleValuesForDataMaskingRuleState() []string
- func ValidateDataMaskingPolicyRuleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataMaskingFunction
- type DataMaskingPolicyRuleId
- func NewDataMaskingPolicyRuleID(subscriptionId string, resourceGroupName string, serverName string, ...) DataMaskingPolicyRuleId
- func ParseDataMaskingPolicyRuleID(input string) (*DataMaskingPolicyRuleId, error)
- func ParseDataMaskingPolicyRuleIDInsensitively(input string) (*DataMaskingPolicyRuleId, error)
- type DataMaskingRule
- type DataMaskingRuleOperationPredicate
- type DataMaskingRuleProperties
- type DataMaskingRuleState
- type DataMaskingRulesClient
- func (c DataMaskingRulesClient) CreateOrUpdate(ctx context.Context, id DataMaskingPolicyRuleId, input DataMaskingRule) (result CreateOrUpdateOperationResponse, err error)
- func (c DataMaskingRulesClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DataMaskingRulesClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DataMaskingRulesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type ListByDatabaseCompleteResult
- type ListByDatabaseCustomPager
- type ListByDatabaseOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataMaskingFunction ¶
func PossibleValuesForDataMaskingFunction() []string
func PossibleValuesForDataMaskingRuleState ¶
func PossibleValuesForDataMaskingRuleState() []string
func ValidateDataMaskingPolicyRuleID ¶
func ValidateDataMaskingPolicyRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateDataMaskingPolicyRuleID checks that 'input' can be parsed as a Data Masking Policy Rule ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataMaskingRule }
type DataMaskingFunction ¶
type DataMaskingFunction string
const ( DataMaskingFunctionCCN DataMaskingFunction = "CCN" DataMaskingFunctionDefault DataMaskingFunction = "Default" DataMaskingFunctionEmail DataMaskingFunction = "Email" DataMaskingFunctionNumber DataMaskingFunction = "Number" DataMaskingFunctionSSN DataMaskingFunction = "SSN" DataMaskingFunctionText DataMaskingFunction = "Text" )
func (*DataMaskingFunction) UnmarshalJSON ¶
func (s *DataMaskingFunction) UnmarshalJSON(bytes []byte) error
type DataMaskingPolicyRuleId ¶
type DataMaskingPolicyRuleId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string RuleName string }
DataMaskingPolicyRuleId is a struct representing the Resource ID for a Data Masking Policy Rule
func NewDataMaskingPolicyRuleID ¶
func NewDataMaskingPolicyRuleID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, ruleName string) DataMaskingPolicyRuleId
NewDataMaskingPolicyRuleID returns a new DataMaskingPolicyRuleId struct
func ParseDataMaskingPolicyRuleID ¶
func ParseDataMaskingPolicyRuleID(input string) (*DataMaskingPolicyRuleId, error)
ParseDataMaskingPolicyRuleID parses 'input' into a DataMaskingPolicyRuleId
func ParseDataMaskingPolicyRuleIDInsensitively ¶
func ParseDataMaskingPolicyRuleIDInsensitively(input string) (*DataMaskingPolicyRuleId, error)
ParseDataMaskingPolicyRuleIDInsensitively parses 'input' case-insensitively into a DataMaskingPolicyRuleId note: this method should only be used for API response data and not user input
func (*DataMaskingPolicyRuleId) FromParseResult ¶
func (id *DataMaskingPolicyRuleId) FromParseResult(input resourceids.ParseResult) error
func (DataMaskingPolicyRuleId) ID ¶
func (id DataMaskingPolicyRuleId) ID() string
ID returns the formatted Data Masking Policy Rule ID
func (DataMaskingPolicyRuleId) Segments ¶
func (id DataMaskingPolicyRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Masking Policy Rule ID
func (DataMaskingPolicyRuleId) String ¶
func (id DataMaskingPolicyRuleId) String() string
String returns a human-readable description of this Data Masking Policy Rule ID
type DataMaskingRule ¶
type DataMaskingRuleOperationPredicate ¶
type DataMaskingRuleOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (DataMaskingRuleOperationPredicate) Matches ¶
func (p DataMaskingRuleOperationPredicate) Matches(input DataMaskingRule) bool
type DataMaskingRuleProperties ¶
type DataMaskingRuleProperties struct { AliasName *string `json:"aliasName,omitempty"` ColumnName string `json:"columnName"` Id *string `json:"id,omitempty"` MaskingFunction DataMaskingFunction `json:"maskingFunction"` NumberFrom *string `json:"numberFrom,omitempty"` NumberTo *string `json:"numberTo,omitempty"` PrefixSize *string `json:"prefixSize,omitempty"` ReplacementString *string `json:"replacementString,omitempty"` RuleState *DataMaskingRuleState `json:"ruleState,omitempty"` SchemaName string `json:"schemaName"` SuffixSize *string `json:"suffixSize,omitempty"` TableName string `json:"tableName"` }
type DataMaskingRuleState ¶
type DataMaskingRuleState string
const ( DataMaskingRuleStateDisabled DataMaskingRuleState = "Disabled" DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled" )
func (*DataMaskingRuleState) UnmarshalJSON ¶
func (s *DataMaskingRuleState) UnmarshalJSON(bytes []byte) error
type DataMaskingRulesClient ¶
type DataMaskingRulesClient struct {
Client *resourcemanager.Client
}
func NewDataMaskingRulesClientWithBaseURI ¶
func NewDataMaskingRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*DataMaskingRulesClient, error)
func (DataMaskingRulesClient) CreateOrUpdate ¶
func (c DataMaskingRulesClient) CreateOrUpdate(ctx context.Context, id DataMaskingPolicyRuleId, input DataMaskingRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DataMaskingRulesClient) ListByDatabase ¶
func (c DataMaskingRulesClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DataMaskingRulesClient) ListByDatabaseComplete ¶
func (c DataMaskingRulesClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DataMaskingRulesClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DataMaskingRulesClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate DataMaskingRuleOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []DataMaskingRule }
type ListByDatabaseCustomPager ¶ added in v0.20240628.1153531
func (*ListByDatabaseCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataMaskingRule }