NetworkCloudVirtualMachineConsoleCollection Class

Definition

A class representing a collection of NetworkCloudVirtualMachineConsoleResource and their operations. Each NetworkCloudVirtualMachineConsoleResource in the collection will belong to the same instance of NetworkCloudVirtualMachineResource. To get a NetworkCloudVirtualMachineConsoleCollection instance call the GetNetworkCloudVirtualMachineConsoles method from an instance of NetworkCloudVirtualMachineResource.

public class NetworkCloudVirtualMachineConsoleCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineConsoleResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineConsoleResource>
type NetworkCloudVirtualMachineConsoleCollection = class
    inherit ArmCollection
    interface seq<NetworkCloudVirtualMachineConsoleResource>
    interface IEnumerable
    interface IAsyncEnumerable<NetworkCloudVirtualMachineConsoleResource>
Public Class NetworkCloudVirtualMachineConsoleCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of NetworkCloudVirtualMachineConsoleResource), IEnumerable(Of NetworkCloudVirtualMachineConsoleResource)
Inheritance
NetworkCloudVirtualMachineConsoleCollection
Implements

Constructors

NetworkCloudVirtualMachineConsoleCollection()

Initializes a new instance of the NetworkCloudVirtualMachineConsoleCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, NetworkCloudVirtualMachineConsoleData, CancellationToken)

Create a new virtual machine console or update the properties of the existing virtual machine console.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
CreateOrUpdateAsync(WaitUntil, String, NetworkCloudVirtualMachineConsoleData, CancellationToken)

Create a new virtual machine console or update the properties of the existing virtual machine console.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
Get(String, CancellationToken)

Get properties of the provided virtual machine console.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
GetAll(CancellationToken)

Get a list of consoles for the provided virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles
  • Operation Id: Consoles_ListByVirtualMachine
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
GetAllAsync(CancellationToken)

Get a list of consoles for the provided virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles
  • Operation Id: Consoles_ListByVirtualMachine
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
GetAsync(String, CancellationToken)

Get properties of the provided virtual machine console.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}
  • Operation Id: Consoles_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: NetworkCloudVirtualMachineConsoleResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<NetworkCloudVirtualMachineConsoleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkCloudVirtualMachineConsoleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to