Partner Constructors

Definition

Overloads

Partner()

Initializes a new instance of the Partner class.

Partner(Nullable<Guid>, String, Nullable<DateTime>)

Initializes a new instance of the Partner class.

Partner()

Initializes a new instance of the Partner class.

public Partner ();
Public Sub New ()

Applies to

Partner(Nullable<Guid>, String, Nullable<DateTime>)

Initializes a new instance of the Partner class.

public Partner (Guid? partnerRegistrationImmutableId = default, string partnerName = default, DateTime? authorizationExpirationTimeInUtc = default);
new Microsoft.Azure.Management.EventGrid.Models.Partner : Nullable<Guid> * string * Nullable<DateTime> -> Microsoft.Azure.Management.EventGrid.Models.Partner
Public Sub New (Optional partnerRegistrationImmutableId As Nullable(Of Guid) = Nothing, Optional partnerName As String = Nothing, Optional authorizationExpirationTimeInUtc As Nullable(Of DateTime) = Nothing)

Parameters

partnerRegistrationImmutableId
Nullable<Guid>

The immutableId of the corresponding partner registration.

partnerName
String

The partner name.

authorizationExpirationTimeInUtc
Nullable<DateTime>

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.

Applies to