Documentation ¶
Index ¶
- func PossibleValuesForCPUThreshold() []string
- func PossibleValuesForCategory() []string
- func PossibleValuesForDigestConfigState() []string
- type CPUThreshold
- type Category
- type ConfigData
- type ConfigDataOperationPredicate
- type ConfigDataProperties
- type ConfigurationsClient
- func (c ConfigurationsClient) CreateInResourceGroup(ctx context.Context, id commonids.ResourceGroupId, input ConfigData) (result CreateInResourceGroupOperationResponse, err error)
- func (c ConfigurationsClient) CreateInSubscription(ctx context.Context, id commonids.SubscriptionId, input ConfigData) (result CreateInSubscriptionOperationResponse, err error)
- func (c ConfigurationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ConfigurationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ConfigurationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ConfigurationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ConfigurationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ConfigurationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- type CreateInResourceGroupOperationResponse
- type CreateInSubscriptionOperationResponse
- type DigestConfig
- type DigestConfigState
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCPUThreshold ¶
func PossibleValuesForCPUThreshold() []string
func PossibleValuesForCategory ¶
func PossibleValuesForCategory() []string
func PossibleValuesForDigestConfigState ¶
func PossibleValuesForDigestConfigState() []string
Types ¶
type CPUThreshold ¶
type CPUThreshold string
const ( CPUThresholdFive CPUThreshold = "5" CPUThresholdOneFive CPUThreshold = "15" CPUThresholdOneZero CPUThreshold = "10" CPUThresholdTwoZero CPUThreshold = "20" )
func (*CPUThreshold) UnmarshalJSON ¶
func (s *CPUThreshold) UnmarshalJSON(bytes []byte) error
type ConfigData ¶
type ConfigData struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ConfigDataProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ConfigDataOperationPredicate ¶
func (ConfigDataOperationPredicate) Matches ¶
func (p ConfigDataOperationPredicate) Matches(input ConfigData) bool
type ConfigDataProperties ¶
type ConfigDataProperties struct { Digests *[]DigestConfig `json:"digests,omitempty"` Exclude *bool `json:"exclude,omitempty"` LowCPUThreshold *CPUThreshold `json:"lowCpuThreshold,omitempty"` }
type ConfigurationsClient ¶
type ConfigurationsClient struct {
Client *resourcemanager.Client
}
func NewConfigurationsClientWithBaseURI ¶
func NewConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ConfigurationsClient, error)
func (ConfigurationsClient) CreateInResourceGroup ¶
func (c ConfigurationsClient) CreateInResourceGroup(ctx context.Context, id commonids.ResourceGroupId, input ConfigData) (result CreateInResourceGroupOperationResponse, err error)
CreateInResourceGroup ...
func (ConfigurationsClient) CreateInSubscription ¶
func (c ConfigurationsClient) CreateInSubscription(ctx context.Context, id commonids.SubscriptionId, input ConfigData) (result CreateInSubscriptionOperationResponse, err error)
CreateInSubscription ...
func (ConfigurationsClient) ListByResourceGroup ¶
func (c ConfigurationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ConfigurationsClient) ListByResourceGroupComplete ¶ added in v0.20240226.1173038
func (c ConfigurationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ConfigurationsClient) ListByResourceGroupCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c ConfigurationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ConfigDataOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ConfigurationsClient) ListBySubscription ¶
func (c ConfigurationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ConfigurationsClient) ListBySubscriptionComplete ¶
func (c ConfigurationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ConfigurationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ConfigurationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ConfigDataOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CreateInResourceGroupOperationResponse ¶
type CreateInResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ConfigData }
type CreateInSubscriptionOperationResponse ¶
type CreateInSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ConfigData }
type DigestConfig ¶
type DigestConfig struct { ActionGroupResourceId *string `json:"actionGroupResourceId,omitempty"` Categories *[]Category `json:"categories,omitempty"` Frequency *int64 `json:"frequency,omitempty"` Language *string `json:"language,omitempty"` Name *string `json:"name,omitempty"` State *DigestConfigState `json:"state,omitempty"` }
type DigestConfigState ¶
type DigestConfigState string
const ( DigestConfigStateActive DigestConfigState = "Active" DigestConfigStateDisabled DigestConfigState = "Disabled" )
func (*DigestConfigState) UnmarshalJSON ¶
func (s *DigestConfigState) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶ added in v0.20240226.1173038
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ConfigData }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ConfigData }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []ConfigData }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ConfigData }
Click to show internal directories.
Click to hide internal directories.