Documentation ¶
Index ¶
- func PossibleValuesForControlType() []string
- func PossibleValuesForExpandControlsEnum() []string
- type AzureResourceLink
- type ControlType
- type ExpandControlsEnum
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ScoreDetails
- type SecureScoreControlDefinitionItem
- type SecureScoreControlDefinitionItemProperties
- type SecureScoreControlDefinitionSource
- type SecureScoreControlDetails
- type SecureScoreControlDetailsOperationPredicate
- type SecureScoreControlScoreDetails
- type SecureScoreControlsClient
- func (c SecureScoreControlsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c SecureScoreControlsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c SecureScoreControlsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
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" )
func (*ControlType) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *ControlType) UnmarshalJSON(bytes []byte) error
type ExpandControlsEnum ¶
type ExpandControlsEnum string
const (
ExpandControlsEnumDefinition ExpandControlsEnum = "definition"
)
func (*ExpandControlsEnum) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *ExpandControlsEnum) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []SecureScoreControlDetails }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *ExpandControlsEnum
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20240228.1142829
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20240228.1142829
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20240228.1142829
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecureScoreControlDetails }
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 *resourcemanager.Client
}
func NewSecureScoreControlsClientWithBaseURI ¶
func NewSecureScoreControlsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecureScoreControlsClient, error)
func (SecureScoreControlsClient) List ¶
func (c SecureScoreControlsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (SecureScoreControlsClient) ListComplete ¶
func (c SecureScoreControlsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SecureScoreControlsClient) ListCompleteMatchingPredicate ¶
func (c SecureScoreControlsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate SecureScoreControlDetailsOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- method_list.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.