ISearchService.RegenerateAdminKeysAsync 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.
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IAdminKeys> RegenerateAdminKeysAsync(Microsoft.Azure.Management.Search.Fluent.Models.AdminKeyKind keyKind, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateAdminKeysAsync : Microsoft.Azure.Management.Search.Fluent.Models.AdminKeyKind * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IAdminKeys>
Public Function RegenerateAdminKeysAsync (keyKind As AdminKeyKind, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAdminKeys)
Parameters
- keyKind
- AdminKeyKind
Specifies which key to regenerate.
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET