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 ValidateWorkspaceID(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 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 WorkspaceId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspaceId + func ParseWorkspaceID(input string) (*WorkspaceId, error) + func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error) + func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspaceId) ID() string + func (id WorkspaceId) Segments() []resourceids.Segment + func (id WorkspaceId) String() string + type WorkspacePolicyClient struct + Client *resourcemanager.Client + func NewWorkspacePolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspacePolicyClient, error) + func (c WorkspacePolicyClient) CreateOrUpdate(ctx context.Context, id WorkspaceId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c WorkspacePolicyClient) Delete(ctx context.Context, id WorkspaceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c WorkspacePolicyClient) Get(ctx context.Context, id WorkspaceId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c WorkspacePolicyClient) GetEntityTag(ctx context.Context, id WorkspaceId) (result GetEntityTagOperationResponse, err error) + func (c WorkspacePolicyClient) ListByApi(ctx context.Context, id WorkspaceId) (result ListByApiOperationResponse, err error) + func (c WorkspacePolicyClient) ListByApiComplete(ctx context.Context, id WorkspaceId) (ListByApiCompleteResult, error) + func (c WorkspacePolicyClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ListByApiCompleteResult, err error)