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) (result 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) (result 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
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 *PolicyContract }
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 GetOperationOptions ¶
type GetOperationOptions struct {
Format *PolicyExportFormat
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyContract }
type GraphQLApiResolverPolicyClient ¶
type GraphQLApiResolverPolicyClient struct {
Client *resourcemanager.Client
}
func NewGraphQLApiResolverPolicyClientWithBaseURI ¶
func NewGraphQLApiResolverPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*GraphQLApiResolverPolicyClient, error)
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) (result ListByResolverOperationResponse, err error)
ListByResolver ...
func (GraphQLApiResolverPolicyClient) ListByResolverComplete ¶
func (c GraphQLApiResolverPolicyClient) ListByResolverComplete(ctx context.Context, id ResolverId) (ListByResolverCompleteResult, error)
ListByResolverComplete retrieves all the results into a single object
func (GraphQLApiResolverPolicyClient) ListByResolverCompleteMatchingPredicate ¶
func (c GraphQLApiResolverPolicyClient) ListByResolverCompleteMatchingPredicate(ctx context.Context, id ResolverId, predicate PolicyContractOperationPredicate) (result ListByResolverCompleteResult, err error)
ListByResolverCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByResolverCompleteResult ¶
type ListByResolverCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyContract }
type ListByResolverOperationResponse ¶
type ListByResolverOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicyContract }
type PolicyContentFormat ¶
type PolicyContentFormat string
const ( PolicyContentFormatRawxml PolicyContentFormat = "rawxml" PolicyContentFormatRawxmlNegativelink PolicyContentFormat = "rawxml-link" PolicyContentFormatXml PolicyContentFormat = "xml" PolicyContentFormatXmlNegativelink PolicyContentFormat = "xml-link" )
func (*PolicyContentFormat) UnmarshalJSON ¶
func (s *PolicyContentFormat) UnmarshalJSON(bytes []byte) error
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" )
func (*PolicyExportFormat) UnmarshalJSON ¶
func (s *PolicyExportFormat) UnmarshalJSON(bytes []byte) error
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 ¶ added in v0.20231127.1171502
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