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 ValidateServiceID(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 ListByServiceCompleteResult struct + Items []PolicyContract + LatestHttpResponse *http.Response + type ListByServiceCustomPager struct + NextLink *odata.Link + func (p *ListByServiceCustomPager) NextPageLink() *odata.Link + type ListByServiceOperationResponse struct + HttpResponse *http.Response + Model *[]PolicyContract + OData *odata.OData + type PolicyClient struct + Client *resourcemanager.Client + func NewPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyClient, error) + func (c PolicyClient) CreateOrUpdate(ctx context.Context, id ServiceId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c PolicyClient) Delete(ctx context.Context, id ServiceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c PolicyClient) Get(ctx context.Context, id ServiceId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c PolicyClient) GetEntityTag(ctx context.Context, id ServiceId) (result GetEntityTagOperationResponse, err error) + func (c PolicyClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error) + func (c PolicyClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error) + func (c PolicyClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate PolicyContractOperationPredicate) (result ListByServiceCompleteResult, err error) + 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 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