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 ValidateProductID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceProductID(input interface{}, key string) (warnings []string, errors []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 ListByProductCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type ListByProductCustomPager struct + NextLink *odata.Link + func (p *ListByProductCustomPager) NextPageLink() *odata.Link + type ListByProductOperationResponse 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 ProductId struct + ProductId string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewProductID(subscriptionId string, resourceGroupName string, serviceName string, ...) ProductId + func ParseProductID(input string) (*ProductId, error) + func ParseProductIDInsensitively(input string) (*ProductId, error) + func (id *ProductId) FromParseResult(input resourceids.ParseResult) error + func (id ProductId) ID() string + func (id ProductId) Segments() []resourceids.Segment + func (id ProductId) String() string + type ProductPolicyClient struct + Client *resourcemanager.Client + func NewProductPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductPolicyClient, error) + func (c ProductPolicyClient) CreateOrUpdate(ctx context.Context, id ProductId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c ProductPolicyClient) Delete(ctx context.Context, id ProductId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c ProductPolicyClient) Get(ctx context.Context, id ProductId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c ProductPolicyClient) GetEntityTag(ctx context.Context, id ProductId) (result GetEntityTagOperationResponse, err error) + func (c ProductPolicyClient) ListByProduct(ctx context.Context, id ProductId) (result ListByProductOperationResponse, err error) + func (c ProductPolicyClient) ListByProductComplete(ctx context.Context, id ProductId) (ListByProductCompleteResult, error) + func (c ProductPolicyClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, predicate PolicyContractOperationPredicate) (result ListByProductCompleteResult, err error) + func (c ProductPolicyClient) WorkspaceProductPolicyCreateOrUpdate(ctx context.Context, id WorkspaceProductId, input PolicyContract, ...) (result WorkspaceProductPolicyCreateOrUpdateOperationResponse, err error) + func (c ProductPolicyClient) WorkspaceProductPolicyDelete(ctx context.Context, id WorkspaceProductId, ...) (result WorkspaceProductPolicyDeleteOperationResponse, err error) + func (c ProductPolicyClient) WorkspaceProductPolicyGet(ctx context.Context, id WorkspaceProductId, ...) (result WorkspaceProductPolicyGetOperationResponse, err error) + func (c ProductPolicyClient) WorkspaceProductPolicyGetEntityTag(ctx context.Context, id WorkspaceProductId) (result WorkspaceProductPolicyGetEntityTagOperationResponse, err error) + func (c ProductPolicyClient) WorkspaceProductPolicyListByProduct(ctx context.Context, id WorkspaceProductId) (result WorkspaceProductPolicyListByProductOperationResponse, err error) + func (c ProductPolicyClient) WorkspaceProductPolicyListByProductComplete(ctx context.Context, id WorkspaceProductId) (WorkspaceProductPolicyListByProductCompleteResult, error) + func (c ProductPolicyClient) WorkspaceProductPolicyListByProductCompleteMatchingPredicate(ctx context.Context, id WorkspaceProductId, ...) (result WorkspaceProductPolicyListByProductCompleteResult, err error) + type WorkspaceProductId struct + ProductId string + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewWorkspaceProductID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspaceProductId + func ParseWorkspaceProductID(input string) (*WorkspaceProductId, error) + func ParseWorkspaceProductIDInsensitively(input string) (*WorkspaceProductId, error) + func (id *WorkspaceProductId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspaceProductId) ID() string + func (id WorkspaceProductId) Segments() []resourceids.Segment + func (id WorkspaceProductId) String() string + type WorkspaceProductPolicyCreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultWorkspaceProductPolicyCreateOrUpdateOperationOptions() WorkspaceProductPolicyCreateOrUpdateOperationOptions + func (o WorkspaceProductPolicyCreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceProductPolicyCreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o WorkspaceProductPolicyCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type WorkspaceProductPolicyCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type WorkspaceProductPolicyDeleteOperationOptions struct + IfMatch *string + func DefaultWorkspaceProductPolicyDeleteOperationOptions() WorkspaceProductPolicyDeleteOperationOptions + func (o WorkspaceProductPolicyDeleteOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceProductPolicyDeleteOperationOptions) ToOData() *odata.Query + func (o WorkspaceProductPolicyDeleteOperationOptions) ToQuery() *client.QueryParams + type WorkspaceProductPolicyDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceProductPolicyGetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceProductPolicyGetOperationOptions struct + Format *PolicyExportFormat + func DefaultWorkspaceProductPolicyGetOperationOptions() WorkspaceProductPolicyGetOperationOptions + func (o WorkspaceProductPolicyGetOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceProductPolicyGetOperationOptions) ToOData() *odata.Query + func (o WorkspaceProductPolicyGetOperationOptions) ToQuery() *client.QueryParams + type WorkspaceProductPolicyGetOperationResponse struct + HttpResponse *http.Response + Model *PolicyContract + OData *odata.OData + type WorkspaceProductPolicyListByProductCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type WorkspaceProductPolicyListByProductCustomPager struct + NextLink *odata.Link + func (p *WorkspaceProductPolicyListByProductCustomPager) NextPageLink() *odata.Link + type WorkspaceProductPolicyListByProductOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyContract + OData *odata.OData