regions

package
v0.20220622.1090000 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateSkuID

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

ValidateSkuID checks that 'input' can be parsed as a Sku ID

Types

type ListBySkuCompleteResult

type ListBySkuCompleteResult struct {
	Items []MessagingRegions
}

type ListBySkuOperationResponse

type ListBySkuOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]MessagingRegions
	// contains filtered or unexported fields
}

func (ListBySkuOperationResponse) HasMore

func (r ListBySkuOperationResponse) HasMore() bool

func (ListBySkuOperationResponse) LoadMore

type MessagingRegions

type MessagingRegions struct {
	Id         *string                     `json:"id,omitempty"`
	Location   *string                     `json:"location,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *MessagingRegionsProperties `json:"properties,omitempty"`
	Tags       *map[string]string          `json:"tags,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type MessagingRegionsOperationPredicate

type MessagingRegionsOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (MessagingRegionsOperationPredicate) Matches

type MessagingRegionsProperties

type MessagingRegionsProperties struct {
	Code     *string `json:"code,omitempty"`
	FullName *string `json:"fullName,omitempty"`
}

type RegionsClient

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

func NewRegionsClientWithBaseURI

func NewRegionsClientWithBaseURI(endpoint string) RegionsClient

func (RegionsClient) ListBySku

func (c RegionsClient) ListBySku(ctx context.Context, id SkuId) (resp ListBySkuOperationResponse, err error)

ListBySku ...

func (RegionsClient) ListBySkuComplete

func (c RegionsClient) ListBySkuComplete(ctx context.Context, id SkuId) (ListBySkuCompleteResult, error)

ListBySkuComplete retrieves all of the results into a single object

func (RegionsClient) ListBySkuCompleteMatchingPredicate

func (c RegionsClient) ListBySkuCompleteMatchingPredicate(ctx context.Context, id SkuId, predicate MessagingRegionsOperationPredicate) (resp ListBySkuCompleteResult, err error)

ListBySkuCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type SkuId

type SkuId struct {
	SubscriptionId string
	Sku            string
}

SkuId is a struct representing the Resource ID for a Sku

func NewSkuID

func NewSkuID(subscriptionId string, sku string) SkuId

NewSkuID returns a new SkuId struct

func ParseSkuID

func ParseSkuID(input string) (*SkuId, error)

ParseSkuID parses 'input' into a SkuId

func ParseSkuIDInsensitively

func ParseSkuIDInsensitively(input string) (*SkuId, error)

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

func (SkuId) ID

func (id SkuId) ID() string

ID returns the formatted Sku ID

func (SkuId) Segments

func (id SkuId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Sku ID

func (SkuId) String

func (id SkuId) String() string

String returns a human-readable description of this Sku ID

Jump to

Keyboard shortcuts

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