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 ValidateApiOperationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error) + type ApiOperationId struct + ApiId string + OperationId string + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewApiOperationID(subscriptionId string, resourceGroupName string, serviceName string, ...) ApiOperationId + func ParseApiOperationID(input string) (*ApiOperationId, error) + func ParseApiOperationIDInsensitively(input string) (*ApiOperationId, error) + func (id *ApiOperationId) FromParseResult(input resourceids.ParseResult) error + func (id ApiOperationId) ID() string + func (id ApiOperationId) Segments() []resourceids.Segment + func (id ApiOperationId) String() string + type ApiOperationPolicyClient struct + Client *resourcemanager.Client + func NewApiOperationPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiOperationPolicyClient, error) + func (c ApiOperationPolicyClient) CreateOrUpdate(ctx context.Context, id OperationId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c ApiOperationPolicyClient) Delete(ctx context.Context, id OperationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c ApiOperationPolicyClient) Get(ctx context.Context, id OperationId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c ApiOperationPolicyClient) GetEntityTag(ctx context.Context, id OperationId) (result GetEntityTagOperationResponse, err error) + func (c ApiOperationPolicyClient) ListByOperation(ctx context.Context, id OperationId) (result ListByOperationOperationResponse, err error) + func (c ApiOperationPolicyClient) ListByOperationComplete(ctx context.Context, id OperationId) (ListByOperationCompleteResult, error) + func (c ApiOperationPolicyClient) ListByOperationCompleteMatchingPredicate(ctx context.Context, id OperationId, ...) (result ListByOperationCompleteResult, err error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyCreateOrUpdate(ctx context.Context, id ApiOperationId, input PolicyContract, ...) (result WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse, err error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyDelete(ctx context.Context, id ApiOperationId, ...) (result WorkspaceApiOperationPolicyDeleteOperationResponse, err error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyGet(ctx context.Context, id ApiOperationId, ...) (result WorkspaceApiOperationPolicyGetOperationResponse, err error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyGetEntityTag(ctx context.Context, id ApiOperationId) (result WorkspaceApiOperationPolicyGetEntityTagOperationResponse, err error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperation(ctx context.Context, id ApiOperationId) (result WorkspaceApiOperationPolicyListByOperationOperationResponse, err error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationComplete(ctx context.Context, id ApiOperationId) (WorkspaceApiOperationPolicyListByOperationCompleteResult, error) + func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationCompleteMatchingPredicate(ctx context.Context, id ApiOperationId, ...) (result WorkspaceApiOperationPolicyListByOperationCompleteResult, 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 ListByOperationCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type ListByOperationCustomPager struct + NextLink *odata.Link + func (p *ListByOperationCustomPager) NextPageLink() *odata.Link + type ListByOperationOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyContract + OData *odata.OData + type OperationId struct + ApiId string + OperationId string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewOperationID(subscriptionId string, resourceGroupName string, serviceName string, ...) OperationId + func ParseOperationID(input string) (*OperationId, error) + func ParseOperationIDInsensitively(input string) (*OperationId, error) + func (id *OperationId) FromParseResult(input resourceids.ParseResult) error + func (id OperationId) ID() string + func (id OperationId) Segments() []resourceids.Segment + func (id OperationId) String() string + 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 WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultWorkspaceApiOperationPolicyCreateOrUpdateOperationOptions() WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions + func (o WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type WorkspaceApiOperationPolicyDeleteOperationOptions struct + IfMatch *string + func DefaultWorkspaceApiOperationPolicyDeleteOperationOptions() WorkspaceApiOperationPolicyDeleteOperationOptions + func (o WorkspaceApiOperationPolicyDeleteOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiOperationPolicyDeleteOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiOperationPolicyDeleteOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiOperationPolicyDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceApiOperationPolicyGetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceApiOperationPolicyGetOperationOptions struct + Format *PolicyExportFormat + func DefaultWorkspaceApiOperationPolicyGetOperationOptions() WorkspaceApiOperationPolicyGetOperationOptions + func (o WorkspaceApiOperationPolicyGetOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiOperationPolicyGetOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiOperationPolicyGetOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiOperationPolicyGetOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type WorkspaceApiOperationPolicyListByOperationCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type WorkspaceApiOperationPolicyListByOperationCustomPager struct + NextLink *odata.Link + func (p *WorkspaceApiOperationPolicyListByOperationCustomPager) NextPageLink() *odata.Link + type WorkspaceApiOperationPolicyListByOperationOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyContract + OData *odata.OData