Documentation ¶
Index ¶
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Provider
- type ProviderId
- type ProviderOperationPredicate
- type ProviderResourceType
- type ProvidersClient
- func (c ProvidersClient) Get(ctx context.Context, id ProviderId) (result GetOperationResponse, err error)
- func (c ProvidersClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ProvidersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ProvidersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ProvidersClient) Register(ctx context.Context, id ProviderId) (result RegisterOperationResponse, err error)
- func (c ProvidersClient) Unregister(ctx context.Context, id ProviderId) (result UnregisterOperationResponse, err error)
- type RegisterOperationResponse
- type UnregisterOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider ID
Types ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
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 Provider ¶
type Provider struct { Id *string `json:"id,omitempty"` Namespace *string `json:"namespace,omitempty"` RegistrationState *string `json:"registrationState,omitempty"` ResourceTypes *[]ProviderResourceType `json:"resourceTypes,omitempty"` }
type ProviderId ¶
ProviderId is a struct representing the Resource ID for a Provider
func NewProviderID ¶
func NewProviderID(subscriptionId string, providerName string) ProviderId
NewProviderID returns a new ProviderId struct
func ParseProviderID ¶
func ParseProviderID(input string) (*ProviderId, error)
ParseProviderID parses 'input' into a ProviderId
func ParseProviderIDInsensitively ¶
func ParseProviderIDInsensitively(input string) (*ProviderId, error)
ParseProviderIDInsensitively parses 'input' case-insensitively into a ProviderId note: this method should only be used for API response data and not user input
func (*ProviderId) FromParseResult ¶
func (id *ProviderId) FromParseResult(input resourceids.ParseResult) error
func (ProviderId) Segments ¶
func (id ProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider ID
func (ProviderId) String ¶
func (id ProviderId) String() string
String returns a human-readable description of this Provider ID
type ProviderOperationPredicate ¶
func (ProviderOperationPredicate) Matches ¶
func (p ProviderOperationPredicate) Matches(input Provider) bool
type ProviderResourceType ¶
type ProvidersClient ¶
type ProvidersClient struct {
Client *resourcemanager.Client
}
func NewProvidersClientWithBaseURI ¶
func NewProvidersClientWithBaseURI(sdkApi sdkEnv.Api) (*ProvidersClient, error)
func (ProvidersClient) Get ¶
func (c ProvidersClient) Get(ctx context.Context, id ProviderId) (result GetOperationResponse, err error)
Get ...
func (ProvidersClient) List ¶
func (c ProvidersClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ProvidersClient) ListComplete ¶
func (c ProvidersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ProvidersClient) ListCompleteMatchingPredicate ¶
func (c ProvidersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ProviderOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProvidersClient) Register ¶
func (c ProvidersClient) Register(ctx context.Context, id ProviderId) (result RegisterOperationResponse, err error)
Register ...
func (ProvidersClient) Unregister ¶
func (c ProvidersClient) Unregister(ctx context.Context, id ProviderId) (result UnregisterOperationResponse, err error)
Unregister ...