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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET