Documentation ¶
Index ¶
- func ValidateBaselineRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type BaselineRuleId
- type CreateOrUpdateOperationResponse
- type DatabaseId
- type DatabaseSqlVulnerabilityAssessmentRuleBaseline
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineInput
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineOperationPredicate
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties
- type DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, id BaselineRuleId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, id BaselineRuleId) (result DeleteOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, id BaselineRuleId) (result GetOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaseline(ctx context.Context, id DatabaseId) (result ListByBaselineOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineComplete(ctx context.Context, id DatabaseId) (ListByBaselineCompleteResult, error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result ListByBaselineCompleteResult, err error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByBaselineCompleteResult
- type ListByBaselineOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBaselineRuleID ¶
ValidateBaselineRuleID checks that 'input' can be parsed as a Baseline Rule ID
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
Types ¶
type BaselineRuleId ¶
type BaselineRuleId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string RuleId string }
BaselineRuleId is a struct representing the Resource ID for a Baseline Rule
func NewBaselineRuleID ¶
func NewBaselineRuleID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, ruleId string) BaselineRuleId
NewBaselineRuleID returns a new BaselineRuleId struct
func ParseBaselineRuleID ¶
func ParseBaselineRuleID(input string) (*BaselineRuleId, error)
ParseBaselineRuleID parses 'input' into a BaselineRuleId
func ParseBaselineRuleIDInsensitively ¶
func ParseBaselineRuleIDInsensitively(input string) (*BaselineRuleId, error)
ParseBaselineRuleIDInsensitively parses 'input' case-insensitively into a BaselineRuleId note: this method should only be used for API response data and not user input
func (BaselineRuleId) ID ¶
func (id BaselineRuleId) ID() string
ID returns the formatted Baseline Rule ID
func (BaselineRuleId) Segments ¶
func (id BaselineRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Baseline Rule ID
func (BaselineRuleId) String ¶
func (id BaselineRuleId) String() string
String returns a human-readable description of this Baseline Rule ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseSqlVulnerabilityAssessmentRuleBaseline }
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 DatabaseSqlVulnerabilityAssessmentRuleBaseline ¶
type DatabaseSqlVulnerabilityAssessmentRuleBaseline struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseSqlVulnerabilityAssessmentRuleBaselineInput ¶
type DatabaseSqlVulnerabilityAssessmentRuleBaselineInput struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseSqlVulnerabilityAssessmentRuleBaselineOperationPredicate ¶
type DatabaseSqlVulnerabilityAssessmentRuleBaselineOperationPredicate struct { Id *string Name *string Type *string }
type DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties ¶
type DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties struct {
Results [][]string `json:"results"`
}
type DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient ¶
type DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient struct {
Client *resourcemanager.Client
}
func NewDatabaseSqlVulnerabilityAssessmentRuleBaselinesClientWithBaseURI ¶
func NewDatabaseSqlVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient, error)
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, id BaselineRuleId, input DatabaseSqlVulnerabilityAssessmentRuleBaselineInput) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) Delete ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, id BaselineRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) Get ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, id BaselineRuleId) (result GetOperationResponse, err error)
Get ...
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaseline ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaseline(ctx context.Context, id DatabaseId) (result ListByBaselineOperationResponse, err error)
ListByBaseline ...
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineComplete ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineComplete(ctx context.Context, id DatabaseId) (ListByBaselineCompleteResult, error)
ListByBaselineComplete retrieves all the results into a single object
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineCompleteMatchingPredicate ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineCompleteMatchingPredicate(ctx context.Context, id DatabaseId, predicate DatabaseSqlVulnerabilityAssessmentRuleBaselineOperationPredicate) (result ListByBaselineCompleteResult, err error)
ListByBaselineCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseSqlVulnerabilityAssessmentRuleBaseline }
type ListByBaselineCompleteResult ¶
type ListByBaselineCompleteResult struct {
Items []DatabaseSqlVulnerabilityAssessmentRuleBaseline
}
type ListByBaselineOperationResponse ¶
type ListByBaselineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseSqlVulnerabilityAssessmentRuleBaseline }
Source Files ¶
- client.go
- id_baselinerule.go
- id_database.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbybaseline.go
- model_databasesqlvulnerabilityassessmentrulebaseline.go
- model_databasesqlvulnerabilityassessmentrulebaselineinput.go
- model_databasesqlvulnerabilityassessmentrulebaselineinputproperties.go
- model_databasesqlvulnerabilityassessmentrulebaselineproperties.go
- predicates.go
- version.go