ArmApiManagementModelFactory.PortalSettingsContractData Method

Definition

Initializes a new instance of PortalSettingsContractData.

public static Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData PortalSettingsContractData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Uri uri = default, string validationKey = default, bool? isSubscriptionDelegationEnabled = default, bool? isUserRegistrationDelegationEnabled = default, bool? isRedirectEnabled = default, Azure.ResourceManager.ApiManagement.Models.TermsOfServiceProperties termsOfService = default);
static member PortalSettingsContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Uri * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.ApiManagement.Models.TermsOfServiceProperties -> Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData
Public Shared Function PortalSettingsContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional uri As Uri = Nothing, Optional validationKey As String = Nothing, Optional isSubscriptionDelegationEnabled As Nullable(Of Boolean) = Nothing, Optional isUserRegistrationDelegationEnabled As Nullable(Of Boolean) = Nothing, Optional isRedirectEnabled As Nullable(Of Boolean) = Nothing, Optional termsOfService As TermsOfServiceProperties = Nothing) As PortalSettingsContractData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

uri
Uri

A delegation Url.

validationKey
String

A base64-encoded validation key to validate, that a request is coming from Azure API Management.

isSubscriptionDelegationEnabled
Nullable<Boolean>

Subscriptions delegation settings.

isUserRegistrationDelegationEnabled
Nullable<Boolean>

User registration delegation settings.

isRedirectEnabled
Nullable<Boolean>

Redirect Anonymous users to the Sign-In page.

termsOfService
TermsOfServiceProperties

Terms of service contract properties.

Returns

A new PortalSettingsContractData instance for mocking.

Applies to