Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiRevisionClient
- func (c ApiRevisionClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c ApiRevisionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- type ApiRevisionContract
- type ApiRevisionContractOperationPredicate
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiRevisionClient ¶
func NewApiRevisionClientWithBaseURI ¶
func NewApiRevisionClientWithBaseURI(endpoint string) ApiRevisionClient
func (ApiRevisionClient) ListByService ¶
func (c ApiRevisionClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (ApiRevisionClient) ListByServiceComplete ¶
func (c ApiRevisionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (ApiRevisionClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, predicate ApiRevisionContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ApiRevisionContract ¶
type ApiRevisionContract struct { ApiId *string `json:"apiId,omitempty"` ApiRevision *string `json:"apiRevision,omitempty"` CreatedDateTime *string `json:"createdDateTime,omitempty"` Description *string `json:"description,omitempty"` IsCurrent *bool `json:"isCurrent,omitempty"` IsOnline *bool `json:"isOnline,omitempty"` PrivateUrl *string `json:"privateUrl,omitempty"` UpdatedDateTime *string `json:"updatedDateTime,omitempty"` }
func (*ApiRevisionContract) GetCreatedDateTimeAsTime ¶
func (o *ApiRevisionContract) GetCreatedDateTimeAsTime() (*time.Time, error)
func (*ApiRevisionContract) GetUpdatedDateTimeAsTime ¶
func (o *ApiRevisionContract) GetUpdatedDateTimeAsTime() (*time.Time, error)
func (*ApiRevisionContract) SetCreatedDateTimeAsTime ¶
func (o *ApiRevisionContract) SetCreatedDateTimeAsTime(input time.Time)
func (*ApiRevisionContract) SetUpdatedDateTimeAsTime ¶
func (o *ApiRevisionContract) SetUpdatedDateTimeAsTime(input time.Time)
type ApiRevisionContractOperationPredicate ¶
type ApiRevisionContractOperationPredicate struct { ApiId *string ApiRevision *string CreatedDateTime *string Description *string IsCurrent *bool IsOnline *bool PrivateUrl *string UpdatedDateTime *string }
func (ApiRevisionContractOperationPredicate) Matches ¶
func (p ApiRevisionContractOperationPredicate) Matches(input ApiRevisionContract) bool
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []ApiRevisionContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]ApiRevisionContract // 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)
Click to show internal directories.
Click to hide internal directories.