Documentation ¶
Index ¶
- func PossibleValuesForScenario() []string
- func ValidateMetadataID(input interface{}, key string) (warnings []string, errors []error)
- type MetadataClient
- func (c MetadataClient) RecommendationMetadataGet(ctx context.Context, id MetadataId) (result RecommendationMetadataGetOperationResponse, err error)
- func (c MetadataClient) RecommendationMetadataList(ctx context.Context) (resp RecommendationMetadataListOperationResponse, err error)
- func (c MetadataClient) RecommendationMetadataListComplete(ctx context.Context) (RecommendationMetadataListCompleteResult, error)
- func (c MetadataClient) RecommendationMetadataListCompleteMatchingPredicate(ctx context.Context, predicate MetadataEntityOperationPredicate) (resp RecommendationMetadataListCompleteResult, err error)
- type MetadataEntity
- type MetadataEntityOperationPredicate
- type MetadataEntityProperties
- type MetadataId
- type MetadataSupportedValueDetail
- type RecommendationMetadataGetOperationResponse
- type RecommendationMetadataListCompleteResult
- type RecommendationMetadataListOperationResponse
- type Scenario
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForScenario ¶
func PossibleValuesForScenario() []string
func ValidateMetadataID ¶
ValidateMetadataID checks that 'input' can be parsed as a Metadata ID
Types ¶
type MetadataClient ¶
func NewMetadataClientWithBaseURI ¶
func NewMetadataClientWithBaseURI(endpoint string) MetadataClient
func (MetadataClient) RecommendationMetadataGet ¶
func (c MetadataClient) RecommendationMetadataGet(ctx context.Context, id MetadataId) (result RecommendationMetadataGetOperationResponse, err error)
RecommendationMetadataGet ...
func (MetadataClient) RecommendationMetadataList ¶
func (c MetadataClient) RecommendationMetadataList(ctx context.Context) (resp RecommendationMetadataListOperationResponse, err error)
RecommendationMetadataList ...
func (MetadataClient) RecommendationMetadataListComplete ¶
func (c MetadataClient) RecommendationMetadataListComplete(ctx context.Context) (RecommendationMetadataListCompleteResult, error)
RecommendationMetadataListComplete retrieves all of the results into a single object
func (MetadataClient) RecommendationMetadataListCompleteMatchingPredicate ¶
func (c MetadataClient) RecommendationMetadataListCompleteMatchingPredicate(ctx context.Context, predicate MetadataEntityOperationPredicate) (resp RecommendationMetadataListCompleteResult, err error)
RecommendationMetadataListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type MetadataEntity ¶
type MetadataEntity struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MetadataEntityProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type MetadataEntityOperationPredicate ¶
func (MetadataEntityOperationPredicate) Matches ¶
func (p MetadataEntityOperationPredicate) Matches(input MetadataEntity) bool
type MetadataEntityProperties ¶
type MetadataEntityProperties struct { ApplicableScenarios *[]Scenario `json:"applicableScenarios,omitempty"` DependsOn *[]string `json:"dependsOn,omitempty"` DisplayName *string `json:"displayName,omitempty"` SupportedValues *[]MetadataSupportedValueDetail `json:"supportedValues,omitempty"` }
type MetadataId ¶
type MetadataId struct {
MetadataName string
}
MetadataId is a struct representing the Resource ID for a Metadata
func NewMetadataID ¶
func NewMetadataID(metadataName string) MetadataId
NewMetadataID returns a new MetadataId struct
func ParseMetadataID ¶
func ParseMetadataID(input string) (*MetadataId, error)
ParseMetadataID parses 'input' into a MetadataId
func ParseMetadataIDInsensitively ¶
func ParseMetadataIDInsensitively(input string) (*MetadataId, error)
ParseMetadataIDInsensitively parses 'input' case-insensitively into a MetadataId note: this method should only be used for API response data and not user input
func (MetadataId) Segments ¶
func (id MetadataId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Metadata ID
func (MetadataId) String ¶
func (id MetadataId) String() string
String returns a human-readable description of this Metadata ID
type RecommendationMetadataGetOperationResponse ¶
type RecommendationMetadataGetOperationResponse struct { HttpResponse *http.Response Model *MetadataEntity }
type RecommendationMetadataListCompleteResult ¶
type RecommendationMetadataListCompleteResult struct {
Items []MetadataEntity
}
type RecommendationMetadataListOperationResponse ¶
type RecommendationMetadataListOperationResponse struct { HttpResponse *http.Response Model *[]MetadataEntity // contains filtered or unexported fields }
func (RecommendationMetadataListOperationResponse) HasMore ¶
func (r RecommendationMetadataListOperationResponse) HasMore() bool
func (RecommendationMetadataListOperationResponse) LoadMore ¶
func (r RecommendationMetadataListOperationResponse) LoadMore(ctx context.Context) (resp RecommendationMetadataListOperationResponse, err error)