Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentScanState() []string
- func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
- func ValidateVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseVulnerabilityAssessmentScanExportProperties
- type DatabaseVulnerabilityAssessmentScansClient
- func (c DatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, id VulnerabilityAssessmentScanId) (result ExportOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id VulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id VulnerabilityAssessmentScanId) (result InitiateScanOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id VulnerabilityAssessmentScanId) error
- func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type DatabaseVulnerabilityAssessmentScansExport
- type ExportOperationResponse
- type GetOperationResponse
- type InitiateScanOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
- type VulnerabilityAssessmentScanError
- type VulnerabilityAssessmentScanId
- func NewVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, serverName string, ...) VulnerabilityAssessmentScanId
- func ParseVulnerabilityAssessmentScanID(input string) (*VulnerabilityAssessmentScanId, error)
- func ParseVulnerabilityAssessmentScanIDInsensitively(input string) (*VulnerabilityAssessmentScanId, error)
- type VulnerabilityAssessmentScanRecord
- type VulnerabilityAssessmentScanRecordOperationPredicate
- 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 ValidateVulnerabilityAssessmentScanID ¶
func ValidateVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
ValidateVulnerabilityAssessmentScanID checks that 'input' can be parsed as a Vulnerability Assessment Scan ID
Types ¶
type DatabaseVulnerabilityAssessmentScanExportProperties ¶
type DatabaseVulnerabilityAssessmentScanExportProperties struct {
ExportedReportLocation *string `json:"exportedReportLocation,omitempty"`
}
type DatabaseVulnerabilityAssessmentScansClient ¶
type DatabaseVulnerabilityAssessmentScansClient struct {
Client *resourcemanager.Client
}
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseVulnerabilityAssessmentScansClient, error)
func (DatabaseVulnerabilityAssessmentScansClient) Export ¶
func (c DatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, id VulnerabilityAssessmentScanId) (result ExportOperationResponse, err error)
Export ...
func (DatabaseVulnerabilityAssessmentScansClient) Get ¶
func (c DatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id VulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
Get ...
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScan ¶
func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id VulnerabilityAssessmentScanId) (result InitiateScanOperationResponse, err error)
InitiateScan ...
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll ¶
func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id VulnerabilityAssessmentScanId) error
InitiateScanThenPoll performs InitiateScan then polls until it's completed
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabase ¶
func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete ¶
func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate VulnerabilityAssessmentScanRecordOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DatabaseVulnerabilityAssessmentScansExport ¶
type DatabaseVulnerabilityAssessmentScansExport struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseVulnerabilityAssessmentScanExportProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExportOperationResponse ¶
type ExportOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseVulnerabilityAssessmentScansExport }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VulnerabilityAssessmentScanRecord }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []VulnerabilityAssessmentScanRecord }
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VulnerabilityAssessmentScanRecord }
type VulnerabilityAssessmentScanId ¶
type VulnerabilityAssessmentScanId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string ScanId string }
VulnerabilityAssessmentScanId is a struct representing the Resource ID for a Vulnerability Assessment Scan
func NewVulnerabilityAssessmentScanID ¶
func NewVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, scanId string) VulnerabilityAssessmentScanId
NewVulnerabilityAssessmentScanID returns a new VulnerabilityAssessmentScanId struct
func ParseVulnerabilityAssessmentScanID ¶
func ParseVulnerabilityAssessmentScanID(input string) (*VulnerabilityAssessmentScanId, error)
ParseVulnerabilityAssessmentScanID parses 'input' into a VulnerabilityAssessmentScanId
func ParseVulnerabilityAssessmentScanIDInsensitively ¶
func ParseVulnerabilityAssessmentScanIDInsensitively(input string) (*VulnerabilityAssessmentScanId, error)
ParseVulnerabilityAssessmentScanIDInsensitively parses 'input' case-insensitively into a VulnerabilityAssessmentScanId note: this method should only be used for API response data and not user input
func (*VulnerabilityAssessmentScanId) FromParseResult ¶
func (id *VulnerabilityAssessmentScanId) FromParseResult(input resourceids.ParseResult) error
func (VulnerabilityAssessmentScanId) ID ¶
func (id VulnerabilityAssessmentScanId) ID() string
ID returns the formatted Vulnerability Assessment Scan ID
func (VulnerabilityAssessmentScanId) Segments ¶
func (id VulnerabilityAssessmentScanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vulnerability Assessment Scan ID
func (VulnerabilityAssessmentScanId) String ¶
func (id VulnerabilityAssessmentScanId) String() string
String returns a human-readable description of this Vulnerability Assessment Scan ID
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 VulnerabilityAssessmentScanRecordOperationPredicate ¶
type VulnerabilityAssessmentScanRecordOperationPredicate struct { Id *string Name *string Type *string }
func (VulnerabilityAssessmentScanRecordOperationPredicate) Matches ¶
func (p VulnerabilityAssessmentScanRecordOperationPredicate) Matches(input VulnerabilityAssessmentScanRecord) bool
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
Source Files ¶
- client.go
- constants.go
- id_vulnerabilityassessmentscan.go
- method_export.go
- method_get.go
- method_initiatescan.go
- method_listbydatabase.go
- model_databasevulnerabilityassessmentscanexportproperties.go
- model_databasevulnerabilityassessmentscansexport.go
- model_vulnerabilityassessmentscanerror.go
- model_vulnerabilityassessmentscanrecord.go
- model_vulnerabilityassessmentscanrecordproperties.go
- predicates.go
- version.go