/// <summary> /// Get a Machines /// </summary> /// <remarks> /// Get a Machines /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// </param> public static Machine Get(this IMachinesOperations operations, string id) { return(operations.GetAsync(id).GetAwaiter().GetResult()); }
/// <summary> /// Retrieves information about the model view or the instance view of a hybrid /// machine. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='name'> /// The name of the hybrid machine. /// </param> /// <param name='expand'> /// The expand expression to apply on the operation. Possible values include: /// 'instanceView' /// </param> public static Machine Get(this IMachinesOperations operations, string resourceGroupName, string name, InstanceViewTypes?expand = default(InstanceViewTypes?)) { return(operations.GetAsync(resourceGroupName, name, expand).GetAwaiter().GetResult()); }