Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResolverID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type GraphQLApiResolverClient
- func (c GraphQLApiResolverClient) CreateOrUpdate(ctx context.Context, id ResolverId, input ResolverContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GraphQLApiResolverClient) Delete(ctx context.Context, id ResolverId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c GraphQLApiResolverClient) Get(ctx context.Context, id ResolverId) (result GetOperationResponse, err error)
- func (c GraphQLApiResolverClient) GetEntityTag(ctx context.Context, id ResolverId) (result GetEntityTagOperationResponse, err error)
- func (c GraphQLApiResolverClient) ListByApi(ctx context.Context, id ApiId, options ListByApiOperationOptions) (resp ListByApiOperationResponse, err error)
- func (c GraphQLApiResolverClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
- func (c GraphQLApiResolverClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, ...) (resp ListByApiCompleteResult, err error)
- func (c GraphQLApiResolverClient) Update(ctx context.Context, id ResolverId, input ResolverUpdateContract, ...) (result UpdateOperationResponse, err error)
- type ListByApiCompleteResult
- type ListByApiOperationOptions
- type ListByApiOperationResponse
- type ResolverContract
- type ResolverContractOperationPredicate
- type ResolverEntityBaseContract
- type ResolverId
- type ResolverUpdateContract
- type ResolverUpdateContractProperties
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateResolverID ¶
ValidateResolverID checks that 'input' can be parsed as a Resolver 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 CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ResolverContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ResolverContract }
type GraphQLApiResolverClient ¶
type GraphQLApiResolverClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewGraphQLApiResolverClientWithBaseURI ¶
func NewGraphQLApiResolverClientWithBaseURI(endpoint string) GraphQLApiResolverClient
func (GraphQLApiResolverClient) CreateOrUpdate ¶
func (c GraphQLApiResolverClient) CreateOrUpdate(ctx context.Context, id ResolverId, input ResolverContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GraphQLApiResolverClient) Delete ¶
func (c GraphQLApiResolverClient) Delete(ctx context.Context, id ResolverId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (GraphQLApiResolverClient) Get ¶
func (c GraphQLApiResolverClient) Get(ctx context.Context, id ResolverId) (result GetOperationResponse, err error)
Get ...
func (GraphQLApiResolverClient) GetEntityTag ¶
func (c GraphQLApiResolverClient) GetEntityTag(ctx context.Context, id ResolverId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GraphQLApiResolverClient) ListByApi ¶
func (c GraphQLApiResolverClient) ListByApi(ctx context.Context, id ApiId, options ListByApiOperationOptions) (resp ListByApiOperationResponse, err error)
ListByApi ...
func (GraphQLApiResolverClient) ListByApiComplete ¶
func (c GraphQLApiResolverClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
ListByApiComplete retrieves all of the results into a single object
func (GraphQLApiResolverClient) ListByApiCompleteMatchingPredicate ¶
func (c GraphQLApiResolverClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, predicate ResolverContractOperationPredicate) (resp ListByApiCompleteResult, err error)
ListByApiCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GraphQLApiResolverClient) Update ¶
func (c GraphQLApiResolverClient) Update(ctx context.Context, id ResolverId, input ResolverUpdateContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type ListByApiCompleteResult ¶
type ListByApiCompleteResult struct {
Items []ResolverContract
}
type ListByApiOperationOptions ¶
func DefaultListByApiOperationOptions ¶
func DefaultListByApiOperationOptions() ListByApiOperationOptions
type ListByApiOperationResponse ¶
type ListByApiOperationResponse struct { HttpResponse *http.Response Model *[]ResolverContract // contains filtered or unexported fields }
func (ListByApiOperationResponse) HasMore ¶
func (r ListByApiOperationResponse) HasMore() bool
func (ListByApiOperationResponse) LoadMore ¶
func (r ListByApiOperationResponse) LoadMore(ctx context.Context) (resp ListByApiOperationResponse, err error)
type ResolverContract ¶
type ResolverContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ResolverEntityBaseContract `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ResolverContractOperationPredicate ¶
func (ResolverContractOperationPredicate) Matches ¶
func (p ResolverContractOperationPredicate) Matches(input ResolverContract) bool
type ResolverId ¶
type ResolverId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string ResolverId string }
ResolverId is a struct representing the Resource ID for a Resolver
func NewResolverID ¶
func NewResolverID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, resolverId string) ResolverId
NewResolverID returns a new ResolverId struct
func ParseResolverID ¶
func ParseResolverID(input string) (*ResolverId, error)
ParseResolverID parses 'input' into a ResolverId
func ParseResolverIDInsensitively ¶
func ParseResolverIDInsensitively(input string) (*ResolverId, error)
ParseResolverIDInsensitively parses 'input' case-insensitively into a ResolverId note: this method should only be used for API response data and not user input
func (ResolverId) Segments ¶
func (id ResolverId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resolver ID
func (ResolverId) String ¶
func (id ResolverId) String() string
String returns a human-readable description of this Resolver ID
type ResolverUpdateContract ¶
type ResolverUpdateContract struct {
Properties *ResolverUpdateContractProperties `json:"properties,omitempty"`
}
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ResolverContract }
Source Files ¶
- client.go
- id_api.go
- id_resolver.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyapi_autorest.go
- method_update_autorest.go
- model_resolvercontract.go
- model_resolverentitybasecontract.go
- model_resolverupdatecontract.go
- model_resolverupdatecontractproperties.go
- predicates.go
- version.go