Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentPolicyBaselineName() []string
- func ValidateBaselineID(input interface{}, key string) (warnings []string, errors []error)
- type BaselineId
- type SqlPoolVulnerabilityAssessmentRuleBaseline
- type SqlPoolVulnerabilityAssessmentRuleBaselineItem
- type SqlPoolVulnerabilityAssessmentRuleBaselineProperties
- type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse
- type SqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClient
- 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 WorkspaceName string SqlPoolName string RuleId string BaselineName VulnerabilityAssessmentPolicyBaselineName }
BaselineId is a struct representing the Resource ID for a Baseline
func NewBaselineID ¶
func NewBaselineID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName 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) FromParseResult ¶
func (id *BaselineId) FromParseResult(input resourceids.ParseResult) error
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 SqlPoolVulnerabilityAssessmentRuleBaseline ¶
type SqlPoolVulnerabilityAssessmentRuleBaseline struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlPoolVulnerabilityAssessmentRuleBaselineProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlPoolVulnerabilityAssessmentRuleBaselineItem ¶
type SqlPoolVulnerabilityAssessmentRuleBaselineItem struct {
Result []string `json:"result"`
}
type SqlPoolVulnerabilityAssessmentRuleBaselineProperties ¶
type SqlPoolVulnerabilityAssessmentRuleBaselineProperties struct {
BaselineResults []SqlPoolVulnerabilityAssessmentRuleBaselineItem `json:"baselineResults"`
}
type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse ¶
type SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlPoolVulnerabilityAssessmentRuleBaseline }
type SqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClient ¶
type SqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClientWithBaseURI ¶
func NewSqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClient, error)
func (SqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClient) SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdate ¶
func (c SqlPoolsDatabaseVulnerabilityAssesmentRuleBaselinesClient) SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdate(ctx context.Context, id BaselineId, input SqlPoolVulnerabilityAssessmentRuleBaseline) (result SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdateOperationResponse, err error)
SqlPoolVulnerabilityAssessmentRuleBaselinesCreateOrUpdate ...
type VulnerabilityAssessmentPolicyBaselineName ¶
type VulnerabilityAssessmentPolicyBaselineName string
const ( VulnerabilityAssessmentPolicyBaselineNameDefault VulnerabilityAssessmentPolicyBaselineName = "default" VulnerabilityAssessmentPolicyBaselineNameMaster VulnerabilityAssessmentPolicyBaselineName = "master" )
func (*VulnerabilityAssessmentPolicyBaselineName) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentPolicyBaselineName) UnmarshalJSON(bytes []byte) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.