Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName() []string
- func ValidateBaselineBaselineID(input interface{}, key string) (warnings []string, errors []error)
- type BaselineBaselineId
- type CreateOrUpdateOperationResponse
- type DatabaseVulnerabilityAssessmentRuleBaseline
- type DatabaseVulnerabilityAssessmentRuleBaselineItem
- type DatabaseVulnerabilityAssessmentRuleBaselineProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient
- func (c ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, id BaselineBaselineId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, id BaselineBaselineId) (result DeleteOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, id BaselineBaselineId) (result GetOperationResponse, err error)
- type VulnerabilityAssessmentPolicyBaselineName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName ¶
func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName() []string
func ValidateBaselineBaselineID ¶
ValidateBaselineBaselineID checks that 'input' can be parsed as a Baseline Baseline ID
Types ¶
type BaselineBaselineId ¶
type BaselineBaselineId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string RuleId string BaselineName VulnerabilityAssessmentPolicyBaselineName }
BaselineBaselineId is a struct representing the Resource ID for a Baseline Baseline
func NewBaselineBaselineID ¶
func NewBaselineBaselineID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string, ruleId string, baselineName VulnerabilityAssessmentPolicyBaselineName) BaselineBaselineId
NewBaselineBaselineID returns a new BaselineBaselineId struct
func ParseBaselineBaselineID ¶
func ParseBaselineBaselineID(input string) (*BaselineBaselineId, error)
ParseBaselineBaselineID parses 'input' into a BaselineBaselineId
func ParseBaselineBaselineIDInsensitively ¶
func ParseBaselineBaselineIDInsensitively(input string) (*BaselineBaselineId, error)
ParseBaselineBaselineIDInsensitively parses 'input' case-insensitively into a BaselineBaselineId note: this method should only be used for API response data and not user input
func (BaselineBaselineId) ID ¶
func (id BaselineBaselineId) ID() string
ID returns the formatted Baseline Baseline ID
func (BaselineBaselineId) Segments ¶
func (id BaselineBaselineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Baseline Baseline ID
func (BaselineBaselineId) String ¶
func (id BaselineBaselineId) String() string
String returns a human-readable description of this Baseline Baseline ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseVulnerabilityAssessmentRuleBaseline }
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseVulnerabilityAssessmentRuleBaseline }
type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient ¶
type ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI ¶
func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient, error)
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate ¶
func (c ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) CreateOrUpdate(ctx context.Context, id BaselineBaselineId, input DatabaseVulnerabilityAssessmentRuleBaseline) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete ¶
func (c ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Delete(ctx context.Context, id BaselineBaselineId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Get ¶
func (c ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient) Get(ctx context.Context, id BaselineBaselineId) (result GetOperationResponse, err error)
Get ...
type VulnerabilityAssessmentPolicyBaselineName ¶
type VulnerabilityAssessmentPolicyBaselineName string
const ( VulnerabilityAssessmentPolicyBaselineNameDefault VulnerabilityAssessmentPolicyBaselineName = "default" VulnerabilityAssessmentPolicyBaselineNameMaster VulnerabilityAssessmentPolicyBaselineName = "master" )
func (*VulnerabilityAssessmentPolicyBaselineName) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentPolicyBaselineName) UnmarshalJSON(bytes []byte) error