Interface ConnectedEnvironmentsDaprComponents
public interface ConnectedEnvironmentsDaprComponents
Resource collection API of ConnectedEnvironmentsDaprComponents.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String connectedEnvironmentName, String componentName, DaprComponentInner daprComponentEnvelope) Creates or updates a Dapr Component.com.azure.core.http.rest.Response<DaprComponent>
createOrUpdateWithResponse
(String resourceGroupName, String connectedEnvironmentName, String componentName, DaprComponentInner daprComponentEnvelope, com.azure.core.util.Context context) Creates or updates a Dapr Component.void
Delete a Dapr Component.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String connectedEnvironmentName, String componentName, com.azure.core.util.Context context) Delete a Dapr Component.Get a dapr component.com.azure.core.http.rest.Response<DaprComponent>
getWithResponse
(String resourceGroupName, String connectedEnvironmentName, String componentName, com.azure.core.util.Context context) Get a dapr component.com.azure.core.http.rest.PagedIterable<DaprComponent>
Get the Dapr Components for a connected environment.com.azure.core.http.rest.PagedIterable<DaprComponent>
list
(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the Dapr Components for a connected environment.listSecrets
(String resourceGroupName, String connectedEnvironmentName, String componentName) List secrets for a dapr component.com.azure.core.http.rest.Response<DaprSecretsCollection>
listSecretsWithResponse
(String resourceGroupName, String connectedEnvironmentName, String componentName, com.azure.core.util.Context context) List secrets for a dapr component.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<DaprComponent> list(String resourceGroupName, String connectedEnvironmentName) Get the Dapr Components for a connected environment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.- Returns:
- the Dapr Components for a connected environment as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DaprComponent> list(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the Dapr Components for a connected environment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.context
- The context to associate with this operation.- Returns:
- the Dapr Components for a connected environment as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<DaprComponent> getWithResponse(String resourceGroupName, String connectedEnvironmentName, String componentName, com.azure.core.util.Context context) Get a dapr component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.context
- The context to associate with this operation.- Returns:
- a dapr component along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get a dapr component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.- Returns:
- a dapr component.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<DaprComponent> createOrUpdateWithResponse(String resourceGroupName, String connectedEnvironmentName, String componentName, DaprComponentInner daprComponentEnvelope, com.azure.core.util.Context context) Creates or updates a Dapr Component.Creates or updates a Dapr Component in a connected environment.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.daprComponentEnvelope
- Configuration details of the Dapr Component.context
- The context to associate with this operation.- Returns:
- dapr Component along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DaprComponent createOrUpdate(String resourceGroupName, String connectedEnvironmentName, String componentName, DaprComponentInner daprComponentEnvelope) Creates or updates a Dapr Component.Creates or updates a Dapr Component in a connected environment.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.daprComponentEnvelope
- Configuration details of the Dapr Component.- Returns:
- dapr Component.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String connectedEnvironmentName, String componentName, com.azure.core.util.Context context) Delete a Dapr Component.Delete a Dapr Component from a connected environment.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a Dapr Component.Delete a Dapr Component from a connected environment.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listSecretsWithResponse
com.azure.core.http.rest.Response<DaprSecretsCollection> listSecretsWithResponse(String resourceGroupName, String connectedEnvironmentName, String componentName, com.azure.core.util.Context context) List secrets for a dapr component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.context
- The context to associate with this operation.- Returns:
- dapr component Secrets Collection for ListSecrets Action along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listSecrets
DaprSecretsCollection listSecrets(String resourceGroupName, String connectedEnvironmentName, String componentName) List secrets for a dapr component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connected environment.componentName
- Name of the Dapr Component.- Returns:
- dapr component Secrets Collection for ListSecrets Action.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-