Пример #1
0
 protected async Task BeginDeleteResourceGroupAsync(
     CancellationToken cancellationToken = default
     )
 {
     if (null != _resourceGroup)
     {
         try {
             await _azureResourceManager
             .BeginDeleteResourceGroupAsync(
                 _resourceGroup,
                 cancellationToken
                 );
         }
         catch (Exception) {
             Log.Warning($"Ignoring failure to delete Resource Group: {_resourceGroup.Name}.");
         }
     }
 }