Share via


Partner Class

Definition

Information about the partner.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.PartnerTypeConverter))]
public class Partner : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IPartner
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.PartnerTypeConverter))>]
type Partner = class
    interface IPartner
    interface IJsonSerializable
Public Class Partner
Implements IPartner
Inheritance
Partner
Attributes
Implements

Constructors

Partner()

Creates an new Partner instance.

Properties

AuthorizationExpirationTimeInUtc

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.

Name

The partner name.

RegistrationImmutableId

The immutableId of the corresponding partner registration.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Partner.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Partner.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IPartner.

FromJsonString(String)

Creates a new instance of Partner, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Partner into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to