다음을 통해 공유


GatewayTokenRequestContract Class

Definition

Gateway token request contract properties.

public class GatewayTokenRequestContract : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.GatewayTokenRequestContract>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.GatewayTokenRequestContract>
type GatewayTokenRequestContract = class
    interface IJsonModel<GatewayTokenRequestContract>
    interface IPersistableModel<GatewayTokenRequestContract>
Public Class GatewayTokenRequestContract
Implements IJsonModel(Of GatewayTokenRequestContract), IPersistableModel(Of GatewayTokenRequestContract)
Inheritance
GatewayTokenRequestContract
Implements

Constructors

GatewayTokenRequestContract(TokenGenerationUsedKeyType, DateTimeOffset)

Initializes a new instance of GatewayTokenRequestContract.

Properties

Expiry

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.

KeyType

The Key to be used to generate gateway token.

Explicit Interface Implementations

IJsonModel<GatewayTokenRequestContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GatewayTokenRequestContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GatewayTokenRequestContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GatewayTokenRequestContract>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GatewayTokenRequestContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to