Documentation ¶
Index ¶
- func PossibleValuesForControlType() []string
- func PossibleValuesForExpandControlsEnum() []string
- type AzureResourceLink
- type ControlType
- type ExpandControlsEnum
- type ScoreDetails
- type SecureScoreControlDefinitionItem
- type SecureScoreControlDefinitionItemProperties
- type SecureScoreControlDefinitionSource
- type SecureScoreControlDetails
- type SecureScoreControlDetailsOperationPredicate
- type SecureScoreControlScoreDetails
- type SecureScoreControlsClient
- func (c SecureScoreControlsClient) SecureScoreControlsList(ctx context.Context, id commonids.SubscriptionId, ...) (resp SecureScoreControlsListOperationResponse, err error)
- func (c SecureScoreControlsClient) SecureScoreControlsListComplete(ctx context.Context, id commonids.SubscriptionId, ...) (SecureScoreControlsListCompleteResult, error)
- func (c SecureScoreControlsClient) SecureScoreControlsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp SecureScoreControlsListCompleteResult, err error)
- type SecureScoreControlsListCompleteResult
- type SecureScoreControlsListOperationOptions
- type SecureScoreControlsListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForControlType ¶
func PossibleValuesForControlType() []string
func PossibleValuesForExpandControlsEnum ¶
func PossibleValuesForExpandControlsEnum() []string
Types ¶
type AzureResourceLink ¶
type AzureResourceLink struct {
Id *string `json:"id,omitempty"`
}
type ControlType ¶
type ControlType string
const ( ControlTypeBuiltIn ControlType = "BuiltIn" ControlTypeCustom ControlType = "Custom" )
type ExpandControlsEnum ¶
type ExpandControlsEnum string
const (
ExpandControlsEnumDefinition ExpandControlsEnum = "definition"
)
type ScoreDetails ¶
type SecureScoreControlDefinitionItem ¶
type SecureScoreControlDefinitionItem struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecureScoreControlDefinitionItemProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecureScoreControlDefinitionItemProperties ¶
type SecureScoreControlDefinitionItemProperties struct { AssessmentDefinitions *[]AzureResourceLink `json:"assessmentDefinitions,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` MaxScore *int64 `json:"maxScore,omitempty"` Source *SecureScoreControlDefinitionSource `json:"source,omitempty"` }
type SecureScoreControlDefinitionSource ¶
type SecureScoreControlDefinitionSource struct {
SourceType *ControlType `json:"sourceType,omitempty"`
}
type SecureScoreControlDetails ¶
type SecureScoreControlDetails struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecureScoreControlScoreDetails `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecureScoreControlDetailsOperationPredicate ¶
func (SecureScoreControlDetailsOperationPredicate) Matches ¶
func (p SecureScoreControlDetailsOperationPredicate) Matches(input SecureScoreControlDetails) bool
type SecureScoreControlScoreDetails ¶
type SecureScoreControlScoreDetails struct { Definition *SecureScoreControlDefinitionItem `json:"definition,omitempty"` DisplayName *string `json:"displayName,omitempty"` HealthyResourceCount *int64 `json:"healthyResourceCount,omitempty"` NotApplicableResourceCount *int64 `json:"notApplicableResourceCount,omitempty"` Score *ScoreDetails `json:"score,omitempty"` UnhealthyResourceCount *int64 `json:"unhealthyResourceCount,omitempty"` Weight *int64 `json:"weight,omitempty"` }
type SecureScoreControlsClient ¶
type SecureScoreControlsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSecureScoreControlsClientWithBaseURI ¶
func NewSecureScoreControlsClientWithBaseURI(endpoint string) SecureScoreControlsClient
func (SecureScoreControlsClient) SecureScoreControlsList ¶
func (c SecureScoreControlsClient) SecureScoreControlsList(ctx context.Context, id commonids.SubscriptionId, options SecureScoreControlsListOperationOptions) (resp SecureScoreControlsListOperationResponse, err error)
SecureScoreControlsList ...
func (SecureScoreControlsClient) SecureScoreControlsListComplete ¶
func (c SecureScoreControlsClient) SecureScoreControlsListComplete(ctx context.Context, id commonids.SubscriptionId, options SecureScoreControlsListOperationOptions) (SecureScoreControlsListCompleteResult, error)
SecureScoreControlsListComplete retrieves all of the results into a single object
func (SecureScoreControlsClient) SecureScoreControlsListCompleteMatchingPredicate ¶
func (c SecureScoreControlsClient) SecureScoreControlsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options SecureScoreControlsListOperationOptions, predicate SecureScoreControlDetailsOperationPredicate) (resp SecureScoreControlsListCompleteResult, err error)
SecureScoreControlsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type SecureScoreControlsListCompleteResult ¶
type SecureScoreControlsListCompleteResult struct {
Items []SecureScoreControlDetails
}
type SecureScoreControlsListOperationOptions ¶
type SecureScoreControlsListOperationOptions struct {
Expand *ExpandControlsEnum
}
func DefaultSecureScoreControlsListOperationOptions ¶
func DefaultSecureScoreControlsListOperationOptions() SecureScoreControlsListOperationOptions
type SecureScoreControlsListOperationResponse ¶
type SecureScoreControlsListOperationResponse struct { HttpResponse *http.Response Model *[]SecureScoreControlDetails // contains filtered or unexported fields }
func (SecureScoreControlsListOperationResponse) HasMore ¶
func (r SecureScoreControlsListOperationResponse) HasMore() bool
func (SecureScoreControlsListOperationResponse) LoadMore ¶
func (r SecureScoreControlsListOperationResponse) LoadMore(ctx context.Context) (resp SecureScoreControlsListOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- method_securescorecontrolslist_autorest.go
- model_azureresourcelink.go
- model_scoredetails.go
- model_securescorecontroldefinitionitem.go
- model_securescorecontroldefinitionitemproperties.go
- model_securescorecontroldefinitionsource.go
- model_securescorecontroldetails.go
- model_securescorecontrolscoredetails.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.