Documentation ¶
Index ¶
- func PossibleValuesForDataMaskingFunction() []string
- func PossibleValuesForDataMaskingRuleState() []string
- func ValidateRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- type DataMaskingFunction
- type DataMaskingRule
- type DataMaskingRuleListResult
- type DataMaskingRuleProperties
- type DataMaskingRuleState
- type DataMaskingRulesCreateOrUpdateOperationResponse
- type DataMaskingRulesGetOperationResponse
- type DataMaskingRulesListBySqlPoolOperationResponse
- type RuleId
- type SqlPoolId
- type SqlPoolsDataMaskingRulesClient
- func (c SqlPoolsDataMaskingRulesClient) DataMaskingRulesCreateOrUpdate(ctx context.Context, id RuleId, input DataMaskingRule) (result DataMaskingRulesCreateOrUpdateOperationResponse, err error)
- func (c SqlPoolsDataMaskingRulesClient) DataMaskingRulesGet(ctx context.Context, id RuleId) (result DataMaskingRulesGetOperationResponse, err error)
- func (c SqlPoolsDataMaskingRulesClient) DataMaskingRulesListBySqlPool(ctx context.Context, id SqlPoolId) (result DataMaskingRulesListBySqlPoolOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataMaskingFunction ¶
func PossibleValuesForDataMaskingFunction() []string
func PossibleValuesForDataMaskingRuleState ¶
func PossibleValuesForDataMaskingRuleState() []string
func ValidateRuleID ¶
ValidateRuleID checks that 'input' can be parsed as a Rule ID
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
Types ¶
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 DataMaskingRule ¶
type DataMaskingRuleListResult ¶
type DataMaskingRuleListResult struct {
Value *[]DataMaskingRule `json:"value,omitempty"`
}
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 DataMaskingRulesCreateOrUpdateOperationResponse ¶
type DataMaskingRulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataMaskingRule }
type DataMaskingRulesGetOperationResponse ¶
type DataMaskingRulesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataMaskingRule }
type DataMaskingRulesListBySqlPoolOperationResponse ¶
type DataMaskingRulesListBySqlPoolOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataMaskingRuleListResult }
type RuleId ¶
type RuleId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string RuleName string }
RuleId is a struct representing the Resource ID for a Rule
func NewRuleID ¶
func NewRuleID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, ruleName string) RuleId
NewRuleID returns a new RuleId struct
func ParseRuleID ¶
ParseRuleID parses 'input' into a RuleId
func ParseRuleIDInsensitively ¶
ParseRuleIDInsensitively parses 'input' case-insensitively into a RuleId note: this method should only be used for API response data and not user input
func (*RuleId) FromParseResult ¶
func (id *RuleId) FromParseResult(input resourceids.ParseResult) error
func (RuleId) Segments ¶
func (id RuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rule ID
type SqlPoolId ¶
type SqlPoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string }
SqlPoolId is a struct representing the Resource ID for a Sql Pool
func NewSqlPoolID ¶
func NewSqlPoolID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string) SqlPoolId
NewSqlPoolID returns a new SqlPoolId struct
func ParseSqlPoolID ¶
ParseSqlPoolID parses 'input' into a SqlPoolId
func ParseSqlPoolIDInsensitively ¶
ParseSqlPoolIDInsensitively parses 'input' case-insensitively into a SqlPoolId note: this method should only be used for API response data and not user input
func (*SqlPoolId) FromParseResult ¶
func (id *SqlPoolId) FromParseResult(input resourceids.ParseResult) error
func (SqlPoolId) Segments ¶
func (id SqlPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Pool ID
type SqlPoolsDataMaskingRulesClient ¶
type SqlPoolsDataMaskingRulesClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsDataMaskingRulesClientWithBaseURI ¶
func NewSqlPoolsDataMaskingRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsDataMaskingRulesClient, error)
func (SqlPoolsDataMaskingRulesClient) DataMaskingRulesCreateOrUpdate ¶
func (c SqlPoolsDataMaskingRulesClient) DataMaskingRulesCreateOrUpdate(ctx context.Context, id RuleId, input DataMaskingRule) (result DataMaskingRulesCreateOrUpdateOperationResponse, err error)
DataMaskingRulesCreateOrUpdate ...
func (SqlPoolsDataMaskingRulesClient) DataMaskingRulesGet ¶
func (c SqlPoolsDataMaskingRulesClient) DataMaskingRulesGet(ctx context.Context, id RuleId) (result DataMaskingRulesGetOperationResponse, err error)
DataMaskingRulesGet ...
func (SqlPoolsDataMaskingRulesClient) DataMaskingRulesListBySqlPool ¶
func (c SqlPoolsDataMaskingRulesClient) DataMaskingRulesListBySqlPool(ctx context.Context, id SqlPoolId) (result DataMaskingRulesListBySqlPoolOperationResponse, err error)
DataMaskingRulesListBySqlPool ...