FabricClient.SecretStoreClient.SetSecretsAsync 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.
Asynchronously set secrets in Central Secret store.
public System.Threading.Tasks.Task<System.Fabric.SecretStore.Secret[]> SetSecretsAsync (System.Fabric.SecretStore.Secret[] secrets, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.SetSecretsAsync : System.Fabric.SecretStore.Secret[] * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.SecretStore.Secret[]>
Public Function SetSecretsAsync (secrets As Secret(), timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of Secret())
Parameters
- secrets
- Secret[]
List of secrets to set.
- timeout
- TimeSpan
Max time wait for the async operation to complete
- cancellationToken
- CancellationToken
The CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is canceled.
Returns
The task representing the asynchronous action.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET