你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmContainerInstanceModelFactory.ContainerGroupSecretReference Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSecretReference ContainerGroupSecretReference(string name = default, Azure.Core.ResourceIdentifier identity = default, Uri secretReferenceUri = default);
static member ContainerGroupSecretReference : string * Azure.Core.ResourceIdentifier * Uri -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSecretReference
Public Shared Function ContainerGroupSecretReference (Optional name As String = Nothing, Optional identity As ResourceIdentifier = Nothing, Optional secretReferenceUri As Uri = Nothing) As ContainerGroupSecretReference

Parameters

name
String

The identifier of the secret reference.

identity
ResourceIdentifier

The ARM resource id of the managed identity that has access to the secret in the key vault.

secretReferenceUri
Uri

The URI to the secret in key vault.

Returns

A new ContainerGroupSecretReference instance for mocking.

Applies to