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) (resp 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, ...) (resp 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" )
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 autorest.Client // contains filtered or unexported fields }
func NewConfigurationsClientWithBaseURI ¶
func NewConfigurationsClientWithBaseURI(endpoint string) ConfigurationsClient
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) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ConfigurationsClient) ListBySubscriptionComplete ¶
func (c ConfigurationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ConfigurationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ConfigurationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ConfigDataOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateInResourceGroupOperationResponse ¶
type CreateInResourceGroupOperationResponse struct { HttpResponse *http.Response Model *ConfigData }
type CreateInSubscriptionOperationResponse ¶
type CreateInSubscriptionOperationResponse struct { HttpResponse *http.Response 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" )
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *ConfigurationListResult }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ConfigData
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ConfigData // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
Source Files ¶
- client.go
- constants.go
- method_createinresourcegroup_autorest.go
- method_createinsubscription_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- model_configdata.go
- model_configdataproperties.go
- model_configurationlistresult.go
- model_digestconfig.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.