Documentation ¶
Index ¶
- func PossibleValuesForCPUThreshold() []string
- func PossibleValuesForCategory() []string
- func PossibleValuesForDigestConfigState() []string
- func PossibleValuesForDuration() []string
- type CPUThreshold
- type Category
- type ConfigData
- type ConfigDataOperationPredicate
- type ConfigDataProperties
- type ConfigurationListResult
- 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) 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 Duration
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- 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
func PossibleValuesForDuration ¶
func PossibleValuesForDuration() []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"` SystemData *systemdata.SystemData `json:"systemData,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"` Duration *Duration `json:"duration,omitempty"` Exclude *bool `json:"exclude,omitempty"` LowCPUThreshold *CPUThreshold `json:"lowCpuThreshold,omitempty"` }
type ConfigurationListResult ¶
type ConfigurationListResult struct { NextLink *string `json:"nextLink,omitempty"` Value *[]ConfigData `json:"value,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) 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 ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ConfigurationListResult }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []ConfigData }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ConfigData }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.