Condividi tramite


PartnerAuthorization Class

Definition

The partner authorization details.

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

Constructors

PartnerAuthorization()

Initializes a new instance of PartnerAuthorization.

Properties

AuthorizedPartnersList

The list of authorized partners.

DefaultMaximumExpirationTimeInDays

Time used to validate the authorization expiration time for each authorized partner. If DefaultMaximumExpirationTimeInDays is not specified, the default is 7 days. Otherwise, allowed values are between 1 and 365 days.

Explicit Interface Implementations

IJsonModel<PartnerAuthorization>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PartnerAuthorization>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PartnerAuthorization>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PartnerAuthorization>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PartnerAuthorization>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to