Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentScanState() []string
- func PossibleValuesForVulnerabilityAssessmentScanTriggerType() []string
- func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVulnerabilityAssessmentScanID(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 VulnerabilityAssessmentScanId) (result ExportOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id VulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id VulnerabilityAssessmentScanId) (result InitiateScanOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id VulnerabilityAssessmentScanId) error
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id ManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type ManagedInstanceDatabaseId
- func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, ...) ManagedInstanceDatabaseId
- func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
- func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
- type VulnerabilityAssessmentScanError
- type VulnerabilityAssessmentScanId
- func NewVulnerabilityAssessmentScanID(subscriptionId string, resourceGroupName string, managedInstanceName 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 ValidateManagedInstanceDatabaseID ¶
func ValidateManagedInstanceDatabaseID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedInstanceDatabaseID checks that 'input' can be parsed as a Managed Instance Database ID
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 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 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 VulnerabilityAssessmentScanId) (result ExportOperationResponse, err error)
Export ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) Get ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) Get(ctx context.Context, id VulnerabilityAssessmentScanId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScan(ctx context.Context, id VulnerabilityAssessmentScanId) (result InitiateScanOperationResponse, err error)
InitiateScan ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) InitiateScanThenPoll(ctx context.Context, id VulnerabilityAssessmentScanId) error
InitiateScanThenPoll performs InitiateScan then polls until it's completed
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabase(ctx context.Context, id ManagedInstanceDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseComplete(ctx context.Context, id ManagedInstanceDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseVulnerabilityAssessmentScansClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id ManagedInstanceDatabaseId, predicate VulnerabilityAssessmentScanRecordOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ManagedInstanceDatabaseId ¶
type ManagedInstanceDatabaseId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string }
ManagedInstanceDatabaseId is a struct representing the Resource ID for a Managed Instance Database
func NewManagedInstanceDatabaseID ¶
func NewManagedInstanceDatabaseID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string) ManagedInstanceDatabaseId
NewManagedInstanceDatabaseID returns a new ManagedInstanceDatabaseId struct
func ParseManagedInstanceDatabaseID ¶
func ParseManagedInstanceDatabaseID(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseID parses 'input' into a ManagedInstanceDatabaseId
func ParseManagedInstanceDatabaseIDInsensitively ¶
func ParseManagedInstanceDatabaseIDInsensitively(input string) (*ManagedInstanceDatabaseId, error)
ParseManagedInstanceDatabaseIDInsensitively parses 'input' case-insensitively into a ManagedInstanceDatabaseId note: this method should only be used for API response data and not user input
func (ManagedInstanceDatabaseId) ID ¶
func (id ManagedInstanceDatabaseId) ID() string
ID returns the formatted Managed Instance Database ID
func (ManagedInstanceDatabaseId) Segments ¶
func (id ManagedInstanceDatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Instance Database ID
func (ManagedInstanceDatabaseId) String ¶
func (id ManagedInstanceDatabaseId) String() string
String returns a human-readable description of this Managed Instance Database ID
type VulnerabilityAssessmentScanId ¶
type VulnerabilityAssessmentScanId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName 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, managedInstanceName 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) 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_managedinstancedatabase.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