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

ArmContainerInstanceModelFactory.StandbyPoolProfileDefinition Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.StandbyPoolProfileDefinition StandbyPoolProfileDefinition(Azure.Core.ResourceIdentifier id = default, bool? failContainerGroupCreateOnReuseFailure = default);
static member StandbyPoolProfileDefinition : Azure.Core.ResourceIdentifier * Nullable<bool> -> Azure.ResourceManager.ContainerInstance.Models.StandbyPoolProfileDefinition
Public Shared Function StandbyPoolProfileDefinition (Optional id As ResourceIdentifier = Nothing, Optional failContainerGroupCreateOnReuseFailure As Nullable(Of Boolean) = Nothing) As StandbyPoolProfileDefinition

Parameters

id
ResourceIdentifier

The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'.

failContainerGroupCreateOnReuseFailure
Nullable<Boolean>

The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.

Returns

A new StandbyPoolProfileDefinition instance for mocking.

Applies to