Documentation ¶
Index ¶
- func ValidatePolicyMetadataID(input interface{}, key string) (warnings []string, errors []error)
- type GetResourceOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type PolicyMetadata
- type PolicyMetadataClient
- func (c PolicyMetadataClient) GetResource(ctx context.Context, id PolicyMetadataId) (result GetResourceOperationResponse, err error)
- func (c PolicyMetadataClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c PolicyMetadataClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
- func (c PolicyMetadataClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type PolicyMetadataId
- type PolicyMetadataProperties
- type PolicyMetadataSlimProperties
- type SlimPolicyMetadata
- type SlimPolicyMetadataOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePolicyMetadataID ¶
ValidatePolicyMetadataID checks that 'input' can be parsed as a Policy Metadata ID
Types ¶
type GetResourceOperationResponse ¶
type GetResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyMetadata }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []SlimPolicyMetadata }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SlimPolicyMetadata }
type PolicyMetadata ¶
type PolicyMetadata struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyMetadataProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyMetadataClient ¶
type PolicyMetadataClient struct {
Client *resourcemanager.Client
}
func NewPolicyMetadataClientWithBaseURI ¶
func NewPolicyMetadataClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyMetadataClient, error)
func (PolicyMetadataClient) GetResource ¶
func (c PolicyMetadataClient) GetResource(ctx context.Context, id PolicyMetadataId) (result GetResourceOperationResponse, err error)
GetResource ...
func (PolicyMetadataClient) List ¶
func (c PolicyMetadataClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (PolicyMetadataClient) ListComplete ¶
func (c PolicyMetadataClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PolicyMetadataClient) ListCompleteMatchingPredicate ¶
func (c PolicyMetadataClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate SlimPolicyMetadataOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PolicyMetadataId ¶
type PolicyMetadataId struct {
PolicyMetadataName string
}
PolicyMetadataId is a struct representing the Resource ID for a Policy Metadata
func NewPolicyMetadataID ¶
func NewPolicyMetadataID(policyMetadataName string) PolicyMetadataId
NewPolicyMetadataID returns a new PolicyMetadataId struct
func ParsePolicyMetadataID ¶
func ParsePolicyMetadataID(input string) (*PolicyMetadataId, error)
ParsePolicyMetadataID parses 'input' into a PolicyMetadataId
func ParsePolicyMetadataIDInsensitively ¶
func ParsePolicyMetadataIDInsensitively(input string) (*PolicyMetadataId, error)
ParsePolicyMetadataIDInsensitively parses 'input' case-insensitively into a PolicyMetadataId note: this method should only be used for API response data and not user input
func (*PolicyMetadataId) FromParseResult ¶
func (id *PolicyMetadataId) FromParseResult(input resourceids.ParseResult) error
func (PolicyMetadataId) ID ¶
func (id PolicyMetadataId) ID() string
ID returns the formatted Policy Metadata ID
func (PolicyMetadataId) Segments ¶
func (id PolicyMetadataId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Metadata ID
func (PolicyMetadataId) String ¶
func (id PolicyMetadataId) String() string
String returns a human-readable description of this Policy Metadata ID
type PolicyMetadataProperties ¶
type PolicyMetadataProperties struct { AdditionalContentURL *string `json:"additionalContentUrl,omitempty"` Category *string `json:"category,omitempty"` Description *string `json:"description,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` MetadataId *string `json:"metadataId,omitempty"` Owner *string `json:"owner,omitempty"` Requirements *string `json:"requirements,omitempty"` Title *string `json:"title,omitempty"` }
type PolicyMetadataSlimProperties ¶
type PolicyMetadataSlimProperties struct { AdditionalContentURL *string `json:"additionalContentUrl,omitempty"` Category *string `json:"category,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` MetadataId *string `json:"metadataId,omitempty"` Owner *string `json:"owner,omitempty"` Title *string `json:"title,omitempty"` }
type SlimPolicyMetadata ¶
type SlimPolicyMetadata struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyMetadataSlimProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SlimPolicyMetadataOperationPredicate ¶
func (SlimPolicyMetadataOperationPredicate) Matches ¶
func (p SlimPolicyMetadataOperationPredicate) Matches(input SlimPolicyMetadata) bool