Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForPolicyContentFormat() []string + func PossibleValuesForPolicyExportFormat() []string + func ValidateApiID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceApiID(input interface{}, key string) (warnings []string, errors []error) + type ApiId struct + ApiId string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, ...) ApiId + func ParseApiID(input string) (*ApiId, error) + func ParseApiIDInsensitively(input string) (*ApiId, error) + func (id *ApiId) FromParseResult(input resourceids.ParseResult) error + func (id ApiId) ID() string + func (id ApiId) Segments() []resourceids.Segment + func (id ApiId) String() string + type ApiPolicyClient struct + Client *resourcemanager.Client + func NewApiPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiPolicyClient, error) + func (c ApiPolicyClient) CreateOrUpdate(ctx context.Context, id ApiId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c ApiPolicyClient) Delete(ctx context.Context, id ApiId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c ApiPolicyClient) Get(ctx context.Context, id ApiId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c ApiPolicyClient) GetEntityTag(ctx context.Context, id ApiId) (result GetEntityTagOperationResponse, err error) + func (c ApiPolicyClient) ListByApi(ctx context.Context, id ApiId) (result ListByApiOperationResponse, err error) + func (c ApiPolicyClient) ListByApiComplete(ctx context.Context, id ApiId) (ListByApiCompleteResult, error) + func (c ApiPolicyClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, predicate PolicyContractOperationPredicate) (result ListByApiCompleteResult, err error) + func (c ApiPolicyClient) WorkspaceApiPolicyCreateOrUpdate(ctx context.Context, id WorkspaceApiId, input PolicyContract, ...) (result WorkspaceApiPolicyCreateOrUpdateOperationResponse, err error) + func (c ApiPolicyClient) WorkspaceApiPolicyDelete(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiPolicyDeleteOperationResponse, err error) + func (c ApiPolicyClient) WorkspaceApiPolicyGet(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiPolicyGetOperationResponse, err error) + func (c ApiPolicyClient) WorkspaceApiPolicyGetEntityTag(ctx context.Context, id WorkspaceApiId) (result WorkspaceApiPolicyGetEntityTagOperationResponse, err error) + func (c ApiPolicyClient) WorkspaceApiPolicyListByApi(ctx context.Context, id WorkspaceApiId) (result WorkspaceApiPolicyListByApiOperationResponse, err error) + func (c ApiPolicyClient) WorkspaceApiPolicyListByApiComplete(ctx context.Context, id WorkspaceApiId) (WorkspaceApiPolicyListByApiCompleteResult, error) + func (c ApiPolicyClient) WorkspaceApiPolicyListByApiCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiPolicyListByApiCompleteResult, err error) + type CreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions + func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type DeleteOperationOptions struct + IfMatch *string + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationOptions struct + Format *PolicyExportFormat + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type ListByApiCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type ListByApiCustomPager struct + NextLink *odata.Link + func (p *ListByApiCustomPager) NextPageLink() *odata.Link + type ListByApiOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyContract + OData *odata.OData + type PolicyContentFormat string + const PolicyContentFormatRawxml + const PolicyContentFormatRawxmlNegativelink + const PolicyContentFormatXml + const PolicyContentFormatXmlNegativelink + func (s *PolicyContentFormat) UnmarshalJSON(bytes []byte) error + type PolicyContract struct + Id *string + Name *string + Properties *PolicyContractProperties + Type *string + type PolicyContractOperationPredicate struct + Id *string + Name *string + Type *string + func (p PolicyContractOperationPredicate) Matches(input PolicyContract) bool + type PolicyContractProperties struct + Format *PolicyContentFormat + Value string + type PolicyExportFormat string + const PolicyExportFormatRawxml + const PolicyExportFormatXml + func (s *PolicyExportFormat) UnmarshalJSON(bytes []byte) error + type WorkspaceApiId struct + ApiId string + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewWorkspaceApiID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspaceApiId + func ParseWorkspaceApiID(input string) (*WorkspaceApiId, error) + func ParseWorkspaceApiIDInsensitively(input string) (*WorkspaceApiId, error) + func (id *WorkspaceApiId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspaceApiId) ID() string + func (id WorkspaceApiId) Segments() []resourceids.Segment + func (id WorkspaceApiId) String() string + type WorkspaceApiPolicyCreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultWorkspaceApiPolicyCreateOrUpdateOperationOptions() WorkspaceApiPolicyCreateOrUpdateOperationOptions + func (o WorkspaceApiPolicyCreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiPolicyCreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiPolicyCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiPolicyCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type WorkspaceApiPolicyDeleteOperationOptions struct + IfMatch *string + func DefaultWorkspaceApiPolicyDeleteOperationOptions() WorkspaceApiPolicyDeleteOperationOptions + func (o WorkspaceApiPolicyDeleteOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiPolicyDeleteOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiPolicyDeleteOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiPolicyDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceApiPolicyGetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceApiPolicyGetOperationOptions struct + Format *PolicyExportFormat + func DefaultWorkspaceApiPolicyGetOperationOptions() WorkspaceApiPolicyGetOperationOptions + func (o WorkspaceApiPolicyGetOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiPolicyGetOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiPolicyGetOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiPolicyGetOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type WorkspaceApiPolicyListByApiCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type WorkspaceApiPolicyListByApiCustomPager struct + NextLink *odata.Link + func (p *WorkspaceApiPolicyListByApiCustomPager) NextPageLink() *odata.Link + type WorkspaceApiPolicyListByApiOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyContract + OData *odata.OData