NetworkCloudVirtualMachineConsoleData Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NetworkCloudVirtualMachineConsoleData.
public NetworkCloudVirtualMachineConsoleData (Azure.Core.AzureLocation location, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation, Azure.ResourceManager.NetworkCloud.Models.ConsoleEnabled enabled, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudSshPublicKey sshPublicKey);
new Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineConsoleData : Azure.Core.AzureLocation * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * Azure.ResourceManager.NetworkCloud.Models.ConsoleEnabled * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudSshPublicKey -> Azure.ResourceManager.NetworkCloud.NetworkCloudVirtualMachineConsoleData
Public Sub New (location As AzureLocation, extendedLocation As ExtendedLocation, enabled As ConsoleEnabled, sshPublicKey As NetworkCloudSshPublicKey)
Parameters
- location
- AzureLocation
The location.
- extendedLocation
- ExtendedLocation
The extended location of the cluster manager associated with the cluster this virtual machine is created on.
- enabled
- ConsoleEnabled
The indicator of whether the console access is enabled.
- sshPublicKey
- NetworkCloudSshPublicKey
The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in.
Exceptions
extendedLocation
or sshPublicKey
is null.
Applies to
Azure SDK for .NET