次の方法で共有


DedicatedHostData(AzureLocation, ComputeSku) Constructor

Definition

Initializes a new instance of DedicatedHostData.

public DedicatedHostData (Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.Models.ComputeSku sku);
new Azure.ResourceManager.Compute.DedicatedHostData : Azure.Core.AzureLocation * Azure.ResourceManager.Compute.Models.ComputeSku -> Azure.ResourceManager.Compute.DedicatedHostData
Public Sub New (location As AzureLocation, sku As ComputeSku)

Parameters

location
AzureLocation

The location.

sku
ComputeSku

SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.

Exceptions

sku is null.

Applies to