Interface DaprComponent
public interface DaprComponent
An immutable client-side representation of DaprComponent.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the DaprComponent definition.static interface
The DaprComponent definition stages.static interface
The template for DaprComponent update.static interface
The DaprComponent update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the componentType property: Component type.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the ignoreErrors property: Boolean describing if the component errors are ignores.Gets the initTimeout property: Initialization timeout.Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentInner object.List secrets for a dapr component.com.azure.core.http.rest.Response<DaprSecretsCollection>
listSecretsWithResponse
(com.azure.core.util.Context context) List secrets for a dapr component.metadata()
Gets the metadata property: Component metadata.name()
Gets the name property: The name of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.scopes()
Gets the scopes property: Names of container apps that can use this Dapr component.secrets()
Gets the secrets property: Collection of secrets used by a Dapr component.Gets the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.type()
Gets the type property: The type of the resource.update()
Begins update for the DaprComponent resource.version()
Gets the version property: Component version.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
componentType
String componentType()Gets the componentType property: Component type.- Returns:
- the componentType value.
-
version
String version()Gets the version property: Component version.- Returns:
- the version value.
-
ignoreErrors
Boolean ignoreErrors()Gets the ignoreErrors property: Boolean describing if the component errors are ignores.- Returns:
- the ignoreErrors value.
-
initTimeout
String initTimeout()Gets the initTimeout property: Initialization timeout.- Returns:
- the initTimeout value.
-
secrets
Gets the secrets property: Collection of secrets used by a Dapr component.- Returns:
- the secrets value.
-
secretStoreComponent
String secretStoreComponent()Gets the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.- Returns:
- the secretStoreComponent value.
-
metadata
List<DaprMetadata> metadata()Gets the metadata property: Component metadata.- Returns:
- the metadata value.
-
scopes
Gets the scopes property: Names of container apps that can use this Dapr component.- Returns:
- the scopes value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
DaprComponentInner innerModel()Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentInner object.- Returns:
- the inner object.
-
update
DaprComponent.Update update()Begins update for the DaprComponent resource.- Returns:
- the stage of resource update.
-
refresh
DaprComponent refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listSecretsWithResponse
com.azure.core.http.rest.Response<DaprSecretsCollection> listSecretsWithResponse(com.azure.core.util.Context context) List secrets for a dapr component.- Parameters:
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()List secrets for a dapr component.- Returns:
- dapr component Secrets Collection for ListSecrets Action.
- Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-