ArmContainerInstanceModelFactory.ContainerCapabilities Method
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET