Interface DaprComponent
-
public interface DaprComponent
An immutable client-side representation of DaprComponent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DaprComponent.Definition
The entirety of the DaprComponent definition.static interface
DaprComponent.DefinitionStages
The DaprComponent definition stages.static interface
DaprComponent.Update
The template for DaprComponent update.static interface
DaprComponent.UpdateStages
The DaprComponent update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
componentType()
Gets the componentType property: Component type.String
id()
Gets the id property: Fully qualified resource Id for the resource.Boolean
ignoreErrors()
Gets the ignoreErrors property: Boolean describing if the component errors are ignores.String
initTimeout()
Gets the initTimeout property: Initialization timeout.DaprComponentInner
innerModel()
Gets the inner com.azure.resourcemanager.appcontainers.fluent.models.DaprComponentInner object.DaprSecretsCollection
listSecrets()
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.List<DaprMetadata>
metadata()
Gets the metadata property: Component metadata.String
name()
Gets the name property: The name of the resource.DaprComponent
refresh()
Refreshes the resource to sync with Azure.DaprComponent
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.List<String>
scopes()
Gets the scopes property: Names of container apps that can use this Dapr component.List<Secret>
secrets()
Gets the secrets property: Collection of secrets used by a Dapr component.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.String
type()
Gets the type property: The type of the resource.DaprComponent.Update
update()
Begins update for the DaprComponent resource.String
version()
Gets the version property: Component version.
-
-
-
Method Detail
-
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
List<Secret> secrets()
Gets the secrets property: Collection of secrets used by a Dapr component.- Returns:
- the secrets value.
-
metadata
List<DaprMetadata> metadata()
Gets the metadata property: Component metadata.- Returns:
- the metadata value.
-
scopes
List<String> scopes()
Gets the scopes property: Names of container apps that can use this Dapr component.- Returns:
- the scopes value.
-
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
DaprComponent refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listSecrets
DaprSecretsCollection listSecrets()
List secrets for a dapr component.- Returns:
- dapr component Secrets Collection ARM resource.
- Throws:
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(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 ARM resource 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.
-
-