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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c CustomResourceProviderClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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 ActionRouting ¶
type ActionRouting string
const (
ActionRoutingProxy ActionRouting = "Proxy"
)
func (*ActionRouting) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *ActionRouting) UnmarshalJSON(bytes []byte) error
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 *resourcemanager.Client
}
func NewCustomResourceProviderClientWithBaseURI ¶
func NewCustomResourceProviderClientWithBaseURI(api environments.Api) (*CustomResourceProviderClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CustomResourceProviderClient) ListByResourceGroupComplete ¶
func (c CustomResourceProviderClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (CustomResourceProviderClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CustomResourceProviderClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CustomRPManifestOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomResourceProviderClient) ListBySubscription ¶
func (c CustomResourceProviderClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (CustomResourceProviderClient) ListBySubscriptionComplete ¶
func (c CustomResourceProviderClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (CustomResourceProviderClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CustomResourceProviderClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CustomRPManifestOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomResourceProviderClient) Update ¶
func (c CustomResourceProviderClient) Update(ctx context.Context, id ResourceProviderId, input ResourceProvidersUpdate) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomRPManifest }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []CustomRPManifest
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomRPManifest }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []CustomRPManifest
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomRPManifest }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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" )
func (*ResourceTypeRouting) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *ResourceTypeRouting) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomRPManifest }
type ValidationType ¶
type ValidationType string
const (
ValidationTypeSwagger ValidationType = "Swagger"
)
func (*ValidationType) UnmarshalJSON ¶ added in v0.20230411.1183115
func (s *ValidationType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_resourceprovider.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_customrpactionroutedefinition.go
- model_customrpmanifest.go
- model_customrpmanifestproperties.go
- model_customrpresourcetyperoutedefinition.go
- model_customrpvalidations.go
- model_resourceprovidersupdate.go
- predicates.go
- version.go