Udostępnij za pośrednictwem


ArmApiManagementModelFactory.AssociationContract Method

Definition

Initializes a new instance of AssociationContract.

public static Azure.ResourceManager.ApiManagement.Models.AssociationContract AssociationContract (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ApiManagement.Models.AssociationEntityProvisioningState? provisioningState = default);
static member AssociationContract : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ApiManagement.Models.AssociationEntityProvisioningState> -> Azure.ResourceManager.ApiManagement.Models.AssociationContract
Public Shared Function AssociationContract (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of AssociationEntityProvisioningState) = Nothing) As AssociationContract

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<AssociationEntityProvisioningState>

Provisioning state.

Returns

A new AssociationContract instance for mocking.

Applies to