Share via


NetworkCloudExtensions.GetNetworkCloudBareMetalMachines Method

Definition

Overloads

GetNetworkCloudBareMetalMachines(ResourceGroupResource)

Gets a collection of NetworkCloudBareMetalMachineResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudBareMetalMachines() instead.

GetNetworkCloudBareMetalMachines(SubscriptionResource, CancellationToken)

Get a list of bare metal machines in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/bareMetalMachines
  • Operation Id: BareMetalMachines_ListBySubscription

GetNetworkCloudBareMetalMachines(ResourceGroupResource)

Source:
NetworkCloudExtensions.cs

Gets a collection of NetworkCloudBareMetalMachineResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudBareMetalMachines() instead.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineCollection GetNetworkCloudBareMetalMachines (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkCloudBareMetalMachines : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineCollection
<Extension()>
Public Function GetNetworkCloudBareMetalMachines (resourceGroupResource As ResourceGroupResource) As NetworkCloudBareMetalMachineCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkCloudBareMetalMachineResources and their operations over a NetworkCloudBareMetalMachineResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkCloudBareMetalMachines(SubscriptionResource, CancellationToken)

Source:
NetworkCloudExtensions.cs

Get a list of bare metal machines in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/bareMetalMachines
  • Operation Id: BareMetalMachines_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineResource> GetNetworkCloudBareMetalMachines (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudBareMetalMachines : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineResource>
<Extension()>
Public Function GetNetworkCloudBareMetalMachines (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudBareMetalMachineResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkCloudBareMetalMachineResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to