DaprComponentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appcontainers. fluent. models. DaprComponentInner
- com.
- com.
public final class DaprComponentInner
extends ProxyResource
Dapr Component.
Constructor Summary
| Constructor | Description |
|---|---|
| DaprComponentInner() |
Creates an instance of Dapr |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
componentType()
Get the component |
| String |
deploymentErrors()
Get the deployment |
|
static
Dapr |
fromJson(JsonReader jsonReader)
Reads an instance of Dapr |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
ignoreErrors()
Get the ignore |
| String |
initTimeout()
Get the init |
|
List<Dapr |
metadata()
Get the metadata property: Component metadata. |
| String |
name()
Get the name property: The name of the resource. |
|
Dapr |
provisioningState()
Get the provisioning |
| List<String> |
scopes()
Get the scopes property: Names of container apps that can use this Dapr component. |
| List<Secret> |
secrets()
Get the secrets property: Collection of secrets used by a Dapr component. |
| String |
secretStoreComponent()
Get the secret |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Component version. |
|
Dapr |
withComponentType(String componentType)
Set the component |
|
Dapr |
withIgnoreErrors(Boolean ignoreErrors)
Set the ignore |
|
Dapr |
withInitTimeout(String initTimeout)
Set the init |
|
Dapr |
withMetadata(List<DaprMetadata> metadata)
Set the metadata property: Component metadata. |
|
Dapr |
withScopes(List<String> scopes)
Set the scopes property: Names of container apps that can use this Dapr component. |
|
Dapr |
withSecrets(List<Secret> secrets)
Set the secrets property: Collection of secrets used by a Dapr component. |
|
Dapr |
withSecretStoreComponent(String secretStoreComponent)
Set the secret |
|
Dapr |
withVersion(String version)
Set the version property: Component version. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DaprComponentInner
public DaprComponentInner()
Creates an instance of DaprComponentInner class.
Method Details
componentType
public String componentType()
Get the componentType property: Component type.
Returns:
deploymentErrors
public String deploymentErrors()
Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.
Returns:
fromJson
public static DaprComponentInner fromJson(JsonReader jsonReader)
Reads an instance of DaprComponentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DaprComponentInner.id()Returns:
ignoreErrors
public Boolean ignoreErrors()
Get the ignoreErrors property: Boolean describing if the component errors are ignores.
Returns:
initTimeout
public String initTimeout()
Get the initTimeout property: Initialization timeout.
Returns:
metadata
public List<DaprMetadata> metadata()
Get the metadata property: Component metadata.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DaprComponentInner.name()Returns:
provisioningState
public DaprComponentProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Dapr Component.
Returns:
scopes
public List<String> scopes()
Get the scopes property: Names of container apps that can use this Dapr component.
Returns:
secrets
public List<Secret> secrets()
Get the secrets property: Collection of secrets used by a Dapr component.
Returns:
secretStoreComponent
public String secretStoreComponent()
Get the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DaprComponentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DaprComponentInner.type()Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Component version.
Returns:
withComponentType
public DaprComponentInner withComponentType(String componentType)
Set the componentType property: Component type.
Parameters:
Returns:
withIgnoreErrors
public DaprComponentInner withIgnoreErrors(Boolean ignoreErrors)
Set the ignoreErrors property: Boolean describing if the component errors are ignores.
Parameters:
Returns:
withInitTimeout
public DaprComponentInner withInitTimeout(String initTimeout)
Set the initTimeout property: Initialization timeout.
Parameters:
Returns:
withMetadata
public DaprComponentInner withMetadata(List<DaprMetadata> metadata)
Set the metadata property: Component metadata.
Parameters:
Returns:
withScopes
public DaprComponentInner withScopes(List<String> scopes)
Set the scopes property: Names of container apps that can use this Dapr component.
Parameters:
Returns:
withSecrets
public DaprComponentInner withSecrets(List<Secret> secrets)
Set the secrets property: Collection of secrets used by a Dapr component.
Parameters:
Returns:
withSecretStoreComponent
public DaprComponentInner withSecretStoreComponent(String secretStoreComponent)
Set the secretStoreComponent property: Name of a Dapr component to retrieve component secrets from.
Parameters:
Returns:
withVersion
public DaprComponentInner withVersion(String version)
Set the version property: Component version.
Parameters:
Returns: