GatewayTokenRequestContract Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET