Documentation ¶
Index ¶
- func PossibleValuesForAggregationType() []string
- func PossibleValuesForUnit() []string
- type AggregationType
- type ListOperationOptions
- type ListOperationResponse
- type LocalizableString
- type MetricAvailability
- type MetricDefinition
- type MetricDefinitionCollection
- type MetricDefinitionsClient
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAggregationType ¶
func PossibleValuesForAggregationType() []string
func PossibleValuesForUnit ¶
func PossibleValuesForUnit() []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 ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *MetricDefinitionCollection }
type LocalizableString ¶
type MetricAvailability ¶
type MetricDefinition ¶
type MetricDefinition struct { Id *string `json:"id,omitempty"` MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` Name *LocalizableString `json:"name,omitempty"` PrimaryAggregationType *AggregationType `json:"primaryAggregationType,omitempty"` ResourceId *string `json:"resourceId,omitempty"` Unit *Unit `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 ...
type Unit ¶
type Unit string
const ( UnitBitsPerSecond Unit = "BitsPerSecond" UnitByteSeconds Unit = "ByteSeconds" UnitBytes Unit = "Bytes" UnitBytesPerSecond Unit = "BytesPerSecond" UnitCores Unit = "Cores" UnitCount Unit = "Count" UnitCountPerSecond Unit = "CountPerSecond" UnitMilliCores Unit = "MilliCores" UnitMilliSeconds Unit = "MilliSeconds" UnitNanoCores Unit = "NanoCores" UnitPercent Unit = "Percent" UnitSeconds Unit = "Seconds" UnitUnspecified Unit = "Unspecified" )
Click to show internal directories.
Click to hide internal directories.