Documentation ¶
Index ¶
- func PossibleValuesForAggregationType() []string
- func PossibleValuesForMetricAggregationType() []string
- func PossibleValuesForMetricClass() []string
- func PossibleValuesForMetricUnit() []string
- type AggregationType
- type ListAtSubscriptionScopeOperationOptions
- type ListAtSubscriptionScopeOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type LocalizableString
- type MetricAggregationType
- type MetricAvailability
- type MetricClass
- type MetricDefinition
- type MetricDefinitionCollection
- type MetricDefinitionsClient
- func (c MetricDefinitionsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c MetricDefinitionsClient) ListAtSubscriptionScope(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAtSubscriptionScopeOperationResponse, err error)
- type MetricUnit
- type SubscriptionScopeMetricDefinition
- type SubscriptionScopeMetricDefinitionCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAggregationType ¶
func PossibleValuesForAggregationType() []string
func PossibleValuesForMetricAggregationType ¶
func PossibleValuesForMetricAggregationType() []string
func PossibleValuesForMetricClass ¶
func PossibleValuesForMetricClass() []string
func PossibleValuesForMetricUnit ¶
func PossibleValuesForMetricUnit() []string
Types ¶
type AggregationType ¶
type AggregationType string
const ( AggregationTypeAverage AggregationType = "Average" AggregationTypeCount AggregationType = "Count" AggregationTypeMaximum AggregationType = "Maximum" AggregationTypeMinimum AggregationType = "Minimum" AggregationTypeNone AggregationType = "None" AggregationTypeTotal AggregationType = "Total" )
type ListAtSubscriptionScopeOperationOptions ¶
func DefaultListAtSubscriptionScopeOperationOptions ¶
func DefaultListAtSubscriptionScopeOperationOptions() ListAtSubscriptionScopeOperationOptions
type ListAtSubscriptionScopeOperationResponse ¶
type ListAtSubscriptionScopeOperationResponse struct { HttpResponse *http.Response Model *SubscriptionScopeMetricDefinitionCollection }
type ListOperationOptions ¶
type ListOperationOptions struct {
Metricnamespace *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *MetricDefinitionCollection }
type LocalizableString ¶
type MetricAggregationType ¶
type MetricAggregationType string
const ( MetricAggregationTypeAverage MetricAggregationType = "Average" MetricAggregationTypeCount MetricAggregationType = "Count" MetricAggregationTypeMaximum MetricAggregationType = "Maximum" MetricAggregationTypeMinimum MetricAggregationType = "Minimum" MetricAggregationTypeNone MetricAggregationType = "None" MetricAggregationTypeTotal MetricAggregationType = "Total" )
type MetricAvailability ¶
type MetricClass ¶
type MetricClass string
const ( MetricClassAvailability MetricClass = "Availability" MetricClassErrors MetricClass = "Errors" MetricClassLatency MetricClass = "Latency" MetricClassSaturation MetricClass = "Saturation" MetricClassTransactions MetricClass = "Transactions" )
type MetricDefinition ¶
type MetricDefinition struct { Category *string `json:"category,omitempty"` Dimensions *[]LocalizableString `json:"dimensions,omitempty"` DisplayDescription *string `json:"displayDescription,omitempty"` Id *string `json:"id,omitempty"` IsDimensionRequired *bool `json:"isDimensionRequired,omitempty"` MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` MetricClass *MetricClass `json:"metricClass,omitempty"` Name *LocalizableString `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` PrimaryAggregationType *AggregationType `json:"primaryAggregationType,omitempty"` ResourceId *string `json:"resourceId,omitempty"` SupportedAggregationTypes *[]AggregationType `json:"supportedAggregationTypes,omitempty"` Unit *MetricUnit `json:"unit,omitempty"` }
type MetricDefinitionCollection ¶
type MetricDefinitionCollection struct {
Value []MetricDefinition `json:"value"`
}
type MetricDefinitionsClient ¶
type MetricDefinitionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewMetricDefinitionsClientWithBaseURI ¶
func NewMetricDefinitionsClientWithBaseURI(endpoint string) MetricDefinitionsClient
func (MetricDefinitionsClient) List ¶
func (c MetricDefinitionsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (MetricDefinitionsClient) ListAtSubscriptionScope ¶
func (c MetricDefinitionsClient) ListAtSubscriptionScope(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionScopeOperationOptions) (result ListAtSubscriptionScopeOperationResponse, err error)
ListAtSubscriptionScope ...
type MetricUnit ¶
type MetricUnit string
const ( MetricUnitBitsPerSecond MetricUnit = "BitsPerSecond" MetricUnitByteSeconds MetricUnit = "ByteSeconds" MetricUnitBytes MetricUnit = "Bytes" MetricUnitBytesPerSecond MetricUnit = "BytesPerSecond" MetricUnitCores MetricUnit = "Cores" MetricUnitCount MetricUnit = "Count" MetricUnitCountPerSecond MetricUnit = "CountPerSecond" MetricUnitMilliCores MetricUnit = "MilliCores" MetricUnitMilliSeconds MetricUnit = "MilliSeconds" MetricUnitNanoCores MetricUnit = "NanoCores" MetricUnitPercent MetricUnit = "Percent" MetricUnitSeconds MetricUnit = "Seconds" MetricUnitUnspecified MetricUnit = "Unspecified" )
type SubscriptionScopeMetricDefinition ¶
type SubscriptionScopeMetricDefinition struct { Category *string `json:"category,omitempty"` Dimensions *[]LocalizableString `json:"dimensions,omitempty"` DisplayDescription *string `json:"displayDescription,omitempty"` Id *string `json:"id,omitempty"` IsDimensionRequired *bool `json:"isDimensionRequired,omitempty"` MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` MetricClass *MetricClass `json:"metricClass,omitempty"` Name *LocalizableString `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` PrimaryAggregationType *MetricAggregationType `json:"primaryAggregationType,omitempty"` ResourceId *string `json:"resourceId,omitempty"` SupportedAggregationTypes *[]MetricAggregationType `json:"supportedAggregationTypes,omitempty"` Unit *MetricUnit `json:"unit,omitempty"` }
type SubscriptionScopeMetricDefinitionCollection ¶
type SubscriptionScopeMetricDefinitionCollection struct {
Value []SubscriptionScopeMetricDefinition `json:"value"`
}
Source Files ¶
- client.go
- constants.go
- method_list_autorest.go
- method_listatsubscriptionscope_autorest.go
- model_localizablestring.go
- model_metricavailability.go
- model_metricdefinition.go
- model_metricdefinitioncollection.go
- model_subscriptionscopemetricdefinition.go
- model_subscriptionscopemetricdefinitioncollection.go
- version.go
Click to show internal directories.
Click to hide internal directories.