/// <summary> /// Initializes a new instance of the EventChannel class. /// </summary> /// <param name="id">Fully qualified identifier of the /// resource.</param> /// <param name="name">Name of the resource</param> /// <param name="type">Type of the resource</param> /// <param name="source">Source of the event channel. This represents a /// unique resource in the partner's resource model.</param> /// <param name="destination">Represents the destination of an event /// channel.</param> /// <param name="provisioningState">Provisioning state of the event /// channel. Possible values include: 'Creating', 'Updating', /// 'Deleting', 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="filter">Information about the filter for the event /// channel.</param> public EventChannel(string id = default(string), string name = default(string), string type = default(string), EventChannelSource source = default(EventChannelSource), EventChannelDestination destination = default(EventChannelDestination), string provisioningState = default(string), EventChannelFilter filter = default(EventChannelFilter)) : base(id, name, type) { Source = source; Destination = destination; ProvisioningState = provisioningState; Filter = filter; CustomInit(); }
/// <summary> /// Initializes a new instance of the EventChannel class. /// </summary> /// <param name="id">Fully qualified identifier of the /// resource.</param> /// <param name="name">Name of the resource</param> /// <param name="type">Type of the resource</param> /// <param name="source">Source of the event channel. This represents a /// unique resource in the partner's resource model.</param> /// <param name="destination">Represents the destination of an event /// channel.</param> /// <param name="provisioningState">Provisioning state of the event /// channel. Possible values include: 'Creating', 'Updating', /// 'Deleting', 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="partnerTopicReadinessState">The readiness state of the /// corresponding partner topic. Possible values include: /// 'NotActivatedByUserYet', 'ActivatedByUser', 'DeactivatedByUser', /// 'DeletedByUser'</param> /// <param name="expirationTimeIfNotActivatedUtc">Expiration time of /// the event channel. If this timer expires while the corresponding /// partner topic is never activated, /// the event channel and corresponding partner topic are /// deleted.</param> /// <param name="filter">Information about the filter for the event /// channel.</param> /// <param name="partnerTopicFriendlyDescription">Friendly description /// about the topic. This can be set by the publisher/partner to show /// custom description for the customer partner topic. /// This will be helpful to remove any ambiguity of the origin of /// creation of the partner topic for the customer.</param> public EventChannel(string id = default(string), string name = default(string), string type = default(string), EventChannelSource source = default(EventChannelSource), EventChannelDestination destination = default(EventChannelDestination), string provisioningState = default(string), string partnerTopicReadinessState = default(string), System.DateTime?expirationTimeIfNotActivatedUtc = default(System.DateTime?), EventChannelFilter filter = default(EventChannelFilter), string partnerTopicFriendlyDescription = default(string)) : base(id, name, type) { Source = source; Destination = destination; ProvisioningState = provisioningState; PartnerTopicReadinessState = partnerTopicReadinessState; ExpirationTimeIfNotActivatedUtc = expirationTimeIfNotActivatedUtc; Filter = filter; PartnerTopicFriendlyDescription = partnerTopicFriendlyDescription; CustomInit(); }