ArmAppContainersModelFactory.ContainerAppSecret Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerAppSecret.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppSecret ContainerAppSecret (string name = default, string value = default, string identity = default, Uri keyVaultUri = default);
static member ContainerAppSecret : string * string * string * Uri -> Azure.ResourceManager.AppContainers.Models.ContainerAppSecret
Public Shared Function ContainerAppSecret (Optional name As String = Nothing, Optional value As String = Nothing, Optional identity As String = Nothing, Optional keyVaultUri As Uri = Nothing) As ContainerAppSecret
Parameters
- name
- String
Secret Name.
- value
- String
Secret Value.
- identity
- String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
- keyVaultUri
- Uri
Azure Key Vault URL pointing to the secret referenced by the container app.
Returns
A new ContainerAppSecret instance for mocking.