Documentation ¶
Index ¶
- func ValidateDaprSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DaprSubscription
- type DaprSubscriptionBulkSubscribeOptions
- type DaprSubscriptionId
- type DaprSubscriptionOperationPredicate
- type DaprSubscriptionProperties
- type DaprSubscriptionRouteRule
- type DaprSubscriptionRoutes
- type DaprSubscriptionsClient
- func (c DaprSubscriptionsClient) CreateOrUpdate(ctx context.Context, id DaprSubscriptionId, input DaprSubscription) (result CreateOrUpdateOperationResponse, err error)
- func (c DaprSubscriptionsClient) Delete(ctx context.Context, id DaprSubscriptionId) (result DeleteOperationResponse, err error)
- func (c DaprSubscriptionsClient) Get(ctx context.Context, id DaprSubscriptionId) (result GetOperationResponse, err error)
- func (c DaprSubscriptionsClient) List(ctx context.Context, id ManagedEnvironmentId) (result ListOperationResponse, err error)
- func (c DaprSubscriptionsClient) ListComplete(ctx context.Context, id ManagedEnvironmentId) (ListCompleteResult, error)
- func (c DaprSubscriptionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, ...) (result ListCompleteResult, err error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ManagedEnvironmentId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDaprSubscriptionID ¶
ValidateDaprSubscriptionID checks that 'input' can be parsed as a Dapr Subscription ID
func ValidateManagedEnvironmentID ¶
func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedEnvironmentID checks that 'input' can be parsed as a Managed Environment ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DaprSubscription }
type DaprSubscription ¶
type DaprSubscription struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DaprSubscriptionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DaprSubscriptionId ¶
type DaprSubscriptionId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string DaprSubscriptionName string }
DaprSubscriptionId is a struct representing the Resource ID for a Dapr Subscription
func NewDaprSubscriptionID ¶
func NewDaprSubscriptionID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, daprSubscriptionName string) DaprSubscriptionId
NewDaprSubscriptionID returns a new DaprSubscriptionId struct
func ParseDaprSubscriptionID ¶
func ParseDaprSubscriptionID(input string) (*DaprSubscriptionId, error)
ParseDaprSubscriptionID parses 'input' into a DaprSubscriptionId
func ParseDaprSubscriptionIDInsensitively ¶
func ParseDaprSubscriptionIDInsensitively(input string) (*DaprSubscriptionId, error)
ParseDaprSubscriptionIDInsensitively parses 'input' case-insensitively into a DaprSubscriptionId note: this method should only be used for API response data and not user input
func (*DaprSubscriptionId) FromParseResult ¶
func (id *DaprSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (DaprSubscriptionId) ID ¶
func (id DaprSubscriptionId) ID() string
ID returns the formatted Dapr Subscription ID
func (DaprSubscriptionId) Segments ¶
func (id DaprSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dapr Subscription ID
func (DaprSubscriptionId) String ¶
func (id DaprSubscriptionId) String() string
String returns a human-readable description of this Dapr Subscription ID
type DaprSubscriptionOperationPredicate ¶
func (DaprSubscriptionOperationPredicate) Matches ¶
func (p DaprSubscriptionOperationPredicate) Matches(input DaprSubscription) bool
type DaprSubscriptionProperties ¶
type DaprSubscriptionProperties struct { BulkSubscribe *DaprSubscriptionBulkSubscribeOptions `json:"bulkSubscribe,omitempty"` DeadLetterTopic *string `json:"deadLetterTopic,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` PubsubName *string `json:"pubsubName,omitempty"` Routes *DaprSubscriptionRoutes `json:"routes,omitempty"` Scopes *[]string `json:"scopes,omitempty"` Topic *string `json:"topic,omitempty"` }
type DaprSubscriptionRoutes ¶
type DaprSubscriptionRoutes struct { Default *string `json:"default,omitempty"` Rules *[]DaprSubscriptionRouteRule `json:"rules,omitempty"` }
type DaprSubscriptionsClient ¶
type DaprSubscriptionsClient struct {
Client *resourcemanager.Client
}
func NewDaprSubscriptionsClientWithBaseURI ¶
func NewDaprSubscriptionsClientWithBaseURI(sdkApi sdkEnv.Api) (*DaprSubscriptionsClient, error)
func (DaprSubscriptionsClient) CreateOrUpdate ¶
func (c DaprSubscriptionsClient) CreateOrUpdate(ctx context.Context, id DaprSubscriptionId, input DaprSubscription) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DaprSubscriptionsClient) Delete ¶
func (c DaprSubscriptionsClient) Delete(ctx context.Context, id DaprSubscriptionId) (result DeleteOperationResponse, err error)
Delete ...
func (DaprSubscriptionsClient) Get ¶
func (c DaprSubscriptionsClient) Get(ctx context.Context, id DaprSubscriptionId) (result GetOperationResponse, err error)
Get ...
func (DaprSubscriptionsClient) List ¶
func (c DaprSubscriptionsClient) List(ctx context.Context, id ManagedEnvironmentId) (result ListOperationResponse, err error)
List ...
func (DaprSubscriptionsClient) ListComplete ¶
func (c DaprSubscriptionsClient) ListComplete(ctx context.Context, id ManagedEnvironmentId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DaprSubscriptionsClient) ListCompleteMatchingPredicate ¶
func (c DaprSubscriptionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate DaprSubscriptionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DaprSubscription }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []DaprSubscription }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DaprSubscription }
type ManagedEnvironmentId ¶
type ManagedEnvironmentId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string }
ManagedEnvironmentId is a struct representing the Resource ID for a Managed Environment
func NewManagedEnvironmentID ¶
func NewManagedEnvironmentID(subscriptionId string, resourceGroupName string, managedEnvironmentName string) ManagedEnvironmentId
NewManagedEnvironmentID returns a new ManagedEnvironmentId struct
func ParseManagedEnvironmentID ¶
func ParseManagedEnvironmentID(input string) (*ManagedEnvironmentId, error)
ParseManagedEnvironmentID parses 'input' into a ManagedEnvironmentId
func ParseManagedEnvironmentIDInsensitively ¶
func ParseManagedEnvironmentIDInsensitively(input string) (*ManagedEnvironmentId, error)
ParseManagedEnvironmentIDInsensitively parses 'input' case-insensitively into a ManagedEnvironmentId note: this method should only be used for API response data and not user input
func (*ManagedEnvironmentId) FromParseResult ¶
func (id *ManagedEnvironmentId) FromParseResult(input resourceids.ParseResult) error
func (ManagedEnvironmentId) ID ¶
func (id ManagedEnvironmentId) ID() string
ID returns the formatted Managed Environment ID
func (ManagedEnvironmentId) Segments ¶
func (id ManagedEnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Environment ID
func (ManagedEnvironmentId) String ¶
func (id ManagedEnvironmentId) String() string
String returns a human-readable description of this Managed Environment ID
Source Files ¶
- client.go
- id_daprsubscription.go
- id_managedenvironment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_daprsubscription.go
- model_daprsubscriptionbulksubscribeoptions.go
- model_daprsubscriptionproperties.go
- model_daprsubscriptionrouterule.go
- model_daprsubscriptionroutes.go
- predicates.go
- version.go