共用方式為


ArmAppPlatformModelFactory.AppPlatformApiPortalProperties Method

Definition

Initializes a new instance of 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

Parameters

provisioningState
Nullable<AppPlatformApiPortalProvisioningState>

State of the API portal.

isPublic
Nullable<Boolean>

Indicates whether the API portal exposes endpoint.

uri
Uri

URL of the API portal, exposed when 'public' is true.

isHttpsOnly
Nullable<Boolean>

Indicate if only https is allowed.

gatewayIds
IEnumerable<ResourceIdentifier>

The array of resource Ids of gateway to integrate with API portal.

sourceUris
IEnumerable<Uri>

Collection of OpenAPI source URL locations.

ssoProperties
AppPlatformSsoProperties

Single sign-on related configuration.

resourceRequests
AppPlatformApiPortalResourceRequirements

The requested resource quantity for required CPU and Memory.

instances
IEnumerable<AppPlatformApiPortalInstance>

Collection of instances belong to API portal.

Returns

A new AppPlatformApiPortalProperties instance for mocking.

Applies to