/// <summary>
 /// Deletes a Service Fabric application resource.
 /// </summary>
 /// <remarks>
 /// Delete a Service Fabric application resource with the specified name.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the cluster resource.
 /// </param>
 /// <param name='applicationName'>
 /// The name of the application resource.
 /// </param>
 public static void Delete(this IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName)
 {
     operations.DeleteAsync(resourceGroupName, clusterName, applicationName).GetAwaiter().GetResult();
 }
示例#2
0
 public override async Task DeleteByIdAsync(string id, CancellationToken cancellationToken = default(CancellationToken))
 {
     await innerCollection.DeleteAsync(id, cancellationToken);
 }
示例#3
0
 /// <summary>
 /// Delete an application.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='applicationObjectId'>
 /// Application object ID.
 /// </param>
 public static void Delete(this IApplicationsOperations operations, string applicationObjectId)
 {
     operations.DeleteAsync(applicationObjectId).GetAwaiter().GetResult();
 }