Ixxerja permezz ta’


DaprSubscriptions interface

Interface representing a DaprSubscriptions.

Methods

createOrUpdate(string, string, string, DaprSubscription, DaprSubscriptionsCreateOrUpdateOptionalParams)

Creates or updates a Dapr subscription in a Managed Environment.

delete(string, string, string, DaprSubscriptionsDeleteOptionalParams)

Delete a Dapr subscription from a Managed Environment.

get(string, string, string, DaprSubscriptionsGetOptionalParams)

Get a dapr subscription.

list(string, string, DaprSubscriptionsListOptionalParams)

Get the Dapr subscriptions for a managed environment.

Method Details

createOrUpdate(string, string, string, DaprSubscription, DaprSubscriptionsCreateOrUpdateOptionalParams)

Creates or updates a Dapr subscription in a Managed Environment.

function createOrUpdate(resourceGroupName: string, environmentName: string, name: string, daprSubscriptionEnvelope: DaprSubscription, options?: DaprSubscriptionsCreateOrUpdateOptionalParams): Promise<DaprSubscription>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

name

string

Name of the Dapr subscription.

daprSubscriptionEnvelope
DaprSubscription

Configuration details of the Dapr subscription.

options
DaprSubscriptionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DaprSubscription>

delete(string, string, string, DaprSubscriptionsDeleteOptionalParams)

Delete a Dapr subscription from a Managed Environment.

function delete(resourceGroupName: string, environmentName: string, name: string, options?: DaprSubscriptionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

name

string

Name of the Dapr subscription.

options
DaprSubscriptionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DaprSubscriptionsGetOptionalParams)

Get a dapr subscription.

function get(resourceGroupName: string, environmentName: string, name: string, options?: DaprSubscriptionsGetOptionalParams): Promise<DaprSubscription>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

name

string

Name of the Dapr subscription.

options
DaprSubscriptionsGetOptionalParams

The options parameters.

Returns

Promise<DaprSubscription>

list(string, string, DaprSubscriptionsListOptionalParams)

Get the Dapr subscriptions for a managed environment.

function list(resourceGroupName: string, environmentName: string, options?: DaprSubscriptionsListOptionalParams): PagedAsyncIterableIterator<DaprSubscription, DaprSubscription[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

options
DaprSubscriptionsListOptionalParams

The options parameters.

Returns