Ejemplo n.º 1
0
 /// <summary>
 /// Get the list of update locations
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Resource group name.
 /// </param>
 /// <param name='updateLocation'>
 /// The name of the update location.
 /// </param>
 public static IPage <Update> List(this IUpdatesOperations operations, string resourceGroupName, string updateLocation)
 {
     return(operations.ListAsync(resourceGroupName, updateLocation).GetAwaiter().GetResult());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get Updates to resource
 /// </summary>
 /// <remarks>
 /// Get updates to resources.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Resource group name
 /// </param>
 /// <param name='providerName'>
 /// Resource provider name
 /// </param>
 /// <param name='resourceType'>
 /// Resource type
 /// </param>
 /// <param name='resourceName'>
 /// Resource identifier
 /// </param>
 public static IEnumerable <Update> List(this IUpdatesOperations operations, string resourceGroupName, string providerName, string resourceType, string resourceName)
 {
     return(operations.ListAsync(resourceGroupName, providerName, resourceType, resourceName).GetAwaiter().GetResult());
 }