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

ArmAppPlatformModelFactory.AppPlatformApiPortalProperties 方法

定义

初始化 AppPlatformApiPortalProperties 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalProperties AppPlatformApiPortalProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalProvisioningState? provisioningState = default, bool? isPublic = default, Uri uri = default, bool? isHttpsOnly = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> gatewayIds = default, System.Collections.Generic.IEnumerable<Uri> sourceUris = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformSsoProperties ssoProperties = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalResourceRequirements resourceRequests = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalInstance> instances = default);
static member AppPlatformApiPortalProperties : Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalProvisioningState> * Nullable<bool> * Uri * Nullable<bool> * seq<Azure.Core.ResourceIdentifier> * seq<Uri> * Azure.ResourceManager.AppPlatform.Models.AppPlatformSsoProperties * Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalResourceRequirements * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalInstance> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformApiPortalProperties
Public Shared Function AppPlatformApiPortalProperties (Optional provisioningState As Nullable(Of AppPlatformApiPortalProvisioningState) = Nothing, Optional isPublic As Nullable(Of Boolean) = Nothing, Optional uri As Uri = Nothing, Optional isHttpsOnly As Nullable(Of Boolean) = Nothing, Optional gatewayIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional sourceUris As IEnumerable(Of Uri) = Nothing, Optional ssoProperties As AppPlatformSsoProperties = Nothing, Optional resourceRequests As AppPlatformApiPortalResourceRequirements = Nothing, Optional instances As IEnumerable(Of AppPlatformApiPortalInstance) = Nothing) As AppPlatformApiPortalProperties

参数

provisioningState
Nullable<AppPlatformApiPortalProvisioningState>

API 门户的状态。

isPublic
Nullable<Boolean>

指示 API 门户是否公开终结点。

uri
Uri

API 门户的 URL,在“public”为 true 时公开。

isHttpsOnly
Nullable<Boolean>

指示是否只允许 https。

gatewayIds
IEnumerable<ResourceIdentifier>

要与 API 门户集成的网关的资源 ID 数组。

sourceUris
IEnumerable<Uri>

OpenAPI 源 URL 位置的集合。

ssoProperties
AppPlatformSsoProperties

与单一登录相关的配置。

resourceRequests
AppPlatformApiPortalResourceRequirements

所需 CPU 和内存的请求资源数量。

instances
IEnumerable<AppPlatformApiPortalInstance>

实例集合属于 API 门户。

返回

用于模拟的新 AppPlatformApiPortalProperties 实例。

适用于