Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAutoScaleSettingID ¶
ValidateAutoScaleSettingID checks that 'input' can be parsed as a Auto Scale Setting ID
Types ¶
type AutoScaleSettingId ¶
type AutoScaleSettingId struct { SubscriptionId string ResourceGroupName string AutoScaleSettingName string }
AutoScaleSettingId is a struct representing the Resource ID for a Auto Scale Setting
func NewAutoScaleSettingID ¶
func NewAutoScaleSettingID(subscriptionId string, resourceGroupName string, autoScaleSettingName string) AutoScaleSettingId
NewAutoScaleSettingID returns a new AutoScaleSettingId struct
func ParseAutoScaleSettingID ¶
func ParseAutoScaleSettingID(input string) (*AutoScaleSettingId, error)
ParseAutoScaleSettingID parses 'input' into a AutoScaleSettingId
func ParseAutoScaleSettingIDInsensitively ¶
func ParseAutoScaleSettingIDInsensitively(input string) (*AutoScaleSettingId, error)
ParseAutoScaleSettingIDInsensitively parses 'input' case-insensitively into a AutoScaleSettingId note: this method should only be used for API response data and not user input
func (*AutoScaleSettingId) FromParseResult ¶
func (id *AutoScaleSettingId) FromParseResult(input resourceids.ParseResult) error
func (AutoScaleSettingId) ID ¶
func (id AutoScaleSettingId) ID() string
ID returns the formatted Auto Scale Setting ID
func (AutoScaleSettingId) Segments ¶
func (id AutoScaleSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Auto Scale Setting ID
func (AutoScaleSettingId) String ¶
func (id AutoScaleSettingId) String() string
String returns a human-readable description of this Auto Scale Setting ID
type MetricsClient ¶
func NewMetricsClientWithBaseURI ¶
func NewMetricsClientWithBaseURI(endpoint string) MetricsClient
func (MetricsClient) PredictiveMetricGet ¶
func (c MetricsClient) PredictiveMetricGet(ctx context.Context, id AutoScaleSettingId, options PredictiveMetricGetOperationOptions) (result PredictiveMetricGetOperationResponse, err error)
PredictiveMetricGet ...
type PredictiveMetricGetOperationOptions ¶
type PredictiveMetricGetOperationOptions struct { Aggregation *string Interval *string MetricName *string MetricNamespace *string Timespan *string }
func DefaultPredictiveMetricGetOperationOptions ¶
func DefaultPredictiveMetricGetOperationOptions() PredictiveMetricGetOperationOptions
type PredictiveMetricGetOperationResponse ¶
type PredictiveMetricGetOperationResponse struct { HttpResponse *http.Response Model *PredictiveResponse }
type PredictiveResponse ¶
type PredictiveResponse struct { Data *[]PredictiveValue `json:"data,omitempty"` Interval *string `json:"interval,omitempty"` MetricName *string `json:"metricName,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` Timespan *string `json:"timespan,omitempty"` }
type PredictiveValue ¶
func (*PredictiveValue) GetTimeStampAsTime ¶
func (o *PredictiveValue) GetTimeStampAsTime() (*time.Time, error)
func (*PredictiveValue) SetTimeStampAsTime ¶
func (o *PredictiveValue) SetTimeStampAsTime(input time.Time)