New-AzContainerAppDaprMetadataObject

Create an in-memory object for DaprMetadata.

Syntax

New-AzContainerAppDaprMetadataObject
   [-Name <String>]
   [-SecretRef <String>]
   [-Value <String>]
   [<CommonParameters>]

Description

Create an in-memory object for DaprMetadata.

Examples

Example 1: Create a DaprMetaData object for ManagedEnvDaprMetadata.

New-AzContainerAppDaprMetadataObject -Name "masterkey" -Value "masterkey"

Name      SecretRef Value
----      --------- -----
masterkey           masterkey

Create a DaprMetaData object for ManagedEnvDaprMetadata.

Parameters

-Name

Metadata property name.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SecretRef

Name of the Dapr Component secret from which to pull the metadata property value.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Value

Metadata property value.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DaprMetadata