Dela via


GatewayTokenRequestContract Constructors

Definition

Overloads

GatewayTokenRequestContract()

Initializes a new instance of the GatewayTokenRequestContract class.

GatewayTokenRequestContract(KeyType, DateTime)

Initializes a new instance of the GatewayTokenRequestContract class.

GatewayTokenRequestContract()

Initializes a new instance of the GatewayTokenRequestContract class.

public GatewayTokenRequestContract ();
Public Sub New ()

Applies to

GatewayTokenRequestContract(KeyType, DateTime)

Initializes a new instance of the GatewayTokenRequestContract class.

public GatewayTokenRequestContract (Microsoft.Azure.Management.ApiManagement.Models.KeyType keyType, DateTime expiry);
new Microsoft.Azure.Management.ApiManagement.Models.GatewayTokenRequestContract : Microsoft.Azure.Management.ApiManagement.Models.KeyType * DateTime -> Microsoft.Azure.Management.ApiManagement.Models.GatewayTokenRequestContract
Public Sub New (keyType As KeyType, expiry As DateTime)

Parameters

keyType
KeyType

The Key to be used to generate gateway token. Possible values include: 'primary', 'secondary'

expiry
DateTime

The Expiry time of the Token. Maximum token expiry time is set to 30 days. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

Applies to