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

ProvisioningPlanExtensions.DeployToNewResourceGroupAsync Method

Definition

public static System.Threading.Tasks.Task<Azure.Provisioning.ProvisioningDeployment> DeployToNewResourceGroupAsync (this Azure.Provisioning.ProvisioningPlan plan, string resourceGroupName, Azure.Core.AzureLocation location, Azure.Provisioning.ProvisioningDeploymentOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
static member DeployToNewResourceGroupAsync : Azure.Provisioning.ProvisioningPlan * string * Azure.Core.AzureLocation * Azure.Provisioning.ProvisioningDeploymentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Provisioning.ProvisioningDeployment>
<Extension()>
Public Function DeployToNewResourceGroupAsync (plan As ProvisioningPlan, resourceGroupName As String, location As AzureLocation, Optional options As ProvisioningDeploymentOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProvisioningDeployment)

Parameters

resourceGroupName
String
location
AzureLocation
cancellationToken
CancellationToken

Returns

Applies to