GatewayTokenRequestContract Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET