Documentation ¶
Index ¶
- func ValidateFeatureID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviders2ID(input interface{}, key string) (warnings []string, errors []error)
- type FeatureId
- type FeatureProperties
- type FeatureResult
- type FeatureResultOperationPredicate
- type FeaturesClient
- func (c FeaturesClient) Get(ctx context.Context, id FeatureId) (result GetOperationResponse, err error)
- func (c FeaturesClient) List(ctx context.Context, id Providers2Id) (result ListOperationResponse, err error)
- func (c FeaturesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c FeaturesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c FeaturesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c FeaturesClient) ListComplete(ctx context.Context, id Providers2Id) (ListCompleteResult, error)
- func (c FeaturesClient) ListCompleteMatchingPredicate(ctx context.Context, id Providers2Id, ...) (result ListCompleteResult, err error)
- func (c FeaturesClient) Register(ctx context.Context, id FeatureId) (result RegisterOperationResponse, err error)
- func (c FeaturesClient) Unregister(ctx context.Context, id FeatureId) (result UnregisterOperationResponse, err error)
- type GetOperationResponse
- type ListAllCompleteResult
- type ListAllOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Providers2Id
- type RegisterOperationResponse
- type UnregisterOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFeatureID ¶
ValidateFeatureID checks that 'input' can be parsed as a Feature ID
func ValidateProviders2ID ¶
ValidateProviders2ID checks that 'input' can be parsed as a Providers 2 ID
Types ¶
type FeatureId ¶
FeatureId is a struct representing the Resource ID for a Feature
func NewFeatureID ¶
NewFeatureID returns a new FeatureId struct
func ParseFeatureID ¶
ParseFeatureID parses 'input' into a FeatureId
func ParseFeatureIDInsensitively ¶
ParseFeatureIDInsensitively parses 'input' case-insensitively into a FeatureId note: this method should only be used for API response data and not user input
func (*FeatureId) FromParseResult ¶ added in v0.20231127.1171502
func (id *FeatureId) FromParseResult(input resourceids.ParseResult) error
func (FeatureId) Segments ¶
func (id FeatureId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Feature ID
type FeatureProperties ¶
type FeatureProperties struct {
State *string `json:"state,omitempty"`
}
type FeatureResult ¶
type FeatureResult struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *FeatureProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type FeatureResultOperationPredicate ¶
func (FeatureResultOperationPredicate) Matches ¶
func (p FeatureResultOperationPredicate) Matches(input FeatureResult) bool
type FeaturesClient ¶
type FeaturesClient struct {
Client *resourcemanager.Client
}
func NewFeaturesClientWithBaseURI ¶
func NewFeaturesClientWithBaseURI(sdkApi sdkEnv.Api) (*FeaturesClient, error)
func (FeaturesClient) Get ¶
func (c FeaturesClient) Get(ctx context.Context, id FeatureId) (result GetOperationResponse, err error)
Get ...
func (FeaturesClient) List ¶
func (c FeaturesClient) List(ctx context.Context, id Providers2Id) (result ListOperationResponse, err error)
List ...
func (FeaturesClient) ListAll ¶
func (c FeaturesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (FeaturesClient) ListAllComplete ¶
func (c FeaturesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (FeaturesClient) ListAllCompleteMatchingPredicate ¶
func (c FeaturesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FeatureResultOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FeaturesClient) ListComplete ¶
func (c FeaturesClient) ListComplete(ctx context.Context, id Providers2Id) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FeaturesClient) ListCompleteMatchingPredicate ¶
func (c FeaturesClient) ListCompleteMatchingPredicate(ctx context.Context, id Providers2Id, predicate FeatureResultOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FeaturesClient) Register ¶
func (c FeaturesClient) Register(ctx context.Context, id FeatureId) (result RegisterOperationResponse, err error)
Register ...
func (FeaturesClient) Unregister ¶
func (c FeaturesClient) Unregister(ctx context.Context, id FeatureId) (result UnregisterOperationResponse, err error)
Unregister ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FeatureResult }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct {
Items []FeatureResult
}
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FeatureResult }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []FeatureResult
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FeatureResult }
type Providers2Id ¶
Providers2Id is a struct representing the Resource ID for a Providers 2
func NewProviders2ID ¶
func NewProviders2ID(subscriptionId string, providerName string) Providers2Id
NewProviders2ID returns a new Providers2Id struct
func ParseProviders2ID ¶
func ParseProviders2ID(input string) (*Providers2Id, error)
ParseProviders2ID parses 'input' into a Providers2Id
func ParseProviders2IDInsensitively ¶
func ParseProviders2IDInsensitively(input string) (*Providers2Id, error)
ParseProviders2IDInsensitively parses 'input' case-insensitively into a Providers2Id note: this method should only be used for API response data and not user input
func (*Providers2Id) FromParseResult ¶ added in v0.20231127.1171502
func (id *Providers2Id) FromParseResult(input resourceids.ParseResult) error
func (Providers2Id) Segments ¶
func (id Providers2Id) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Providers 2 ID
func (Providers2Id) String ¶
func (id Providers2Id) String() string
String returns a human-readable description of this Providers 2 ID
type RegisterOperationResponse ¶
type RegisterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FeatureResult }
type UnregisterOperationResponse ¶
type UnregisterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FeatureResult }