Documentation ¶
Index ¶
- func PossibleValuesForActionRouting() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForResourceTypeRouting() []string
- func PossibleValuesForValidationType() []string
- func ValidateResourceProviderID(input interface{}, key string) (warnings []string, errors []error)
- type ActionRouting
- type CreateOrUpdateOperationResponse
- type CustomRPActionRouteDefinition
- type CustomRPManifest
- type CustomRPManifestOperationPredicate
- type CustomRPManifestProperties
- type CustomRPResourceTypeRouteDefinition
- type CustomRPValidations
- type CustomResourceProviderClient
- func (c CustomResourceProviderClient) CreateOrUpdate(ctx context.Context, id ResourceProviderId, input CustomRPManifest) (result CreateOrUpdateOperationResponse, err error)
- func (c CustomResourceProviderClient) CreateOrUpdateThenPoll(ctx context.Context, id ResourceProviderId, input CustomRPManifest) error
- func (c CustomResourceProviderClient) Delete(ctx context.Context, id ResourceProviderId) (result DeleteOperationResponse, err error)
- func (c CustomResourceProviderClient) DeleteThenPoll(ctx context.Context, id ResourceProviderId) error
- func (c CustomResourceProviderClient) Get(ctx context.Context, id ResourceProviderId) (result GetOperationResponse, err error)
- func (c CustomResourceProviderClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c CustomResourceProviderClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CustomResourceProviderClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c CustomResourceProviderClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c CustomResourceProviderClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c CustomResourceProviderClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c CustomResourceProviderClient) Update(ctx context.Context, id ResourceProviderId, input ResourceProvidersUpdate) (result UpdateOperationResponse, err error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type ResourceProviderId
- type ResourceProvidersUpdate
- type ResourceTypeRouting
- type UpdateOperationResponse
- type ValidationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActionRouting ¶
func PossibleValuesForActionRouting() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForResourceTypeRouting ¶
func PossibleValuesForResourceTypeRouting() []string
func PossibleValuesForValidationType ¶
func PossibleValuesForValidationType() []string
func ValidateResourceProviderID ¶
ValidateResourceProviderID checks that 'input' can be parsed as a Resource Provider ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CustomRPActionRouteDefinition ¶
type CustomRPActionRouteDefinition struct { Endpoint string `json:"endpoint"` Name string `json:"name"` RoutingType *ActionRouting `json:"routingType,omitempty"` }
type CustomRPManifest ¶
type CustomRPManifestOperationPredicate ¶
type CustomRPManifestOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (CustomRPManifestOperationPredicate) Matches ¶
func (p CustomRPManifestOperationPredicate) Matches(input CustomRPManifest) bool
type CustomRPManifestProperties ¶
type CustomRPManifestProperties struct { Actions *[]CustomRPActionRouteDefinition `json:"actions,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceTypes *[]CustomRPResourceTypeRouteDefinition `json:"resourceTypes,omitempty"` Validations *[]CustomRPValidations `json:"validations,omitempty"` }
type CustomRPResourceTypeRouteDefinition ¶
type CustomRPResourceTypeRouteDefinition struct { Endpoint string `json:"endpoint"` Name string `json:"name"` RoutingType *ResourceTypeRouting `json:"routingType,omitempty"` }
type CustomRPValidations ¶
type CustomRPValidations struct { Specification string `json:"specification"` ValidationType *ValidationType `json:"validationType,omitempty"` }
type CustomResourceProviderClient ¶
type CustomResourceProviderClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewCustomResourceProviderClientWithBaseURI ¶
func NewCustomResourceProviderClientWithBaseURI(endpoint string) CustomResourceProviderClient
func (CustomResourceProviderClient) CreateOrUpdate ¶
func (c CustomResourceProviderClient) CreateOrUpdate(ctx context.Context, id ResourceProviderId, input CustomRPManifest) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CustomResourceProviderClient) CreateOrUpdateThenPoll ¶
func (c CustomResourceProviderClient) CreateOrUpdateThenPoll(ctx context.Context, id ResourceProviderId, input CustomRPManifest) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CustomResourceProviderClient) Delete ¶
func (c CustomResourceProviderClient) Delete(ctx context.Context, id ResourceProviderId) (result DeleteOperationResponse, err error)
Delete ...
func (CustomResourceProviderClient) DeleteThenPoll ¶
func (c CustomResourceProviderClient) DeleteThenPoll(ctx context.Context, id ResourceProviderId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CustomResourceProviderClient) Get ¶
func (c CustomResourceProviderClient) Get(ctx context.Context, id ResourceProviderId) (result GetOperationResponse, err error)
Get ...
func (CustomResourceProviderClient) ListByResourceGroup ¶
func (c CustomResourceProviderClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CustomResourceProviderClient) ListByResourceGroupComplete ¶
func (c CustomResourceProviderClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (CustomResourceProviderClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CustomResourceProviderClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CustomRPManifestOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CustomResourceProviderClient) ListBySubscription ¶
func (c CustomResourceProviderClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (CustomResourceProviderClient) ListBySubscriptionComplete ¶
func (c CustomResourceProviderClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (CustomResourceProviderClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CustomResourceProviderClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CustomRPManifestOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CustomResourceProviderClient) Update ¶
func (c CustomResourceProviderClient) Update(ctx context.Context, id ResourceProviderId, input ResourceProvidersUpdate) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *CustomRPManifest }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []CustomRPManifest
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]CustomRPManifest // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []CustomRPManifest
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]CustomRPManifest // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type ResourceProviderId ¶
type ResourceProviderId struct { SubscriptionId string ResourceGroupName string ResourceProviderName string }
ResourceProviderId is a struct representing the Resource ID for a Resource Provider
func NewResourceProviderID ¶
func NewResourceProviderID(subscriptionId string, resourceGroupName string, resourceProviderName string) ResourceProviderId
NewResourceProviderID returns a new ResourceProviderId struct
func ParseResourceProviderID ¶
func ParseResourceProviderID(input string) (*ResourceProviderId, error)
ParseResourceProviderID parses 'input' into a ResourceProviderId
func ParseResourceProviderIDInsensitively ¶
func ParseResourceProviderIDInsensitively(input string) (*ResourceProviderId, error)
ParseResourceProviderIDInsensitively parses 'input' case-insensitively into a ResourceProviderId note: this method should only be used for API response data and not user input
func (ResourceProviderId) ID ¶
func (id ResourceProviderId) ID() string
ID returns the formatted Resource Provider ID
func (ResourceProviderId) Segments ¶
func (id ResourceProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Provider ID
func (ResourceProviderId) String ¶
func (id ResourceProviderId) String() string
String returns a human-readable description of this Resource Provider ID
type ResourceProvidersUpdate ¶
type ResourceTypeRouting ¶
type ResourceTypeRouting string
const ( ResourceTypeRoutingProxy ResourceTypeRouting = "Proxy" ResourceTypeRoutingProxyCache ResourceTypeRouting = "Proxy,Cache" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *CustomRPManifest }
type ValidationType ¶
type ValidationType string
const (
ValidationTypeSwagger ValidationType = "Swagger"
)
Source Files ¶
- client.go
- constants.go
- id_resourceprovider.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_customrpactionroutedefinition.go
- model_customrpmanifest.go
- model_customrpmanifestproperties.go
- model_customrpresourcetyperoutedefinition.go
- model_customrpvalidations.go
- model_resourceprovidersupdate.go
- predicates.go
- version.go