dimensions

package
v0.20220623.1111642 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForExternalCloudProviderType

func PossibleValuesForExternalCloudProviderType() []string

func ValidateExternalCloudProviderTypeID

func ValidateExternalCloudProviderTypeID(input interface{}, key string) (warnings []string, errors []error)

ValidateExternalCloudProviderTypeID checks that 'input' can be parsed as a External Cloud Provider Type ID

Types

type ByExternalCloudProviderTypeOperationOptions

type ByExternalCloudProviderTypeOperationOptions struct {
	Expand *string
	Filter *string
	Top    *int64
}

func DefaultByExternalCloudProviderTypeOperationOptions

func DefaultByExternalCloudProviderTypeOperationOptions() ByExternalCloudProviderTypeOperationOptions

type ByExternalCloudProviderTypeOperationResponse

type ByExternalCloudProviderTypeOperationResponse struct {
	HttpResponse *http.Response
	Model        *Dimension
}

type Dimension

type Dimension struct {
	ETag       *string              `json:"eTag,omitempty"`
	Id         *string              `json:"id,omitempty"`
	Location   *string              `json:"location,omitempty"`
	Name       *string              `json:"name,omitempty"`
	Properties *DimensionProperties `json:"properties,omitempty"`
	Sku        *string              `json:"sku,omitempty"`
	Tags       *map[string]string   `json:"tags,omitempty"`
	Type       *string              `json:"type,omitempty"`
}

type DimensionProperties

type DimensionProperties struct {
	Category        *string   `json:"category,omitempty"`
	Data            *[]string `json:"data,omitempty"`
	Description     *string   `json:"description,omitempty"`
	FilterEnabled   *bool     `json:"filterEnabled,omitempty"`
	GroupingEnabled *bool     `json:"groupingEnabled,omitempty"`
	NextLink        *string   `json:"nextLink,omitempty"`
	Total           *int64    `json:"total,omitempty"`
	UsageEnd        *string   `json:"usageEnd,omitempty"`
	UsageStart      *string   `json:"usageStart,omitempty"`
}

func (*DimensionProperties) GetUsageEndAsTime

func (o *DimensionProperties) GetUsageEndAsTime() (*time.Time, error)

func (*DimensionProperties) GetUsageStartAsTime

func (o *DimensionProperties) GetUsageStartAsTime() (*time.Time, error)

func (*DimensionProperties) SetUsageEndAsTime

func (o *DimensionProperties) SetUsageEndAsTime(input time.Time)

func (*DimensionProperties) SetUsageStartAsTime

func (o *DimensionProperties) SetUsageStartAsTime(input time.Time)

type DimensionsClient

type DimensionsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDimensionsClientWithBaseURI

func NewDimensionsClientWithBaseURI(endpoint string) DimensionsClient

func (DimensionsClient) ByExternalCloudProviderType

ByExternalCloudProviderType ...

func (DimensionsClient) List

List ...

type ExternalCloudProviderType

type ExternalCloudProviderType string
const (
	ExternalCloudProviderTypeExternalBillingAccounts ExternalCloudProviderType = "externalBillingAccounts"
	ExternalCloudProviderTypeExternalSubscriptions   ExternalCloudProviderType = "externalSubscriptions"
)

type ExternalCloudProviderTypeId

type ExternalCloudProviderTypeId struct {
	ExternalCloudProviderType ExternalCloudProviderType
	ExternalCloudProviderId   string
}

ExternalCloudProviderTypeId is a struct representing the Resource ID for a External Cloud Provider Type

func NewExternalCloudProviderTypeID

func NewExternalCloudProviderTypeID(externalCloudProviderType ExternalCloudProviderType, externalCloudProviderId string) ExternalCloudProviderTypeId

NewExternalCloudProviderTypeID returns a new ExternalCloudProviderTypeId struct

func ParseExternalCloudProviderTypeID

func ParseExternalCloudProviderTypeID(input string) (*ExternalCloudProviderTypeId, error)

ParseExternalCloudProviderTypeID parses 'input' into a ExternalCloudProviderTypeId

func ParseExternalCloudProviderTypeIDInsensitively

func ParseExternalCloudProviderTypeIDInsensitively(input string) (*ExternalCloudProviderTypeId, error)

ParseExternalCloudProviderTypeIDInsensitively parses 'input' case-insensitively into a ExternalCloudProviderTypeId note: this method should only be used for API response data and not user input

func (ExternalCloudProviderTypeId) ID

ID returns the formatted External Cloud Provider Type ID

func (ExternalCloudProviderTypeId) Segments

Segments returns a slice of Resource ID Segments which comprise this External Cloud Provider Type ID

func (ExternalCloudProviderTypeId) String

func (id ExternalCloudProviderTypeId) String() string

String returns a human-readable description of this External Cloud Provider Type ID

type ListOperationOptions

type ListOperationOptions struct {
	Expand *string
	Filter *string
	Top    *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *Dimension
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL