Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentScanState() []string
- func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
- func ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseSqlVulnerabilityAssessmentScansClient
- func (c DatabaseSqlVulnerabilityAssessmentScansClient) Get(ctx context.Context, ...) (result GetOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessments(ctx context.Context, id commonids.SqlDatabaseId) (result ListBySqlVulnerabilityAssessmentsOperationResponse, err error)
- func (c DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessmentsComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListBySqlVulnerabilityAssessmentsCompleteResult, error)
- func (c DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessmentsCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListBySqlVulnerabilityAssessmentsCompleteResult, err error)
- type GetOperationResponse
- type ListBySqlVulnerabilityAssessmentsCompleteResult
- type ListBySqlVulnerabilityAssessmentsOperationResponse
- type SqlVulnerabilityAssessmentScanError
- type SqlVulnerabilityAssessmentScanRecord
- type SqlVulnerabilityAssessmentScanRecordOperationPredicate
- type SqlVulnerabilityAssessmentScanRecordProperties
- func (o *SqlVulnerabilityAssessmentScanRecordProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *SqlVulnerabilityAssessmentScanRecordProperties) GetLastScanTimeAsTime() (*time.Time, error)
- func (o *SqlVulnerabilityAssessmentScanRecordProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *SqlVulnerabilityAssessmentScanRecordProperties) SetEndTimeAsTime(input time.Time)
- func (o *SqlVulnerabilityAssessmentScanRecordProperties) SetLastScanTimeAsTime(input time.Time)
- func (o *SqlVulnerabilityAssessmentScanRecordProperties) SetStartTimeAsTime(input time.Time)
- type SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
- func NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, serverName string, ...) SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
- func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
- func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
- type VulnerabilityAssessmentScanState
- type VulnerabilityAssessmentScanTriggerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVulnerabilityAssessmentScanState ¶
func PossibleValuesForVulnerabilityAssessmentScanState() []string
func PossibleValuesForVulnerabilityAssessmentScanTriggerType ¶
func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
func ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
ValidateSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID checks that 'input' can be parsed as a Sql Vulnerability Assessment Vulnerability Assessment Scan ID
Types ¶
type DatabaseSqlVulnerabilityAssessmentScansClient ¶
type DatabaseSqlVulnerabilityAssessmentScansClient struct {
Client *resourcemanager.Client
}
func NewDatabaseSqlVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewDatabaseSqlVulnerabilityAssessmentScansClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseSqlVulnerabilityAssessmentScansClient, error)
func (DatabaseSqlVulnerabilityAssessmentScansClient) Get ¶
func (c DatabaseSqlVulnerabilityAssessmentScansClient) Get(ctx context.Context, id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
Get ...
func (DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessments ¶
func (c DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessments(ctx context.Context, id commonids.SqlDatabaseId) (result ListBySqlVulnerabilityAssessmentsOperationResponse, err error)
ListBySqlVulnerabilityAssessments ...
func (DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessmentsComplete ¶
func (c DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessmentsComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListBySqlVulnerabilityAssessmentsCompleteResult, error)
ListBySqlVulnerabilityAssessmentsComplete retrieves all the results into a single object
func (DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessmentsCompleteMatchingPredicate ¶
func (c DatabaseSqlVulnerabilityAssessmentScansClient) ListBySqlVulnerabilityAssessmentsCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate SqlVulnerabilityAssessmentScanRecordOperationPredicate) (result ListBySqlVulnerabilityAssessmentsCompleteResult, err error)
ListBySqlVulnerabilityAssessmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlVulnerabilityAssessmentScanRecord }
type ListBySqlVulnerabilityAssessmentsCompleteResult ¶
type ListBySqlVulnerabilityAssessmentsCompleteResult struct {
Items []SqlVulnerabilityAssessmentScanRecord
}
type ListBySqlVulnerabilityAssessmentsOperationResponse ¶
type ListBySqlVulnerabilityAssessmentsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SqlVulnerabilityAssessmentScanRecord }
type SqlVulnerabilityAssessmentScanRecord ¶
type SqlVulnerabilityAssessmentScanRecord struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlVulnerabilityAssessmentScanRecordProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SqlVulnerabilityAssessmentScanRecordOperationPredicate ¶
type SqlVulnerabilityAssessmentScanRecordOperationPredicate struct { Id *string Name *string Type *string }
func (SqlVulnerabilityAssessmentScanRecordOperationPredicate) Matches ¶
func (p SqlVulnerabilityAssessmentScanRecordOperationPredicate) Matches(input SqlVulnerabilityAssessmentScanRecord) bool
type SqlVulnerabilityAssessmentScanRecordProperties ¶
type SqlVulnerabilityAssessmentScanRecordProperties struct { Database *string `json:"database,omitempty"` EndTime *string `json:"endTime,omitempty"` Errors *[]SqlVulnerabilityAssessmentScanError `json:"errors,omitempty"` HighSeverityFailedRulesCount *int64 `json:"highSeverityFailedRulesCount,omitempty"` IsBaselineApplied *bool `json:"isBaselineApplied,omitempty"` LastScanTime *string `json:"lastScanTime,omitempty"` LowSeverityFailedRulesCount *int64 `json:"lowSeverityFailedRulesCount,omitempty"` MediumSeverityFailedRulesCount *int64 `json:"mediumSeverityFailedRulesCount,omitempty"` ScanId *string `json:"scanId,omitempty"` Server *string `json:"server,omitempty"` SqlVersion *string `json:"sqlVersion,omitempty"` StartTime *string `json:"startTime,omitempty"` State *VulnerabilityAssessmentScanState `json:"state,omitempty"` TotalFailedRulesCount *int64 `json:"totalFailedRulesCount,omitempty"` TotalPassedRulesCount *int64 `json:"totalPassedRulesCount,omitempty"` TotalRulesCount *int64 `json:"totalRulesCount,omitempty"` TriggerType *VulnerabilityAssessmentScanTriggerType `json:"triggerType,omitempty"` }
func (*SqlVulnerabilityAssessmentScanRecordProperties) GetEndTimeAsTime ¶
func (o *SqlVulnerabilityAssessmentScanRecordProperties) GetEndTimeAsTime() (*time.Time, error)
func (*SqlVulnerabilityAssessmentScanRecordProperties) GetLastScanTimeAsTime ¶
func (o *SqlVulnerabilityAssessmentScanRecordProperties) GetLastScanTimeAsTime() (*time.Time, error)
func (*SqlVulnerabilityAssessmentScanRecordProperties) GetStartTimeAsTime ¶
func (o *SqlVulnerabilityAssessmentScanRecordProperties) GetStartTimeAsTime() (*time.Time, error)
func (*SqlVulnerabilityAssessmentScanRecordProperties) SetEndTimeAsTime ¶
func (o *SqlVulnerabilityAssessmentScanRecordProperties) SetEndTimeAsTime(input time.Time)
func (*SqlVulnerabilityAssessmentScanRecordProperties) SetLastScanTimeAsTime ¶
func (o *SqlVulnerabilityAssessmentScanRecordProperties) SetLastScanTimeAsTime(input time.Time)
func (*SqlVulnerabilityAssessmentScanRecordProperties) SetStartTimeAsTime ¶
func (o *SqlVulnerabilityAssessmentScanRecordProperties) SetStartTimeAsTime(input time.Time)
type SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId ¶
type SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string ScanId string }
SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId is a struct representing the Resource ID for a Sql Vulnerability Assessment Vulnerability Assessment Scan
func NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, scanId string) SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
NewSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID returns a new SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId struct
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanID parses 'input' into a SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively ¶
func ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively(input string) (*SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
ParseSqlVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively parses 'input' case-insensitively into a SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId note: this method should only be used for API response data and not user input
func (SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) ID ¶
func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) ID() string
ID returns the formatted Sql Vulnerability Assessment Vulnerability Assessment Scan ID
func (SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments ¶
func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Vulnerability Assessment Vulnerability Assessment Scan ID
func (SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) String ¶
func (id SqlVulnerabilityAssessmentVulnerabilityAssessmentScanId) String() string
String returns a human-readable description of this Sql Vulnerability Assessment Vulnerability Assessment Scan ID
type VulnerabilityAssessmentScanState ¶
type VulnerabilityAssessmentScanState string
const ( VulnerabilityAssessmentScanStateFailed VulnerabilityAssessmentScanState = "Failed" VulnerabilityAssessmentScanStateFailedToRun VulnerabilityAssessmentScanState = "FailedToRun" VulnerabilityAssessmentScanStateInProgress VulnerabilityAssessmentScanState = "InProgress" VulnerabilityAssessmentScanStatePassed VulnerabilityAssessmentScanState = "Passed" )
func (*VulnerabilityAssessmentScanState) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentScanState) UnmarshalJSON(bytes []byte) error
type VulnerabilityAssessmentScanTriggerType ¶
type VulnerabilityAssessmentScanTriggerType string
const ( VulnerabilityAssessmentScanTriggerTypeOnDemand VulnerabilityAssessmentScanTriggerType = "OnDemand" VulnerabilityAssessmentScanTriggerTypeRecurring VulnerabilityAssessmentScanTriggerType = "Recurring" )
func (*VulnerabilityAssessmentScanTriggerType) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentScanTriggerType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_sqlvulnerabilityassessmentvulnerabilityassessmentscan.go
- method_get.go
- method_listbysqlvulnerabilityassessments.go
- model_sqlvulnerabilityassessmentscanerror.go
- model_sqlvulnerabilityassessmentscanrecord.go
- model_sqlvulnerabilityassessmentscanrecordproperties.go
- predicates.go
- version.go