Udostępnij za pośrednictwem


ArmContainerInstanceModelFactory.ContainerCapabilities Method

Definition

Initializes a new instance of ContainerCapabilities.

public static Azure.ResourceManager.ContainerInstance.Models.ContainerCapabilities ContainerCapabilities (string resourceType = default, string osType = default, Azure.Core.AzureLocation? location = default, string ipAddressType = default, string gpu = default, Azure.ResourceManager.ContainerInstance.Models.ContainerSupportedCapabilities capabilities = default);
static member ContainerCapabilities : string * string * Nullable<Azure.Core.AzureLocation> * string * string * Azure.ResourceManager.ContainerInstance.Models.ContainerSupportedCapabilities -> Azure.ResourceManager.ContainerInstance.Models.ContainerCapabilities
Public Shared Function ContainerCapabilities (Optional resourceType As String = Nothing, Optional osType As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional ipAddressType As String = Nothing, Optional gpu As String = Nothing, Optional capabilities As ContainerSupportedCapabilities = Nothing) As ContainerCapabilities

Parameters

resourceType
String

The resource type that this capability describes.

osType
String

The OS type that this capability describes.

location
Nullable<AzureLocation>

The resource location.

ipAddressType
String

The ip address type that this capability describes.

gpu
String

The GPU sku that this capability describes.

capabilities
ContainerSupportedCapabilities

The supported capabilities.

Returns

A new ContainerCapabilities instance for mocking.

Applies to