Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentSystemDatabaseName() []string
- func ValidateRuleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DatabaseSqlVulnerabilityAssessmentRuleBaseline
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineInput
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineOperationPredicate
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListByBaselineCompleteResult
- type ListByBaselineCustomPager
- type ListByBaselineOperationOptions
- type ListByBaselineOperationResponse
- type RuleId
- type SqlVulnerabilityAssessmentRuleBaselineClient
- func (c SqlVulnerabilityAssessmentRuleBaselineClient) CreateOrUpdate(ctx context.Context, id RuleId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentRuleBaselineClient) Delete(ctx context.Context, id RuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentRuleBaselineClient) Get(ctx context.Context, id RuleId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaseline(ctx context.Context, id commonids.SqlServerId, ...) (result ListByBaselineOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaselineComplete(ctx context.Context, id commonids.SqlServerId, ...) (ListByBaselineCompleteResult, error)
- func (c SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaselineCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByBaselineCompleteResult, err error)
- type VulnerabilityAssessmentSystemDatabaseName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVulnerabilityAssessmentSystemDatabaseName ¶
func PossibleValuesForVulnerabilityAssessmentSystemDatabaseName() []string
func ValidateRuleID ¶
ValidateRuleID checks that 'input' can be parsed as a Rule ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
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 DeleteOperationOptions ¶
type DeleteOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
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 ListByBaselineOperationOptions ¶
type ListByBaselineOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultListByBaselineOperationOptions ¶
func DefaultListByBaselineOperationOptions() ListByBaselineOperationOptions
func (ListByBaselineOperationOptions) ToHeaders ¶
func (o ListByBaselineOperationOptions) ToHeaders() *client.Headers
func (ListByBaselineOperationOptions) ToOData ¶
func (o ListByBaselineOperationOptions) ToOData() *odata.Query
func (ListByBaselineOperationOptions) ToQuery ¶
func (o ListByBaselineOperationOptions) ToQuery() *client.QueryParams
type ListByBaselineOperationResponse ¶
type ListByBaselineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseSqlVulnerabilityAssessmentRuleBaseline }
type RuleId ¶
type RuleId struct { SubscriptionId string ResourceGroupName string ServerName string RuleId string }
RuleId is a struct representing the Resource ID for a Rule
func NewRuleID ¶
func NewRuleID(subscriptionId string, resourceGroupName string, serverName string, ruleId 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 SqlVulnerabilityAssessmentRuleBaselineClient ¶
type SqlVulnerabilityAssessmentRuleBaselineClient struct {
Client *resourcemanager.Client
}
func NewSqlVulnerabilityAssessmentRuleBaselineClientWithBaseURI ¶
func NewSqlVulnerabilityAssessmentRuleBaselineClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlVulnerabilityAssessmentRuleBaselineClient, error)
func (SqlVulnerabilityAssessmentRuleBaselineClient) CreateOrUpdate ¶
func (c SqlVulnerabilityAssessmentRuleBaselineClient) CreateOrUpdate(ctx context.Context, id RuleId, input DatabaseSqlVulnerabilityAssessmentRuleBaselineInput, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SqlVulnerabilityAssessmentRuleBaselineClient) Delete ¶
func (c SqlVulnerabilityAssessmentRuleBaselineClient) Delete(ctx context.Context, id RuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (SqlVulnerabilityAssessmentRuleBaselineClient) Get ¶
func (c SqlVulnerabilityAssessmentRuleBaselineClient) Get(ctx context.Context, id RuleId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaseline ¶
func (c SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaseline(ctx context.Context, id commonids.SqlServerId, options ListByBaselineOperationOptions) (result ListByBaselineOperationResponse, err error)
ListByBaseline ...
func (SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaselineComplete ¶
func (c SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaselineComplete(ctx context.Context, id commonids.SqlServerId, options ListByBaselineOperationOptions) (ListByBaselineCompleteResult, error)
ListByBaselineComplete retrieves all the results into a single object
func (SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaselineCompleteMatchingPredicate ¶
func (c SqlVulnerabilityAssessmentRuleBaselineClient) ListByBaselineCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, options ListByBaselineOperationOptions, predicate DatabaseSqlVulnerabilityAssessmentRuleBaselineOperationPredicate) (result ListByBaselineCompleteResult, err error)
ListByBaselineCompleteMatchingPredicate retrieves all the results and then applies the predicate
type VulnerabilityAssessmentSystemDatabaseName ¶
type VulnerabilityAssessmentSystemDatabaseName string
const (
VulnerabilityAssessmentSystemDatabaseNameMaster VulnerabilityAssessmentSystemDatabaseName = "master"
)
func (*VulnerabilityAssessmentSystemDatabaseName) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentSystemDatabaseName) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_rule.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