Documentation ¶
Index ¶
- func ValidateBaselineRuleID(input interface{}, key string) (warnings []string, errors []error)
- type BaselineRuleId
- type CreateOrUpdateOperationResponse
- 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 commonids.SqlDatabaseId) (result ListByBaselineOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByBaselineCompleteResult, error)
- func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByBaselineCompleteResult, err error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByBaselineCompleteResult
- type ListByBaselineCustomPager
- 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
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) FromParseResult ¶
func (id *BaselineRuleId) FromParseResult(input resourceids.ParseResult) error
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 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 commonids.SqlDatabaseId) (result ListByBaselineOperationResponse, err error)
ListByBaseline ...
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineComplete ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByBaselineCompleteResult, error)
ListByBaselineComplete retrieves all the results into a single object
func (DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineCompleteMatchingPredicate ¶
func (c DatabaseSqlVulnerabilityAssessmentRuleBaselinesClient) ListByBaselineCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, 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 { LatestHttpResponse *http.Response Items []DatabaseSqlVulnerabilityAssessmentRuleBaseline }
type ListByBaselineCustomPager ¶
func (*ListByBaselineCustomPager) NextPageLink ¶
func (p *ListByBaselineCustomPager) NextPageLink() *odata.Link
type ListByBaselineOperationResponse ¶
type ListByBaselineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseSqlVulnerabilityAssessmentRuleBaseline }
Source Files ¶
- client.go
- id_baselinerule.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