Beispiel #1
0
 /// <summary>
 /// Get a report for the VMSS guest configuration assignment, by reportId.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='vmssName'>
 /// The name of the virtual machine scale set.
 /// </param>
 /// <param name='name'>
 /// The guest configuration assignment name.
 /// </param>
 /// <param name='id'>
 /// The GUID for the guest configuration assignment report.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <GuestConfigurationAssignmentReport> GetAsync(this IGuestConfigurationAssignmentReportsVMSSOperations operations, string resourceGroupName, string vmssName, string name, string id, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, vmssName, name, id, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Get a report for the VMSS guest configuration assignment, by reportId.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='vmssName'>
 /// The name of the virtual machine scale set.
 /// </param>
 /// <param name='name'>
 /// The guest configuration assignment name.
 /// </param>
 /// <param name='id'>
 /// The GUID for the guest configuration assignment report.
 /// </param>
 public static GuestConfigurationAssignmentReport Get(this IGuestConfigurationAssignmentReportsVMSSOperations operations, string resourceGroupName, string vmssName, string name, string id)
 {
     return(operations.GetAsync(resourceGroupName, vmssName, name, id).GetAwaiter().GetResult());
 }
Beispiel #3
0
 /// <summary>
 /// List all reports for the VMSS guest configuration assignment, latest report
 /// first.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='vmssName'>
 /// The name of the virtual machine scale set.
 /// </param>
 /// <param name='name'>
 /// The guest configuration assignment name.
 /// </param>
 public static IEnumerable <GuestConfigurationAssignmentReport> List(this IGuestConfigurationAssignmentReportsVMSSOperations operations, string resourceGroupName, string vmssName, string name)
 {
     return(operations.ListAsync(resourceGroupName, vmssName, name).GetAwaiter().GetResult());
 }