Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentScanState() []string
- func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
- func ValidateVulnerabilityAssessmentVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseVulnerabilityAssessmentScanExportProperties
- type DatabaseVulnerabilityAssessmentScansExport
- type ExportOperationResponse
- type GetOperationResponse
- type InitiateScanOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
- type ManagedDatabaseVulnerabilityAssessmentScansClient
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) (result ExportOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) (result InitiateScanOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) error
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- 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
- type VulnerabilityAssessmentVulnerabilityAssessmentScanId
- func NewVulnerabilityAssessmentVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) VulnerabilityAssessmentVulnerabilityAssessmentScanId
- func ParseVulnerabilityAssessmentVulnerabilityAssessmentScanID(input string) (*VulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
- func ParseVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively(input string) (*VulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
- func (id *VulnerabilityAssessmentVulnerabilityAssessmentScanId) FromParseResult(input resourceids.ParseResult) error
- func (id VulnerabilityAssessmentVulnerabilityAssessmentScanId) ID() string
- func (id VulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments() []resourceids.Segment
- func (id VulnerabilityAssessmentVulnerabilityAssessmentScanId) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVulnerabilityAssessmentScanState ¶
func PossibleValuesForVulnerabilityAssessmentScanState() []string
func PossibleValuesForVulnerabilityAssessmentScanTriggerType ¶
func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
func ValidateVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func ValidateVulnerabilityAssessmentVulnerabilityAssessmentScanID(input interface{}, key string) (warnings []string, errors []error)
ValidateVulnerabilityAssessmentVulnerabilityAssessmentScanID checks that 'input' can be parsed as a Vulnerability Assessment Vulnerability Assessment Scan ID
Types ¶
type DatabaseVulnerabilityAssessmentScanExportProperties ¶
type DatabaseVulnerabilityAssessmentScanExportProperties struct {
ExportedReportLocation *string `json:"exportedReportLocation,omitempty"`
}
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 ManagedDatabaseVulnerabilityAssessmentScansClient ¶
type ManagedDatabaseVulnerabilityAssessmentScansClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI ¶
func NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseVulnerabilityAssessmentScansClient, error)
func (ManagedDatabaseVulnerabilityAssessmentScansClient) Export ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) Export(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) (result ExportOperationResponse, err error)
Export ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) Get ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) (result InitiateScanOperationResponse, err error)
InitiateScan ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id VulnerabilityAssessmentVulnerabilityAssessmentScanId) error
InitiateScanThenPoll performs InitiateScan then polls until it's completed
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, predicate VulnerabilityAssessmentScanRecordOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
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
type VulnerabilityAssessmentVulnerabilityAssessmentScanId ¶
type VulnerabilityAssessmentVulnerabilityAssessmentScanId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string ScanId string }
VulnerabilityAssessmentVulnerabilityAssessmentScanId is a struct representing the Resource ID for a Vulnerability Assessment Vulnerability Assessment Scan
func NewVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func NewVulnerabilityAssessmentVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string, scanId string) VulnerabilityAssessmentVulnerabilityAssessmentScanId
NewVulnerabilityAssessmentVulnerabilityAssessmentScanID returns a new VulnerabilityAssessmentVulnerabilityAssessmentScanId struct
func ParseVulnerabilityAssessmentVulnerabilityAssessmentScanID ¶
func ParseVulnerabilityAssessmentVulnerabilityAssessmentScanID(input string) (*VulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
ParseVulnerabilityAssessmentVulnerabilityAssessmentScanID parses 'input' into a VulnerabilityAssessmentVulnerabilityAssessmentScanId
func ParseVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively ¶
func ParseVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively(input string) (*VulnerabilityAssessmentVulnerabilityAssessmentScanId, error)
ParseVulnerabilityAssessmentVulnerabilityAssessmentScanIDInsensitively parses 'input' case-insensitively into a VulnerabilityAssessmentVulnerabilityAssessmentScanId note: this method should only be used for API response data and not user input
func (*VulnerabilityAssessmentVulnerabilityAssessmentScanId) FromParseResult ¶ added in v0.20231127.1171502
func (id *VulnerabilityAssessmentVulnerabilityAssessmentScanId) FromParseResult(input resourceids.ParseResult) error
func (VulnerabilityAssessmentVulnerabilityAssessmentScanId) ID ¶
func (id VulnerabilityAssessmentVulnerabilityAssessmentScanId) ID() string
ID returns the formatted Vulnerability Assessment Vulnerability Assessment Scan ID
func (VulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments ¶
func (id VulnerabilityAssessmentVulnerabilityAssessmentScanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vulnerability Assessment Vulnerability Assessment Scan ID
func (VulnerabilityAssessmentVulnerabilityAssessmentScanId) String ¶
func (id VulnerabilityAssessmentVulnerabilityAssessmentScanId) String() string
String returns a human-readable description of this Vulnerability Assessment Vulnerability Assessment Scan ID
Source Files ¶
- client.go
- constants.go
- id_vulnerabilityassessmentvulnerabilityassessmentscan.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