你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmContainerInstanceModelFactory.ContainerGpuResourceInfo Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerGpuResourceInfo ContainerGpuResourceInfo(int count = 0, Azure.ResourceManager.ContainerInstance.Models.ContainerGpuSku sku = default);
static member ContainerGpuResourceInfo : int * Azure.ResourceManager.ContainerInstance.Models.ContainerGpuSku -> Azure.ResourceManager.ContainerInstance.Models.ContainerGpuResourceInfo
Public Shared Function ContainerGpuResourceInfo (Optional count As Integer = 0, Optional sku As ContainerGpuSku = Nothing) As ContainerGpuResourceInfo

Parameters

count
Int32

The count of the GPU resource.

sku
ContainerGpuSku

The SKU of the GPU resource.

Returns

A new ContainerGpuResourceInfo instance for mocking.

Applies to