Documentation ¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTimeZoneID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationCustomPager
- type ListByLocationOperationResponse
- type LocationId
- type TimeZone
- type TimeZoneId
- type TimeZoneOperationPredicate
- type TimeZoneProperties
- type TimeZonesClient
- func (c TimeZonesClient) Get(ctx context.Context, id TimeZoneId) (result GetOperationResponse, err error)
- func (c TimeZonesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
- func (c TimeZonesClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
- func (c TimeZonesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate TimeZoneOperationPredicate) (result ListByLocationCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateTimeZoneID ¶
ValidateTimeZoneID checks that 'input' can be parsed as a Time Zone ID
Types ¶
type GetOperationResponse ¶
type ListByLocationCustomPager ¶
func (*ListByLocationCustomPager) NextPageLink ¶
func (p *ListByLocationCustomPager) NextPageLink() *odata.Link
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type TimeZone ¶
type TimeZone struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TimeZoneProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TimeZoneId ¶
TimeZoneId is a struct representing the Resource ID for a Time Zone
func NewTimeZoneID ¶
func NewTimeZoneID(subscriptionId string, locationName string, timeZoneId string) TimeZoneId
NewTimeZoneID returns a new TimeZoneId struct
func ParseTimeZoneID ¶
func ParseTimeZoneID(input string) (*TimeZoneId, error)
ParseTimeZoneID parses 'input' into a TimeZoneId
func ParseTimeZoneIDInsensitively ¶
func ParseTimeZoneIDInsensitively(input string) (*TimeZoneId, error)
ParseTimeZoneIDInsensitively parses 'input' case-insensitively into a TimeZoneId note: this method should only be used for API response data and not user input
func (*TimeZoneId) FromParseResult ¶
func (id *TimeZoneId) FromParseResult(input resourceids.ParseResult) error
func (TimeZoneId) Segments ¶
func (id TimeZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Time Zone ID
func (TimeZoneId) String ¶
func (id TimeZoneId) String() string
String returns a human-readable description of this Time Zone ID
type TimeZoneOperationPredicate ¶
func (TimeZoneOperationPredicate) Matches ¶
func (p TimeZoneOperationPredicate) Matches(input TimeZone) bool
type TimeZoneProperties ¶
type TimeZonesClient ¶
type TimeZonesClient struct {
Client *resourcemanager.Client
}
func NewTimeZonesClientWithBaseURI ¶
func NewTimeZonesClientWithBaseURI(sdkApi sdkEnv.Api) (*TimeZonesClient, error)
func (TimeZonesClient) Get ¶
func (c TimeZonesClient) Get(ctx context.Context, id TimeZoneId) (result GetOperationResponse, err error)
Get ...
func (TimeZonesClient) ListByLocation ¶
func (c TimeZonesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (TimeZonesClient) ListByLocationComplete ¶
func (c TimeZonesClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (TimeZonesClient) ListByLocationCompleteMatchingPredicate ¶
func (c TimeZonesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate TimeZoneOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate