ArmApiManagementModelFactory.PortalConfigContractData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PortalConfigContractData.
public static Azure.ResourceManager.ApiManagement.PortalConfigContractData PortalConfigContractData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? enableBasicAuth = default, bool? require = default, Azure.ResourceManager.ApiManagement.Models.PortalConfigTermsOfServiceProperties signupTermsOfService = default, Azure.ResourceManager.ApiManagement.Models.PortalConfigDelegationProperties delegation = default, System.Collections.Generic.IEnumerable<string> corsAllowedOrigins = default, Azure.ResourceManager.ApiManagement.Models.PortalConfigCspProperties csp = default);
static member PortalConfigContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.ApiManagement.Models.PortalConfigTermsOfServiceProperties * Azure.ResourceManager.ApiManagement.Models.PortalConfigDelegationProperties * seq<string> * Azure.ResourceManager.ApiManagement.Models.PortalConfigCspProperties -> Azure.ResourceManager.ApiManagement.PortalConfigContractData
Public Shared Function PortalConfigContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional enableBasicAuth As Nullable(Of Boolean) = Nothing, Optional require As Nullable(Of Boolean) = Nothing, Optional signupTermsOfService As PortalConfigTermsOfServiceProperties = Nothing, Optional delegation As PortalConfigDelegationProperties = Nothing, Optional corsAllowedOrigins As IEnumerable(Of String) = Nothing, Optional csp As PortalConfigCspProperties = Nothing) As PortalConfigContractData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- signupTermsOfService
- PortalConfigTermsOfServiceProperties
- delegation
- PortalConfigDelegationProperties
The developer portal delegation settings.
- corsAllowedOrigins
- IEnumerable<String>
The developer portal Cross-Origin Resource Sharing (CORS) settings.
The developer portal Content Security Policy (CSP) settings.
Returns
A new PortalConfigContractData instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET