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

IWithSecretsMapBeta<ParentT>.WithSecrets 方法

定义

指定机密映射。 必须在 Base64 编码中指定机密值。

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithVolumeAttach<ParentT> WithSecrets (System.Collections.Generic.IDictionary<string,string> secrets);
abstract member WithSecrets : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithVolumeAttach<'ParentT>
Public Function WithSecrets (secrets As IDictionary(Of String, String)) As IWithVolumeAttach(Of ParentT)

参数

secrets
IDictionary<String,String>

新的卷机密映射;value 必须以 Base64 编码。

返回

适用于