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) (result 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, ...) (result ListByApiCompleteResult, err error)
- func (c GraphQLApiResolverClient) Update(ctx context.Context, id ResolverId, input ResolverUpdateContract, ...) (result UpdateOperationResponse, err error)
- type ListByApiCompleteResult
- type ListByApiCustomPager
- 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) FromParseResult ¶
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
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
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResolverContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResolverContract }
type GraphQLApiResolverClient ¶
type GraphQLApiResolverClient struct {
Client *resourcemanager.Client
}
func NewGraphQLApiResolverClientWithBaseURI ¶
func NewGraphQLApiResolverClientWithBaseURI(sdkApi sdkEnv.Api) (*GraphQLApiResolverClient, error)
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) (result ListByApiOperationResponse, err error)
ListByApi ...
func (GraphQLApiResolverClient) ListByApiComplete ¶
func (c GraphQLApiResolverClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
ListByApiComplete retrieves all the results into a single object
func (GraphQLApiResolverClient) ListByApiCompleteMatchingPredicate ¶
func (c GraphQLApiResolverClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, predicate ResolverContractOperationPredicate) (result ListByApiCompleteResult, err error)
ListByApiCompleteMatchingPredicate retrieves all the results and then applies 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 { LatestHttpResponse *http.Response Items []ResolverContract }
type ListByApiCustomPager ¶ added in v0.20240628.1153531
func (*ListByApiCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByApiCustomPager) NextPageLink() *odata.Link
type ListByApiOperationOptions ¶
func DefaultListByApiOperationOptions ¶
func DefaultListByApiOperationOptions() ListByApiOperationOptions
func (ListByApiOperationOptions) ToHeaders ¶
func (o ListByApiOperationOptions) ToHeaders() *client.Headers
func (ListByApiOperationOptions) ToOData ¶
func (o ListByApiOperationOptions) ToOData() *odata.Query
func (ListByApiOperationOptions) ToQuery ¶
func (o ListByApiOperationOptions) ToQuery() *client.QueryParams
type ListByApiOperationResponse ¶
type ListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResolverContract }
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) FromParseResult ¶
func (id *ResolverId) FromParseResult(input resourceids.ParseResult) error
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
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResolverContract }
Source Files ¶
- client.go
- id_api.go
- id_resolver.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyapi.go
- method_update.go
- model_resolvercontract.go
- model_resolverentitybasecontract.go
- model_resolverupdatecontract.go
- model_resolverupdatecontractproperties.go
- predicates.go
- version.go