Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentScanState() []string
- func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScanID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseId
- type DatabaseVulnerabilityAssessmentScanExportProperties
- type DatabaseVulnerabilityAssessmentScansClient
- func (c DatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, id ScanId) (result ExportOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id ScanId) (result GetOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id ScanId) (result InitiateScanOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id ScanId) error
- func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type DatabaseVulnerabilityAssessmentScansExport
- type ExportOperationResponse
- type GetOperationResponse
- type InitiateScanOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
- type ScanId
- type VulnerabilityAssessmentScanError
- 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 ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
func ValidateScanID ¶
ValidateScanID checks that 'input' can be parsed as a Scan ID
Types ¶
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, serverName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type DatabaseVulnerabilityAssessmentScanExportProperties ¶
type DatabaseVulnerabilityAssessmentScanExportProperties struct {
ExportedReportLocation *string `json:"exportedReportLocation,omitempty"`
}
type DatabaseVulnerabilityAssessmentScansClient ¶
type DatabaseVulnerabilityAssessmentScansClient struct {
Client *resourcemanager.Client
}
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI(api environments.Api) (*DatabaseVulnerabilityAssessmentScansClient, error)
func (DatabaseVulnerabilityAssessmentScansClient) Export ¶
func (c DatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, id ScanId) (result ExportOperationResponse, err error)
Export ...
func (DatabaseVulnerabilityAssessmentScansClient) Get ¶
func (c DatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id ScanId) (result GetOperationResponse, err error)
Get ...
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScan ¶
func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id ScanId) (result InitiateScanOperationResponse, err error)
InitiateScan ...
func (DatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll ¶
func (c DatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id ScanId) error
InitiateScanThenPoll performs InitiateScan then polls until it's completed
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabase ¶
func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete ¶
func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, 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 {
Items []VulnerabilityAssessmentScanRecord
}
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VulnerabilityAssessmentScanRecord }
type ScanId ¶
type ScanId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string ScanId string }
ScanId is a struct representing the Resource ID for a Scan
func NewScanID ¶
func NewScanID(subscriptionId string, resourceGroupName string, serverName string, databaseName 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) Segments ¶
func (id ScanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this 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_database.go
- id_scan.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