Delen via


GatewayTokenRequestContract Constructor

Definition

Initializes a new instance of GatewayTokenRequestContract.

public GatewayTokenRequestContract (Azure.ResourceManager.ApiManagement.Models.TokenGenerationUsedKeyType keyType, DateTimeOffset expiry);
new Azure.ResourceManager.ApiManagement.Models.GatewayTokenRequestContract : Azure.ResourceManager.ApiManagement.Models.TokenGenerationUsedKeyType * DateTimeOffset -> Azure.ResourceManager.ApiManagement.Models.GatewayTokenRequestContract
Public Sub New (keyType As TokenGenerationUsedKeyType, expiry As DateTimeOffset)

Parameters

keyType
TokenGenerationUsedKeyType

The Key to be used to generate gateway token.

expiry
DateTimeOffset

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