Share via


Channel Constructors

Definition

Overloads

Channel()

Initializes a new instance of the Channel class.

Channel(String, String, String, String, PartnerTopicInfo, String, String, String, Nullable<DateTime>, SystemData)

Initializes a new instance of the Channel class.

Channel()

Initializes a new instance of the Channel class.

public Channel ();
Public Sub New ()

Applies to

Channel(String, String, String, String, PartnerTopicInfo, String, String, String, Nullable<DateTime>, SystemData)

Initializes a new instance of the Channel class.

public Channel (string id = default, string name = default, string type = default, string channelType = default, Microsoft.Azure.Management.EventGrid.Models.PartnerTopicInfo partnerTopicInfo = default, string messageForActivation = default, string provisioningState = default, string readinessState = default, DateTime? expirationTimeIfNotActivatedUtc = default, Microsoft.Azure.Management.EventGrid.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventGrid.Models.Channel : string * string * string * string * Microsoft.Azure.Management.EventGrid.Models.PartnerTopicInfo * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.EventGrid.Models.SystemData -> Microsoft.Azure.Management.EventGrid.Models.Channel
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional channelType As String = Nothing, Optional partnerTopicInfo As PartnerTopicInfo = Nothing, Optional messageForActivation As String = Nothing, Optional provisioningState As String = Nothing, Optional readinessState As String = Nothing, Optional expirationTimeIfNotActivatedUtc As Nullable(Of DateTime) = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

Fully qualified identifier of the resource.

name
String

Name of the resource.

type
String

Type of the resource.

channelType
String

The type of the event channel which represents the direction flow of events. Possible values include: 'PartnerTopic'

partnerTopicInfo
PartnerTopicInfo

This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.

messageForActivation
String

Context or helpful message that can be used during the approval process by the subscriber.

provisioningState
String

Provisioning state of the channel. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed', 'IdleDueToMirroredPartnerTopicDeletion'

readinessState
String

The readiness state of the corresponding partner topic. Possible values include: 'NeverActivated', 'Activated'

expirationTimeIfNotActivatedUtc
Nullable<DateTime>

Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.

systemData
SystemData

The system metadata relating to Channel resource.

Applies to