IManagementLockOperations.CreateOrUpdateAtSubscriptionLevelAsync 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.
Create or update a management lock at the subscription level.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult> CreateOrUpdateAtSubscriptionLevelAsync(string lockName, Microsoft.Azure.Management.Resources.Models.ManagementLockProperties parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAtSubscriptionLevelAsync : string * Microsoft.Azure.Management.Resources.Models.ManagementLockProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult>
Public Function CreateOrUpdateAtSubscriptionLevelAsync (lockName As String, parameters As ManagementLockProperties, cancellationToken As CancellationToken) As Task(Of ManagementLockReturnResult)
Parameters
- lockName
- String
The name of lock.
- parameters
- ManagementLockProperties
The management lock parameters.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Management lock information.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET