Documentation ¶
Index ¶
- func PossibleValuesForControlType() []string
- func PossibleValuesForExpandControlsEnum() []string
- func ValidateSecureScoreID(input interface{}, key string) (warnings []string, errors []error)
- type AzureResourceLink
- type ControlType
- type ExpandControlsEnum
- type ScoreDetails
- type SecureScoreClient
- func (c SecureScoreClient) SecureScoreControlsListBySecureScore(ctx context.Context, id SecureScoreId, ...) (resp SecureScoreControlsListBySecureScoreOperationResponse, err error)
- func (c SecureScoreClient) SecureScoreControlsListBySecureScoreComplete(ctx context.Context, id SecureScoreId, ...) (SecureScoreControlsListBySecureScoreCompleteResult, error)
- func (c SecureScoreClient) SecureScoreControlsListBySecureScoreCompleteMatchingPredicate(ctx context.Context, id SecureScoreId, ...) (resp SecureScoreControlsListBySecureScoreCompleteResult, err error)
- func (c SecureScoreClient) SecureScoresGet(ctx context.Context, id SecureScoreId) (result SecureScoresGetOperationResponse, err error)
- func (c SecureScoreClient) SecureScoresList(ctx context.Context, id commonids.SubscriptionId) (resp SecureScoresListOperationResponse, err error)
- func (c SecureScoreClient) SecureScoresListComplete(ctx context.Context, id commonids.SubscriptionId) (SecureScoresListCompleteResult, error)
- func (c SecureScoreClient) SecureScoresListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp SecureScoresListCompleteResult, err error)
- type SecureScoreControlDefinitionItem
- type SecureScoreControlDefinitionItemProperties
- type SecureScoreControlDefinitionSource
- type SecureScoreControlDetails
- type SecureScoreControlDetailsOperationPredicate
- type SecureScoreControlScoreDetails
- type SecureScoreControlsListBySecureScoreCompleteResult
- type SecureScoreControlsListBySecureScoreOperationOptions
- type SecureScoreControlsListBySecureScoreOperationResponse
- type SecureScoreId
- type SecureScoreItem
- type SecureScoreItemOperationPredicate
- type SecureScoreItemProperties
- type SecureScoresGetOperationResponse
- type SecureScoresListCompleteResult
- type SecureScoresListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForControlType ¶
func PossibleValuesForControlType() []string
func PossibleValuesForExpandControlsEnum ¶
func PossibleValuesForExpandControlsEnum() []string
func ValidateSecureScoreID ¶
ValidateSecureScoreID checks that 'input' can be parsed as a Secure Score ID
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 SecureScoreClient ¶
func NewSecureScoreClientWithBaseURI ¶
func NewSecureScoreClientWithBaseURI(endpoint string) SecureScoreClient
func (SecureScoreClient) SecureScoreControlsListBySecureScore ¶
func (c SecureScoreClient) SecureScoreControlsListBySecureScore(ctx context.Context, id SecureScoreId, options SecureScoreControlsListBySecureScoreOperationOptions) (resp SecureScoreControlsListBySecureScoreOperationResponse, err error)
SecureScoreControlsListBySecureScore ...
func (SecureScoreClient) SecureScoreControlsListBySecureScoreComplete ¶
func (c SecureScoreClient) SecureScoreControlsListBySecureScoreComplete(ctx context.Context, id SecureScoreId, options SecureScoreControlsListBySecureScoreOperationOptions) (SecureScoreControlsListBySecureScoreCompleteResult, error)
SecureScoreControlsListBySecureScoreComplete retrieves all of the results into a single object
func (SecureScoreClient) SecureScoreControlsListBySecureScoreCompleteMatchingPredicate ¶
func (c SecureScoreClient) SecureScoreControlsListBySecureScoreCompleteMatchingPredicate(ctx context.Context, id SecureScoreId, options SecureScoreControlsListBySecureScoreOperationOptions, predicate SecureScoreControlDetailsOperationPredicate) (resp SecureScoreControlsListBySecureScoreCompleteResult, err error)
SecureScoreControlsListBySecureScoreCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SecureScoreClient) SecureScoresGet ¶
func (c SecureScoreClient) SecureScoresGet(ctx context.Context, id SecureScoreId) (result SecureScoresGetOperationResponse, err error)
SecureScoresGet ...
func (SecureScoreClient) SecureScoresList ¶
func (c SecureScoreClient) SecureScoresList(ctx context.Context, id commonids.SubscriptionId) (resp SecureScoresListOperationResponse, err error)
SecureScoresList ...
func (SecureScoreClient) SecureScoresListComplete ¶
func (c SecureScoreClient) SecureScoresListComplete(ctx context.Context, id commonids.SubscriptionId) (SecureScoresListCompleteResult, error)
SecureScoresListComplete retrieves all of the results into a single object
func (SecureScoreClient) SecureScoresListCompleteMatchingPredicate ¶
func (c SecureScoreClient) SecureScoresListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecureScoreItemOperationPredicate) (resp SecureScoresListCompleteResult, err error)
SecureScoresListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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 SecureScoreControlsListBySecureScoreCompleteResult ¶
type SecureScoreControlsListBySecureScoreCompleteResult struct {
Items []SecureScoreControlDetails
}
type SecureScoreControlsListBySecureScoreOperationOptions ¶
type SecureScoreControlsListBySecureScoreOperationOptions struct {
Expand *ExpandControlsEnum
}
func DefaultSecureScoreControlsListBySecureScoreOperationOptions ¶
func DefaultSecureScoreControlsListBySecureScoreOperationOptions() SecureScoreControlsListBySecureScoreOperationOptions
type SecureScoreControlsListBySecureScoreOperationResponse ¶
type SecureScoreControlsListBySecureScoreOperationResponse struct { HttpResponse *http.Response Model *[]SecureScoreControlDetails // contains filtered or unexported fields }
func (SecureScoreControlsListBySecureScoreOperationResponse) HasMore ¶
func (r SecureScoreControlsListBySecureScoreOperationResponse) HasMore() bool
func (SecureScoreControlsListBySecureScoreOperationResponse) LoadMore ¶
func (r SecureScoreControlsListBySecureScoreOperationResponse) LoadMore(ctx context.Context) (resp SecureScoreControlsListBySecureScoreOperationResponse, err error)
type SecureScoreId ¶
SecureScoreId is a struct representing the Resource ID for a Secure Score
func NewSecureScoreID ¶
func NewSecureScoreID(subscriptionId string, secureScoreName string) SecureScoreId
NewSecureScoreID returns a new SecureScoreId struct
func ParseSecureScoreID ¶
func ParseSecureScoreID(input string) (*SecureScoreId, error)
ParseSecureScoreID parses 'input' into a SecureScoreId
func ParseSecureScoreIDInsensitively ¶
func ParseSecureScoreIDInsensitively(input string) (*SecureScoreId, error)
ParseSecureScoreIDInsensitively parses 'input' case-insensitively into a SecureScoreId note: this method should only be used for API response data and not user input
func (SecureScoreId) ID ¶
func (id SecureScoreId) ID() string
ID returns the formatted Secure Score ID
func (SecureScoreId) Segments ¶
func (id SecureScoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Secure Score ID
func (SecureScoreId) String ¶
func (id SecureScoreId) String() string
String returns a human-readable description of this Secure Score ID
type SecureScoreItem ¶
type SecureScoreItem struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecureScoreItemProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SecureScoreItemOperationPredicate ¶
func (SecureScoreItemOperationPredicate) Matches ¶
func (p SecureScoreItemOperationPredicate) Matches(input SecureScoreItem) bool
type SecureScoreItemProperties ¶
type SecureScoreItemProperties struct { DisplayName *string `json:"displayName,omitempty"` Score *ScoreDetails `json:"score,omitempty"` Weight *int64 `json:"weight,omitempty"` }
type SecureScoresGetOperationResponse ¶
type SecureScoresGetOperationResponse struct { HttpResponse *http.Response Model *SecureScoreItem }
type SecureScoresListCompleteResult ¶
type SecureScoresListCompleteResult struct {
Items []SecureScoreItem
}
type SecureScoresListOperationResponse ¶
type SecureScoresListOperationResponse struct { HttpResponse *http.Response Model *[]SecureScoreItem // contains filtered or unexported fields }
func (SecureScoresListOperationResponse) HasMore ¶
func (r SecureScoresListOperationResponse) HasMore() bool
func (SecureScoresListOperationResponse) LoadMore ¶
func (r SecureScoresListOperationResponse) LoadMore(ctx context.Context) (resp SecureScoresListOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- id_securescore.go
- method_securescorecontrolslistbysecurescore_autorest.go
- method_securescoresget_autorest.go
- method_securescoreslist_autorest.go
- model_azureresourcelink.go
- model_scoredetails.go
- model_securescorecontroldefinitionitem.go
- model_securescorecontroldefinitionitemproperties.go
- model_securescorecontroldefinitionsource.go
- model_securescorecontroldetails.go
- model_securescorecontrolscoredetails.go
- model_securescoreitem.go
- model_securescoreitemproperties.go
- predicates.go
- version.go