共用方式為


EventGridPartnerContent Class

Definition

Information about the partner.

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

Constructors

EventGridPartnerContent()

Initializes a new instance of EventGridPartnerContent.

Properties

AuthorizationExpireOn

Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration. If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.

PartnerName

The partner name.

PartnerRegistrationImmutableId

The immutableId of the corresponding partner registration.

Explicit Interface Implementations

IJsonModel<EventGridPartnerContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventGridPartnerContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventGridPartnerContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventGridPartnerContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventGridPartnerContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to