Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName() []string
- func ValidateBaselineID(input interface{}, key string) (warnings []string, errors []error)
- type BaselineId
- type DatabaseVulnerabilityAssesmentRuleBaselinesClient
- func (c DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdate(ctx context.Context, id BaselineId, ...) (...)
- func (c DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesDelete(ctx context.Context, id BaselineId) (result DatabaseVulnerabilityAssessmentRuleBaselinesDeleteOperationResponse, ...)
- func (c DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesGet(ctx context.Context, id BaselineId) (result DatabaseVulnerabilityAssessmentRuleBaselinesGetOperationResponse, ...)
- type DatabaseVulnerabilityAssessmentRuleBaseline
- type DatabaseVulnerabilityAssessmentRuleBaselineItem
- type DatabaseVulnerabilityAssessmentRuleBaselineProperties
- type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse
- type DatabaseVulnerabilityAssessmentRuleBaselinesDeleteOperationResponse
- type DatabaseVulnerabilityAssessmentRuleBaselinesGetOperationResponse
- type VulnerabilityAssessmentPolicyBaselineName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName ¶
func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName() []string
func ValidateBaselineID ¶
ValidateBaselineID checks that 'input' can be parsed as a Baseline ID
Types ¶
type BaselineId ¶
type BaselineId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string RuleId string BaselineName VulnerabilityAssessmentPolicyBaselineName }
BaselineId is a struct representing the Resource ID for a Baseline
func NewBaselineID ¶
func NewBaselineID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, ruleId string, baselineName VulnerabilityAssessmentPolicyBaselineName) BaselineId
NewBaselineID returns a new BaselineId struct
func ParseBaselineID ¶
func ParseBaselineID(input string) (*BaselineId, error)
ParseBaselineID parses 'input' into a BaselineId
func ParseBaselineIDInsensitively ¶
func ParseBaselineIDInsensitively(input string) (*BaselineId, error)
ParseBaselineIDInsensitively parses 'input' case-insensitively into a BaselineId note: this method should only be used for API response data and not user input
func (BaselineId) Segments ¶
func (id BaselineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Baseline ID
func (BaselineId) String ¶
func (id BaselineId) String() string
String returns a human-readable description of this Baseline ID
type DatabaseVulnerabilityAssesmentRuleBaselinesClient ¶
type DatabaseVulnerabilityAssesmentRuleBaselinesClient struct {
Client *resourcemanager.Client
}
func NewDatabaseVulnerabilityAssesmentRuleBaselinesClientWithBaseURI ¶
func NewDatabaseVulnerabilityAssesmentRuleBaselinesClientWithBaseURI(api environments.Api) (*DatabaseVulnerabilityAssesmentRuleBaselinesClient, error)
func (DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdate ¶
func (c DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdate(ctx context.Context, id BaselineId, input DatabaseVulnerabilityAssessmentRuleBaseline) (result DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse, err error)
DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdate ...
func (DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesDelete ¶
func (c DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesDelete(ctx context.Context, id BaselineId) (result DatabaseVulnerabilityAssessmentRuleBaselinesDeleteOperationResponse, err error)
DatabaseVulnerabilityAssessmentRuleBaselinesDelete ...
func (DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesGet ¶
func (c DatabaseVulnerabilityAssesmentRuleBaselinesClient) DatabaseVulnerabilityAssessmentRuleBaselinesGet(ctx context.Context, id BaselineId) (result DatabaseVulnerabilityAssessmentRuleBaselinesGetOperationResponse, err error)
DatabaseVulnerabilityAssessmentRuleBaselinesGet ...
type DatabaseVulnerabilityAssessmentRuleBaseline ¶
type DatabaseVulnerabilityAssessmentRuleBaseline struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseVulnerabilityAssessmentRuleBaselineProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseVulnerabilityAssessmentRuleBaselineItem ¶
type DatabaseVulnerabilityAssessmentRuleBaselineItem struct {
Result []string `json:"result"`
}
type DatabaseVulnerabilityAssessmentRuleBaselineProperties ¶
type DatabaseVulnerabilityAssessmentRuleBaselineProperties struct {
BaselineResults []DatabaseVulnerabilityAssessmentRuleBaselineItem `json:"baselineResults"`
}
type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse ¶
type DatabaseVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseVulnerabilityAssessmentRuleBaseline }
type DatabaseVulnerabilityAssessmentRuleBaselinesGetOperationResponse ¶
type DatabaseVulnerabilityAssessmentRuleBaselinesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseVulnerabilityAssessmentRuleBaseline }
type VulnerabilityAssessmentPolicyBaselineName ¶
type VulnerabilityAssessmentPolicyBaselineName string
const ( VulnerabilityAssessmentPolicyBaselineNameDefault VulnerabilityAssessmentPolicyBaselineName = "default" VulnerabilityAssessmentPolicyBaselineNameMaster VulnerabilityAssessmentPolicyBaselineName = "master" )
func (*VulnerabilityAssessmentPolicyBaselineName) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentPolicyBaselineName) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_baseline.go
- method_databasevulnerabilityassessmentrulebaselinescreateorupdate.go
- method_databasevulnerabilityassessmentrulebaselinesdelete.go
- method_databasevulnerabilityassessmentrulebaselinesget.go
- model_databasevulnerabilityassessmentrulebaseline.go
- model_databasevulnerabilityassessmentrulebaselineitem.go
- model_databasevulnerabilityassessmentrulebaselineproperties.go
- version.go