Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentScanState() []string
- func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
- func ValidateScanID(input interface{}, key string) (warnings []string, errors []error)
- type ScanId
- type SqlPoolVulnerabilityAssessmentScansGetOperationResponse
- type SqlPoolsSqlPoolVulnerabilityAssessmentScansClient
- type VulnerabilityAssessmentScanError
- type VulnerabilityAssessmentScanRecord
- type VulnerabilityAssessmentScanRecordProperties
- func (o *VulnerabilityAssessmentScanRecordProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *VulnerabilityAssessmentScanRecordProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *VulnerabilityAssessmentScanRecordProperties) SetEndTimeAsTime(input time.Time)
- func (o *VulnerabilityAssessmentScanRecordProperties) SetStartTimeAsTime(input time.Time)
- 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 ValidateScanID ¶
ValidateScanID checks that 'input' can be parsed as a Scan ID
Types ¶
type ScanId ¶
type ScanId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string ScanId string }
ScanId is a struct representing the Resource ID for a Scan
func NewScanID ¶
func NewScanID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, scanId string) ScanId
NewScanID returns a new ScanId struct
func ParseScanID ¶
ParseScanID parses 'input' into a ScanId
func ParseScanIDInsensitively ¶
ParseScanIDInsensitively parses 'input' case-insensitively into a ScanId note: this method should only be used for API response data and not user input
func (*ScanId) FromParseResult ¶
func (id *ScanId) FromParseResult(input resourceids.ParseResult) error
func (ScanId) Segments ¶
func (id ScanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scan ID
type SqlPoolVulnerabilityAssessmentScansGetOperationResponse ¶
type SqlPoolVulnerabilityAssessmentScansGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VulnerabilityAssessmentScanRecord }
type SqlPoolsSqlPoolVulnerabilityAssessmentScansClient ¶
type SqlPoolsSqlPoolVulnerabilityAssessmentScansClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsSqlPoolVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewSqlPoolsSqlPoolVulnerabilityAssessmentScansClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsSqlPoolVulnerabilityAssessmentScansClient, error)
func (SqlPoolsSqlPoolVulnerabilityAssessmentScansClient) SqlPoolVulnerabilityAssessmentScansGet ¶
func (c SqlPoolsSqlPoolVulnerabilityAssessmentScansClient) SqlPoolVulnerabilityAssessmentScansGet(ctx context.Context, id ScanId) (result SqlPoolVulnerabilityAssessmentScansGetOperationResponse, err error)
SqlPoolVulnerabilityAssessmentScansGet ...
type VulnerabilityAssessmentScanRecord ¶
type VulnerabilityAssessmentScanRecord struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VulnerabilityAssessmentScanRecordProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VulnerabilityAssessmentScanRecordProperties ¶
type VulnerabilityAssessmentScanRecordProperties struct { EndTime *string `json:"endTime,omitempty"` Errors *[]VulnerabilityAssessmentScanError `json:"errors,omitempty"` NumberOfFailedSecurityChecks *int64 `json:"numberOfFailedSecurityChecks,omitempty"` ScanId *string `json:"scanId,omitempty"` StartTime *string `json:"startTime,omitempty"` State *VulnerabilityAssessmentScanState `json:"state,omitempty"` StorageContainerPath *string `json:"storageContainerPath,omitempty"` TriggerType *VulnerabilityAssessmentScanTriggerType `json:"triggerType,omitempty"` }
func (*VulnerabilityAssessmentScanRecordProperties) GetEndTimeAsTime ¶
func (o *VulnerabilityAssessmentScanRecordProperties) GetEndTimeAsTime() (*time.Time, error)
func (*VulnerabilityAssessmentScanRecordProperties) GetStartTimeAsTime ¶
func (o *VulnerabilityAssessmentScanRecordProperties) GetStartTimeAsTime() (*time.Time, error)
func (*VulnerabilityAssessmentScanRecordProperties) SetEndTimeAsTime ¶
func (o *VulnerabilityAssessmentScanRecordProperties) SetEndTimeAsTime(input time.Time)
func (*VulnerabilityAssessmentScanRecordProperties) SetStartTimeAsTime ¶
func (o *VulnerabilityAssessmentScanRecordProperties) SetStartTimeAsTime(input time.Time)
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
Click to show internal directories.
Click to hide internal directories.