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

ArmAppServiceModelFactory.AppServiceDeploymentLocations 方法

定义

初始化 AppServiceDeploymentLocations 的新实例。

public static Azure.ResourceManager.AppService.Models.AppServiceDeploymentLocations AppServiceDeploymentLocations (System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceGeoRegion> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceEnvironmentProperties> hostingEnvironments = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDeploymentInfo> hostingEnvironmentDeploymentInfos = default);
static member AppServiceDeploymentLocations : seq<Azure.ResourceManager.AppService.Models.AppServiceGeoRegion> * seq<Azure.ResourceManager.AppService.Models.AppServiceEnvironmentProperties> * seq<Azure.ResourceManager.AppService.Models.HostingEnvironmentDeploymentInfo> -> Azure.ResourceManager.AppService.Models.AppServiceDeploymentLocations
Public Shared Function AppServiceDeploymentLocations (Optional locations As IEnumerable(Of AppServiceGeoRegion) = Nothing, Optional hostingEnvironments As IEnumerable(Of AppServiceEnvironmentProperties) = Nothing, Optional hostingEnvironmentDeploymentInfos As IEnumerable(Of HostingEnvironmentDeploymentInfo) = Nothing) As AppServiceDeploymentLocations

参数

locations
IEnumerable<AppServiceGeoRegion>

可用区域。

hostingEnvironments
IEnumerable<AppServiceEnvironmentProperties>

可用App 服务环境,其中包含环境的完整说明。

hostingEnvironmentDeploymentInfos
IEnumerable<HostingEnvironmentDeploymentInfo>

App 服务环境提供基本信息。

返回

用于模拟的新 AppServiceDeploymentLocations 实例。

适用于