/// <summary>
 /// Get Async Operation status
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='clusterRp'>
 /// The Kubernetes cluster RP - i.e. Microsoft.ContainerService,
 /// Microsoft.Kubernetes, Microsoft.HybridContainerService.
 /// </param>
 /// <param name='clusterResourceName'>
 /// The Kubernetes cluster resource name - i.e. managedClusters,
 /// connectedClusters, provisionedClusters.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the kubernetes cluster.
 /// </param>
 /// <param name='extensionName'>
 /// Name of the Extension.
 /// </param>
 /// <param name='operationId'>
 /// operation Id
 /// </param>
 public static OperationStatusResult Get(this IOperationStatusOperations operations, string resourceGroupName, string clusterRp, string clusterResourceName, string clusterName, string extensionName, string operationId)
 {
     return(operations.GetAsync(resourceGroupName, clusterRp, clusterResourceName, clusterName, extensionName, operationId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets the operation status for a resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// </param>
 /// <param name='operationId'>
 /// </param>
 public static OperationResource Get(this IOperationStatusOperations operations, string location, string operationId)
 {
     return(operations.GetAsync(location, operationId).GetAwaiter().GetResult());
 }
Beispiel #3
0
 /// <summary>
 /// Get Operation status
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='locationName'>
 /// The desired region to obtain information from.
 /// </param>
 /// <param name='workflowId'>
 /// workflow Id
 /// </param>
 /// <param name='operationId'>
 /// operation Id
 /// </param>
 public static OperationStatus Get(this IOperationStatusOperations operations, string resourceGroupName, string locationName, string workflowId, string operationId)
 {
     return(operations.GetAsync(resourceGroupName, locationName, workflowId, operationId).GetAwaiter().GetResult());
 }