ArmEventGridModelFactory.PartnerNamespaceChannelData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PartnerNamespaceChannelData.
public static Azure.ResourceManager.EventGrid.PartnerNamespaceChannelData PartnerNamespaceChannelData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelType? channelType = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicInfo partnerTopicInfo = default, Azure.ResourceManager.EventGrid.Models.PartnerDestinationInfo partnerDestinationInfo = default, string messageForActivation = default, Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelProvisioningState? provisioningState = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicReadinessState? readinessState = default, DateTimeOffset? expireOnIfNotActivated = default);
static member PartnerNamespaceChannelData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelType> * Azure.ResourceManager.EventGrid.Models.PartnerTopicInfo * Azure.ResourceManager.EventGrid.Models.PartnerDestinationInfo * string * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelProvisioningState> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerTopicReadinessState> * Nullable<DateTimeOffset> -> Azure.ResourceManager.EventGrid.PartnerNamespaceChannelData
Public Shared Function PartnerNamespaceChannelData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional channelType As Nullable(Of PartnerNamespaceChannelType) = Nothing, Optional partnerTopicInfo As PartnerTopicInfo = Nothing, Optional partnerDestinationInfo As PartnerDestinationInfo = Nothing, Optional messageForActivation As String = Nothing, Optional provisioningState As Nullable(Of PartnerNamespaceChannelProvisioningState) = Nothing, Optional readinessState As Nullable(Of PartnerTopicReadinessState) = Nothing, Optional expireOnIfNotActivated As Nullable(Of DateTimeOffset) = Nothing) As PartnerNamespaceChannelData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- channelType
- Nullable<PartnerNamespaceChannelType>
The type of the event channel which represents the direction flow of events.
- partnerTopicInfo
- PartnerTopicInfo
This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- partnerDestinationInfo
- PartnerDestinationInfo
This property should be populated when channelType is PartnerDestination and represents information about the partner destination resource corresponding to the channel. Please note PartnerDestinationInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WebhookPartnerDestinationInfo.
- messageForActivation
- String
Context or helpful message that can be used during the approval process by the subscriber.
- provisioningState
- Nullable<PartnerNamespaceChannelProvisioningState>
Provisioning state of the channel.
- readinessState
- Nullable<PartnerTopicReadinessState>
The readiness state of the corresponding partner topic.
- expireOnIfNotActivated
- Nullable<DateTimeOffset>
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.
Returns
A new PartnerNamespaceChannelData instance for mocking.
Applies to
Azure SDK for .NET