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

ArmContainerInstanceModelFactory.ContainerGroupSubnetId Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSubnetId ContainerGroupSubnetId(Azure.Core.ResourceIdentifier id = default, string name = default);
static member ContainerGroupSubnetId : Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSubnetId
Public Shared Function ContainerGroupSubnetId (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing) As ContainerGroupSubnetId

Parameters

id
ResourceIdentifier

Resource ID of virtual network and subnet.

name
String

Friendly name for the subnet.

Returns

A new ContainerGroupSubnetId instance for mocking.

Applies to