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 PossibleValuesForPolicyFragmentContentFormat() []string + func ValidatePolicyFragmentID(input interface{}, key string) (warnings []string, errors []error) + func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspacePolicyFragmentID(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 *PolicyFragmentContract + OData *odata.OData + Poller pollers.Poller + 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 *PolicyFragmentContentFormat + 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 *PolicyFragmentContract + OData *odata.OData + type ListByServiceCompleteResult struct + Items []PolicyFragmentContract + LatestHttpResponse *http.Response + type ListByServiceCustomPager struct + NextLink *odata.Link + func (p *ListByServiceCustomPager) NextPageLink() *odata.Link + type ListByServiceOperationOptions struct + Filter *string + Orderby *string + Skip *int64 + Top *int64 + func DefaultListByServiceOperationOptions() ListByServiceOperationOptions + func (o ListByServiceOperationOptions) ToHeaders() *client.Headers + func (o ListByServiceOperationOptions) ToOData() *odata.Query + func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams + type ListByServiceOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyFragmentContract + OData *odata.OData + type ListReferencesCompleteResult struct + Items []Resource + LatestHttpResponse *http.Response + type ListReferencesCustomPager struct + NextLink *odata.Link + func (p *ListReferencesCustomPager) NextPageLink() *odata.Link + type ListReferencesOperationOptions struct + Skip *int64 + Top *int64 + func DefaultListReferencesOperationOptions() ListReferencesOperationOptions + func (o ListReferencesOperationOptions) ToHeaders() *client.Headers + func (o ListReferencesOperationOptions) ToOData() *odata.Query + func (o ListReferencesOperationOptions) ToQuery() *client.QueryParams + type ListReferencesOperationResponse struct + HttpResponse *http.Response + Model *[]Resource + OData *odata.OData + type PolicyFragmentClient struct + Client *resourcemanager.Client + func NewPolicyFragmentClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyFragmentClient, error) + func (c PolicyFragmentClient) CreateOrUpdate(ctx context.Context, id PolicyFragmentId, input PolicyFragmentContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c PolicyFragmentClient) CreateOrUpdateThenPoll(ctx context.Context, id PolicyFragmentId, input PolicyFragmentContract, ...) error + func (c PolicyFragmentClient) Delete(ctx context.Context, id PolicyFragmentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c PolicyFragmentClient) Get(ctx context.Context, id PolicyFragmentId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c PolicyFragmentClient) GetEntityTag(ctx context.Context, id PolicyFragmentId) (result GetEntityTagOperationResponse, err error) + func (c PolicyFragmentClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error) + func (c PolicyFragmentClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error) + func (c PolicyFragmentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error) + func (c PolicyFragmentClient) ListReferences(ctx context.Context, id PolicyFragmentId, ...) (result ListReferencesOperationResponse, err error) + func (c PolicyFragmentClient) ListReferencesComplete(ctx context.Context, id PolicyFragmentId, ...) (ListReferencesCompleteResult, error) + func (c PolicyFragmentClient) ListReferencesCompleteMatchingPredicate(ctx context.Context, id PolicyFragmentId, ...) (result ListReferencesCompleteResult, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdate(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentCreateOrUpdateOperationResponse, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdateThenPoll(ctx context.Context, id WorkspacePolicyFragmentId, ...) error + func (c PolicyFragmentClient) WorkspacePolicyFragmentDelete(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentDeleteOperationResponse, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentGet(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentGetOperationResponse, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentGetEntityTag(ctx context.Context, id WorkspacePolicyFragmentId) (result WorkspacePolicyFragmentGetEntityTagOperationResponse, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspacePolicyFragmentListByServiceOperationResponse, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspacePolicyFragmentListByServiceCompleteResult, error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspacePolicyFragmentListByServiceCompleteResult, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentListReferences(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentListReferencesOperationResponse, err error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentListReferencesComplete(ctx context.Context, id WorkspacePolicyFragmentId, ...) (WorkspacePolicyFragmentListReferencesCompleteResult, error) + func (c PolicyFragmentClient) WorkspacePolicyFragmentListReferencesCompleteMatchingPredicate(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentListReferencesCompleteResult, err error) + type PolicyFragmentContentFormat string + const PolicyFragmentContentFormatRawxml + const PolicyFragmentContentFormatXml + func (s *PolicyFragmentContentFormat) UnmarshalJSON(bytes []byte) error + type PolicyFragmentContract struct + Id *string + Name *string + Properties *PolicyFragmentContractProperties + Type *string + type PolicyFragmentContractOperationPredicate struct + Id *string + Name *string + Type *string + func (p PolicyFragmentContractOperationPredicate) Matches(input PolicyFragmentContract) bool + type PolicyFragmentContractProperties struct + Description *string + Format *PolicyFragmentContentFormat + Value string + type PolicyFragmentId struct + PolicyFragmentName string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewPolicyFragmentID(subscriptionId string, resourceGroupName string, serviceName string, ...) PolicyFragmentId + func ParsePolicyFragmentID(input string) (*PolicyFragmentId, error) + func ParsePolicyFragmentIDInsensitively(input string) (*PolicyFragmentId, error) + func (id *PolicyFragmentId) FromParseResult(input resourceids.ParseResult) error + func (id PolicyFragmentId) ID() string + func (id PolicyFragmentId) Segments() []resourceids.Segment + func (id PolicyFragmentId) String() string + type Resource struct + Id *string + Name *string + Type *string + type ResourceOperationPredicate struct + Id *string + Name *string + Type *string + func (p ResourceOperationPredicate) Matches(input Resource) bool + type ServiceId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId + func ParseServiceID(input string) (*ServiceId, error) + func ParseServiceIDInsensitively(input string) (*ServiceId, error) + func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error + func (id ServiceId) ID() string + func (id ServiceId) Segments() []resourceids.Segment + func (id ServiceId) String() string + 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 WorkspacePolicyFragmentCreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultWorkspacePolicyFragmentCreateOrUpdateOperationOptions() WorkspacePolicyFragmentCreateOrUpdateOperationOptions + func (o WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type WorkspacePolicyFragmentCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *PolicyFragmentContract + OData *odata.OData + Poller pollers.Poller + type WorkspacePolicyFragmentDeleteOperationOptions struct + IfMatch *string + func DefaultWorkspacePolicyFragmentDeleteOperationOptions() WorkspacePolicyFragmentDeleteOperationOptions + func (o WorkspacePolicyFragmentDeleteOperationOptions) ToHeaders() *client.Headers + func (o WorkspacePolicyFragmentDeleteOperationOptions) ToOData() *odata.Query + func (o WorkspacePolicyFragmentDeleteOperationOptions) ToQuery() *client.QueryParams + type WorkspacePolicyFragmentDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspacePolicyFragmentGetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspacePolicyFragmentGetOperationOptions struct + Format *PolicyFragmentContentFormat + func DefaultWorkspacePolicyFragmentGetOperationOptions() WorkspacePolicyFragmentGetOperationOptions + func (o WorkspacePolicyFragmentGetOperationOptions) ToHeaders() *client.Headers + func (o WorkspacePolicyFragmentGetOperationOptions) ToOData() *odata.Query + func (o WorkspacePolicyFragmentGetOperationOptions) ToQuery() *client.QueryParams + type WorkspacePolicyFragmentGetOperationResponse struct + HttpResponse *http.Response + Model *PolicyFragmentContract + OData *odata.OData + type WorkspacePolicyFragmentId struct + PolicyFragmentName string + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewWorkspacePolicyFragmentID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspacePolicyFragmentId + func ParseWorkspacePolicyFragmentID(input string) (*WorkspacePolicyFragmentId, error) + func ParseWorkspacePolicyFragmentIDInsensitively(input string) (*WorkspacePolicyFragmentId, error) + func (id *WorkspacePolicyFragmentId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspacePolicyFragmentId) ID() string + func (id WorkspacePolicyFragmentId) Segments() []resourceids.Segment + func (id WorkspacePolicyFragmentId) String() string + type WorkspacePolicyFragmentListByServiceCompleteResult struct + Items []PolicyFragmentContract + LatestHttpResponse *http.Response + type WorkspacePolicyFragmentListByServiceCustomPager struct + NextLink *odata.Link + func (p *WorkspacePolicyFragmentListByServiceCustomPager) NextPageLink() *odata.Link + type WorkspacePolicyFragmentListByServiceOperationOptions struct + Filter *string + Orderby *string + Skip *int64 + Top *int64 + func DefaultWorkspacePolicyFragmentListByServiceOperationOptions() WorkspacePolicyFragmentListByServiceOperationOptions + func (o WorkspacePolicyFragmentListByServiceOperationOptions) ToHeaders() *client.Headers + func (o WorkspacePolicyFragmentListByServiceOperationOptions) ToOData() *odata.Query + func (o WorkspacePolicyFragmentListByServiceOperationOptions) ToQuery() *client.QueryParams + type WorkspacePolicyFragmentListByServiceOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyFragmentContract + OData *odata.OData + type WorkspacePolicyFragmentListReferencesCompleteResult struct + Items []Resource + LatestHttpResponse *http.Response + type WorkspacePolicyFragmentListReferencesCustomPager struct + NextLink *odata.Link + func (p *WorkspacePolicyFragmentListReferencesCustomPager) NextPageLink() *odata.Link + type WorkspacePolicyFragmentListReferencesOperationOptions struct + Skip *int64 + Top *int64 + func DefaultWorkspacePolicyFragmentListReferencesOperationOptions() WorkspacePolicyFragmentListReferencesOperationOptions + func (o WorkspacePolicyFragmentListReferencesOperationOptions) ToHeaders() *client.Headers + func (o WorkspacePolicyFragmentListReferencesOperationOptions) ToOData() *odata.Query + func (o WorkspacePolicyFragmentListReferencesOperationOptions) ToQuery() *client.QueryParams + type WorkspacePolicyFragmentListReferencesOperationResponse struct + HttpResponse *http.Response + Model *[]Resource + OData *odata.OData