Documentation ¶
Index ¶
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ListByServiceCompleteResult
- type ListByServiceOperationResponse
- type RegionClient
- func (c RegionClient) ListByService(ctx context.Context, id ServiceId) (resp ListByServiceOperationResponse, err error)
- func (c RegionClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
- func (c RegionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate RegionContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
- type RegionContract
- type RegionContractOperationPredicate
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []RegionContract
}
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]RegionContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type RegionClient ¶
func NewRegionClientWithBaseURI ¶
func NewRegionClientWithBaseURI(endpoint string) RegionClient
func (RegionClient) ListByService ¶
func (c RegionClient) ListByService(ctx context.Context, id ServiceId) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (RegionClient) ListByServiceComplete ¶
func (c RegionClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (RegionClient) ListByServiceCompleteMatchingPredicate ¶
func (c RegionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate RegionContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type RegionContract ¶
type RegionContractOperationPredicate ¶
func (RegionContractOperationPredicate) Matches ¶
func (p RegionContractOperationPredicate) Matches(input RegionContract) bool
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID