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) (result RecommendationMetadataListOperationResponse, err error)
- func (c MetadataClient) RecommendationMetadataListComplete(ctx context.Context) (RecommendationMetadataListCompleteResult, error)
- func (c MetadataClient) RecommendationMetadataListCompleteMatchingPredicate(ctx context.Context, predicate MetadataEntityOperationPredicate) (result 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 ¶
type MetadataClient struct {
Client *resourcemanager.Client
}
func NewMetadataClientWithBaseURI ¶
func NewMetadataClientWithBaseURI(sdkApi sdkEnv.Api) (*MetadataClient, error)
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) (result RecommendationMetadataListOperationResponse, err error)
RecommendationMetadataList ...
func (MetadataClient) RecommendationMetadataListComplete ¶
func (c MetadataClient) RecommendationMetadataListComplete(ctx context.Context) (RecommendationMetadataListCompleteResult, error)
RecommendationMetadataListComplete retrieves all the results into a single object
func (MetadataClient) RecommendationMetadataListCompleteMatchingPredicate ¶
func (c MetadataClient) RecommendationMetadataListCompleteMatchingPredicate(ctx context.Context, predicate MetadataEntityOperationPredicate) (result RecommendationMetadataListCompleteResult, err error)
RecommendationMetadataListCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶
func (id *MetadataId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *MetadataEntity }
type RecommendationMetadataListCompleteResult ¶
type RecommendationMetadataListCompleteResult struct { LatestHttpResponse *http.Response Items []MetadataEntity }
type RecommendationMetadataListOperationResponse ¶
type RecommendationMetadataListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MetadataEntity }