ConnectedEnvironmentsDaprComponents interface
Interface representing a ConnectedEnvironmentsDaprComponents.
Methods
create |
Creates or updates a Dapr Component in a connected environment. |
delete(string, string, string, Connected |
Delete a Dapr Component from a connected environment. |
get(string, string, string, Connected |
Get a dapr component. |
list(string, string, Connected |
Get the Dapr Components for a connected environment. |
list |
List secrets for a dapr component |
Method Details
createOrUpdate(string, string, string, DaprComponent, ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams)
Creates or updates a Dapr Component in a connected environment.
function createOrUpdate(resourceGroupName: string, connectedEnvironmentName: string, componentName: string, daprComponentEnvelope: DaprComponent, options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams): Promise<DaprComponent>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- connectedEnvironmentName
-
string
Name of the connected environment.
- componentName
-
string
Name of the Dapr Component.
- daprComponentEnvelope
- DaprComponent
Configuration details of the Dapr Component.
The options parameters.
Returns
Promise<DaprComponent>
delete(string, string, string, ConnectedEnvironmentsDaprComponentsDeleteOptionalParams)
Delete a Dapr Component from a connected environment.
function delete(resourceGroupName: string, connectedEnvironmentName: string, componentName: string, options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- connectedEnvironmentName
-
string
Name of the connected environment.
- componentName
-
string
Name of the Dapr Component.
The options parameters.
Returns
Promise<void>
get(string, string, string, ConnectedEnvironmentsDaprComponentsGetOptionalParams)
Get a dapr component.
function get(resourceGroupName: string, connectedEnvironmentName: string, componentName: string, options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams): Promise<DaprComponent>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- connectedEnvironmentName
-
string
Name of the connected environment.
- componentName
-
string
Name of the Dapr Component.
The options parameters.
Returns
Promise<DaprComponent>
list(string, string, ConnectedEnvironmentsDaprComponentsListOptionalParams)
Get the Dapr Components for a connected environment.
function list(resourceGroupName: string, connectedEnvironmentName: string, options?: ConnectedEnvironmentsDaprComponentsListOptionalParams): PagedAsyncIterableIterator<DaprComponent, DaprComponent[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- connectedEnvironmentName
-
string
Name of the connected environment.
The options parameters.
Returns
listSecrets(string, string, string, ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams)
List secrets for a dapr component
function listSecrets(resourceGroupName: string, connectedEnvironmentName: string, componentName: string, options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams): Promise<DaprSecretsCollection>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- connectedEnvironmentName
-
string
Name of the connected environment.
- componentName
-
string
Name of the Dapr Component.
The options parameters.
Returns
Promise<DaprSecretsCollection>