Interface ConnectedEnvironmentsDaprComponents
public interface ConnectedEnvironmentsDaprComponents
Resource collection API of ConnectedEnvironmentsDaprComponents.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new DaprComponent resource.voidDelete a Dapr Component.voiddeleteById(String id) Delete a Dapr Component.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) 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.Get a dapr component.com.azure.core.http.rest.Response<DaprComponent> getByIdWithResponse(String id, com.azure.core.util.Context context) 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.
-
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.
-
getById
Get a dapr component.- Parameters:
id- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<DaprComponent> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a dapr component.- Parameters:
id- the resource ID.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.
-
deleteById
Delete a Dapr Component. Delete a Dapr Component from a connected environment.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete a Dapr Component. Delete a Dapr Component from a connected environment.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new DaprComponent resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new DaprComponent definition.
-