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

ArmAppPlatformModelFactory.AppPlatformGatewayProperties 方法

定义

初始化 AppPlatformGatewayProperties 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayProperties AppPlatformGatewayProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayProvisioningState? provisioningState = default, bool? isPublic = default, Uri uri = default, bool? isHttpsOnly = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformSsoProperties ssoProperties = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayApiMetadataProperties apiMetadataProperties = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayCorsProperties corsProperties = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayResourceRequirements resourceRequests = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayInstance> instances = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayOperatorProperties operatorProperties = default);
static member AppPlatformGatewayProperties : Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayProvisioningState> * Nullable<bool> * Uri * Nullable<bool> * Azure.ResourceManager.AppPlatform.Models.AppPlatformSsoProperties * Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayApiMetadataProperties * Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayCorsProperties * Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayResourceRequirements * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayInstance> * Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayOperatorProperties -> Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayProperties
Public Shared Function AppPlatformGatewayProperties (Optional provisioningState As Nullable(Of AppPlatformGatewayProvisioningState) = Nothing, Optional isPublic As Nullable(Of Boolean) = Nothing, Optional uri As Uri = Nothing, Optional isHttpsOnly As Nullable(Of Boolean) = Nothing, Optional ssoProperties As AppPlatformSsoProperties = Nothing, Optional apiMetadataProperties As AppPlatformGatewayApiMetadataProperties = Nothing, Optional corsProperties As AppPlatformGatewayCorsProperties = Nothing, Optional resourceRequests As AppPlatformGatewayResourceRequirements = Nothing, Optional instances As IEnumerable(Of AppPlatformGatewayInstance) = Nothing, Optional operatorProperties As AppPlatformGatewayOperatorProperties = Nothing) As AppPlatformGatewayProperties

参数

provisioningState
Nullable<AppPlatformGatewayProvisioningState>

Spring Cloud 网关的状态。

isPublic
Nullable<Boolean>

指示 Spring Cloud 网关是否公开终结点。

uri
Uri

Spring Cloud Gateway 的 URL,在“public”为 true 时公开。

isHttpsOnly
Nullable<Boolean>

指示是否仅允许 https。

ssoProperties
AppPlatformSsoProperties

单一登录相关配置。

apiMetadataProperties
AppPlatformGatewayApiMetadataProperties

Spring Cloud Gateway 的 API 元数据属性。

corsProperties
AppPlatformGatewayCorsProperties

跨源资源共享属性。

resourceRequests
AppPlatformGatewayResourceRequirements

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

instances
IEnumerable<AppPlatformGatewayInstance>

实例集合属于 Spring Cloud Gateway。

operatorProperties
AppPlatformGatewayOperatorProperties

Spring Cloud Gateway 操作员的属性。

返回

用于模拟的新 AppPlatformGatewayProperties 实例。

适用于