Interface DaprComponent


public interface DaprComponent
An immutable client-side representation of DaprComponent.
  • 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

      List<Secret> 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

      List<String> 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

      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.
    • 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.