Documentation ¶
Index ¶
- func PossibleValuesForPolicyContentFormat() []string
- func PossibleValuesForPolicyExportFormat() []string
- func ValidateResolverID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type GraphQLApiResolverPolicyClient
- func (c GraphQLApiResolverPolicyClient) CreateOrUpdate(ctx context.Context, id ResolverId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GraphQLApiResolverPolicyClient) Delete(ctx context.Context, id ResolverId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c GraphQLApiResolverPolicyClient) Get(ctx context.Context, id ResolverId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c GraphQLApiResolverPolicyClient) GetEntityTag(ctx context.Context, id ResolverId) (result GetEntityTagOperationResponse, err error)
- func (c GraphQLApiResolverPolicyClient) ListByResolver(ctx context.Context, id ResolverId) (resp ListByResolverOperationResponse, err error)
- func (c GraphQLApiResolverPolicyClient) ListByResolverComplete(ctx context.Context, id ResolverId) (ListByResolverCompleteResult, error)
- func (c GraphQLApiResolverPolicyClient) ListByResolverCompleteMatchingPredicate(ctx context.Context, id ResolverId, predicate PolicyContractOperationPredicate) (resp ListByResolverCompleteResult, err error)
- type ListByResolverCompleteResult
- type ListByResolverOperationResponse
- type PolicyContentFormat
- type PolicyContract
- type PolicyContractOperationPredicate
- type PolicyContractProperties
- type PolicyExportFormat
- type ResolverId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPolicyContentFormat ¶
func PossibleValuesForPolicyContentFormat() []string
func PossibleValuesForPolicyExportFormat ¶
func PossibleValuesForPolicyExportFormat() []string
func ValidateResolverID ¶
ValidateResolverID checks that 'input' can be parsed as a Resolver ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *PolicyContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Format *PolicyExportFormat
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *PolicyContract }
type GraphQLApiResolverPolicyClient ¶
type GraphQLApiResolverPolicyClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewGraphQLApiResolverPolicyClientWithBaseURI ¶
func NewGraphQLApiResolverPolicyClientWithBaseURI(endpoint string) GraphQLApiResolverPolicyClient
func (GraphQLApiResolverPolicyClient) CreateOrUpdate ¶
func (c GraphQLApiResolverPolicyClient) CreateOrUpdate(ctx context.Context, id ResolverId, input PolicyContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GraphQLApiResolverPolicyClient) Delete ¶
func (c GraphQLApiResolverPolicyClient) Delete(ctx context.Context, id ResolverId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (GraphQLApiResolverPolicyClient) Get ¶
func (c GraphQLApiResolverPolicyClient) Get(ctx context.Context, id ResolverId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GraphQLApiResolverPolicyClient) GetEntityTag ¶
func (c GraphQLApiResolverPolicyClient) GetEntityTag(ctx context.Context, id ResolverId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GraphQLApiResolverPolicyClient) ListByResolver ¶
func (c GraphQLApiResolverPolicyClient) ListByResolver(ctx context.Context, id ResolverId) (resp ListByResolverOperationResponse, err error)
ListByResolver ...
func (GraphQLApiResolverPolicyClient) ListByResolverComplete ¶
func (c GraphQLApiResolverPolicyClient) ListByResolverComplete(ctx context.Context, id ResolverId) (ListByResolverCompleteResult, error)
ListByResolverComplete retrieves all of the results into a single object
func (GraphQLApiResolverPolicyClient) ListByResolverCompleteMatchingPredicate ¶
func (c GraphQLApiResolverPolicyClient) ListByResolverCompleteMatchingPredicate(ctx context.Context, id ResolverId, predicate PolicyContractOperationPredicate) (resp ListByResolverCompleteResult, err error)
ListByResolverCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListByResolverCompleteResult ¶
type ListByResolverCompleteResult struct {
Items []PolicyContract
}
type ListByResolverOperationResponse ¶
type ListByResolverOperationResponse struct { HttpResponse *http.Response Model *[]PolicyContract // contains filtered or unexported fields }
func (ListByResolverOperationResponse) HasMore ¶
func (r ListByResolverOperationResponse) HasMore() bool
func (ListByResolverOperationResponse) LoadMore ¶
func (r ListByResolverOperationResponse) LoadMore(ctx context.Context) (resp ListByResolverOperationResponse, err error)
type PolicyContentFormat ¶
type PolicyContentFormat string
const ( PolicyContentFormatRawxml PolicyContentFormat = "rawxml" PolicyContentFormatRawxmlNegativelink PolicyContentFormat = "rawxml-link" PolicyContentFormatXml PolicyContentFormat = "xml" PolicyContentFormatXmlNegativelink PolicyContentFormat = "xml-link" )
type PolicyContract ¶
type PolicyContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyContractOperationPredicate ¶
func (PolicyContractOperationPredicate) Matches ¶
func (p PolicyContractOperationPredicate) Matches(input PolicyContract) bool
type PolicyContractProperties ¶
type PolicyContractProperties struct { Format *PolicyContentFormat `json:"format,omitempty"` Value string `json:"value"` }
type PolicyExportFormat ¶
type PolicyExportFormat string
const ( PolicyExportFormatRawxml PolicyExportFormat = "rawxml" PolicyExportFormatXml PolicyExportFormat = "xml" )
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