Documentation ¶
Index ¶
- func PossibleValuesForVulnerabilityAssessmentSystemDatabaseName() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DatabaseSqlVulnerabilityAssessmentBaselineSet
- type DatabaseSqlVulnerabilityAssessmentBaselineSetOperationPredicate
- type DatabaseSqlVulnerabilityAssessmentBaselineSetProperties
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput
- type DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties
- type GetOperationOptions
- type GetOperationResponse
- type ListBySqlVulnerabilityAssessmentCompleteResult
- type ListBySqlVulnerabilityAssessmentOperationOptions
- type ListBySqlVulnerabilityAssessmentOperationResponse
- type ServerId
- type SqlVulnerabilityAssessmentBaselineClient
- func (c SqlVulnerabilityAssessmentBaselineClient) CreateOrUpdate(ctx context.Context, id ServerId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentBaselineClient) Get(ctx context.Context, id ServerId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessment(ctx context.Context, id ServerId, ...) (result ListBySqlVulnerabilityAssessmentOperationResponse, err error)
- func (c SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessmentComplete(ctx context.Context, id ServerId, ...) (ListBySqlVulnerabilityAssessmentCompleteResult, error)
- func (c SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessmentCompleteMatchingPredicate(ctx context.Context, id ServerId, ...) (result ListBySqlVulnerabilityAssessmentCompleteResult, err error)
- type VulnerabilityAssessmentSystemDatabaseName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVulnerabilityAssessmentSystemDatabaseName ¶
func PossibleValuesForVulnerabilityAssessmentSystemDatabaseName() []string
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseSqlVulnerabilityAssessmentBaselineSet }
type DatabaseSqlVulnerabilityAssessmentBaselineSet ¶
type DatabaseSqlVulnerabilityAssessmentBaselineSet struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseSqlVulnerabilityAssessmentBaselineSetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseSqlVulnerabilityAssessmentBaselineSetOperationPredicate ¶
type DatabaseSqlVulnerabilityAssessmentBaselineSetOperationPredicate struct { Id *string Name *string Type *string }
type DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput ¶
type DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GetOperationOptions ¶
type GetOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseSqlVulnerabilityAssessmentBaselineSet }
type ListBySqlVulnerabilityAssessmentCompleteResult ¶
type ListBySqlVulnerabilityAssessmentCompleteResult struct {
Items []DatabaseSqlVulnerabilityAssessmentBaselineSet
}
type ListBySqlVulnerabilityAssessmentOperationOptions ¶
type ListBySqlVulnerabilityAssessmentOperationOptions struct {
SystemDatabaseName *VulnerabilityAssessmentSystemDatabaseName
}
func DefaultListBySqlVulnerabilityAssessmentOperationOptions ¶
func DefaultListBySqlVulnerabilityAssessmentOperationOptions() ListBySqlVulnerabilityAssessmentOperationOptions
func (ListBySqlVulnerabilityAssessmentOperationOptions) ToHeaders ¶
func (o ListBySqlVulnerabilityAssessmentOperationOptions) ToHeaders() *client.Headers
func (ListBySqlVulnerabilityAssessmentOperationOptions) ToOData ¶
func (o ListBySqlVulnerabilityAssessmentOperationOptions) ToOData() *odata.Query
func (ListBySqlVulnerabilityAssessmentOperationOptions) ToQuery ¶
func (o ListBySqlVulnerabilityAssessmentOperationOptions) ToQuery() *client.QueryParams
type ListBySqlVulnerabilityAssessmentOperationResponse ¶
type ListBySqlVulnerabilityAssessmentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseSqlVulnerabilityAssessmentBaselineSet }
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
type SqlVulnerabilityAssessmentBaselineClient ¶
type SqlVulnerabilityAssessmentBaselineClient struct {
Client *resourcemanager.Client
}
func NewSqlVulnerabilityAssessmentBaselineClientWithBaseURI ¶
func NewSqlVulnerabilityAssessmentBaselineClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlVulnerabilityAssessmentBaselineClient, error)
func (SqlVulnerabilityAssessmentBaselineClient) CreateOrUpdate ¶
func (c SqlVulnerabilityAssessmentBaselineClient) CreateOrUpdate(ctx context.Context, id ServerId, input DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SqlVulnerabilityAssessmentBaselineClient) Get ¶
func (c SqlVulnerabilityAssessmentBaselineClient) Get(ctx context.Context, id ServerId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessment ¶
func (c SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessment(ctx context.Context, id ServerId, options ListBySqlVulnerabilityAssessmentOperationOptions) (result ListBySqlVulnerabilityAssessmentOperationResponse, err error)
ListBySqlVulnerabilityAssessment ...
func (SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessmentComplete ¶
func (c SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessmentComplete(ctx context.Context, id ServerId, options ListBySqlVulnerabilityAssessmentOperationOptions) (ListBySqlVulnerabilityAssessmentCompleteResult, error)
ListBySqlVulnerabilityAssessmentComplete retrieves all the results into a single object
func (SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessmentCompleteMatchingPredicate ¶
func (c SqlVulnerabilityAssessmentBaselineClient) ListBySqlVulnerabilityAssessmentCompleteMatchingPredicate(ctx context.Context, id ServerId, options ListBySqlVulnerabilityAssessmentOperationOptions, predicate DatabaseSqlVulnerabilityAssessmentBaselineSetOperationPredicate) (result ListBySqlVulnerabilityAssessmentCompleteResult, err error)
ListBySqlVulnerabilityAssessmentCompleteMatchingPredicate retrieves all the results and then applies the predicate
type VulnerabilityAssessmentSystemDatabaseName ¶
type VulnerabilityAssessmentSystemDatabaseName string
const (
VulnerabilityAssessmentSystemDatabaseNameMaster VulnerabilityAssessmentSystemDatabaseName = "master"
)
func (*VulnerabilityAssessmentSystemDatabaseName) UnmarshalJSON ¶
func (s *VulnerabilityAssessmentSystemDatabaseName) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_server.go
- method_createorupdate.go
- method_get.go
- method_listbysqlvulnerabilityassessment.go
- model_databasesqlvulnerabilityassessmentbaselineset.go
- model_databasesqlvulnerabilityassessmentbaselinesetproperties.go
- model_databasesqlvulnerabilityassessmentrulebaselinelistinput.go
- model_databasesqlvulnerabilityassessmentrulebaselinelistinputproperties.go
- predicates.go
- version.go