/// <summary> /// Get operation result. /// </summary> /// <remarks> /// Get asset track operation result. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the Azure subscription. /// </param> /// <param name='accountName'> /// The Media Services account name. /// </param> /// <param name='assetName'> /// The Asset name. /// </param> /// <param name='trackName'> /// The Asset Track name. /// </param> /// <param name='operationId'> /// Operation Id. /// </param> public static AssetTrack Get(this IOperationResultsOperations operations, string resourceGroupName, string accountName, string assetName, string trackName, string operationId) { return(operations.GetAsync(resourceGroupName, accountName, assetName, trackName, operationId).GetAwaiter().GetResult()); }
/// <summary> /// Get the operation result for a long running operation. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='locationName'> /// The location of the operation. /// </param> /// <param name='operationResultId'> /// The ID of the operation result to get. /// </param> public static object Get(this IOperationResultsOperations operations, string locationName, string operationResultId) { return(operations.GetAsync(locationName, operationResultId).GetAwaiter().GetResult()); }
/// <summary> /// Get an azure operation result. /// </summary> /// <remarks> /// Returns an azure operation result. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='operationResultId'> /// The operation result ID / name. /// </param> public static OperationResult Get(this IOperationResultsOperations operations, string operationResultId) { return(operations.GetAsync(operationResultId).GetAwaiter().GetResult()); }
/// <summary> /// Get operation result. /// </summary> /// <remarks> /// Get private endpoint connection operation result. /// </remarks> /// <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='accountName'> /// The Video Analyzer account name. /// </param> /// <param name='name'> /// Private endpoint connection name. /// </param> /// <param name='operationId'> /// Operation Id. /// </param> public static PrivateEndpointConnection Get(this IOperationResultsOperations operations, string resourceGroupName, string accountName, string name, string operationId) { return(operations.GetAsync(resourceGroupName, accountName, name, operationId).GetAwaiter().GetResult()); }