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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.