ArmApiManagementModelFactory.AuthorizationProviderContractData Method

Definition

Initializes a new instance of AuthorizationProviderContractData.

public static Azure.ResourceManager.ApiManagement.AuthorizationProviderContractData AuthorizationProviderContractData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string identityProvider = default, Azure.ResourceManager.ApiManagement.Models.AuthorizationProviderOAuth2Settings oauth2 = default);
static member AuthorizationProviderContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.ResourceManager.ApiManagement.Models.AuthorizationProviderOAuth2Settings -> Azure.ResourceManager.ApiManagement.AuthorizationProviderContractData
Public Shared Function AuthorizationProviderContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional identityProvider As String = Nothing, Optional oauth2 As AuthorizationProviderOAuth2Settings = Nothing) As AuthorizationProviderContractData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Authorization Provider name. Must be 1 to 300 characters long.

identityProvider
String

Identity provider name. Must be 1 to 300 characters long.

oauth2
AuthorizationProviderOAuth2Settings

OAuth2 settings.

Returns

A new AuthorizationProviderContractData instance for mocking.

Applies to