ArmEventGridModelFactory.PartnerTopicData 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 PartnerTopicData.
public static Azure.ResourceManager.EventGrid.PartnerTopicData PartnerTopicData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Guid? partnerRegistrationImmutableId = default, string source = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicEventTypeInfo eventTypeInfo = default, DateTimeOffset? expireOnIfNotActivated = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicProvisioningState? provisioningState = default, Azure.ResourceManager.EventGrid.Models.PartnerTopicActivationState? activationState = default, string partnerTopicFriendlyDescription = default, string messageForActivation = default);
static member PartnerTopicData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Guid> * string * Azure.ResourceManager.EventGrid.Models.PartnerTopicEventTypeInfo * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerTopicProvisioningState> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerTopicActivationState> * string * string -> Azure.ResourceManager.EventGrid.PartnerTopicData
Public Shared Function PartnerTopicData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional partnerRegistrationImmutableId As Nullable(Of Guid) = Nothing, Optional source As String = Nothing, Optional eventTypeInfo As PartnerTopicEventTypeInfo = Nothing, Optional expireOnIfNotActivated As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of PartnerTopicProvisioningState) = Nothing, Optional activationState As Nullable(Of PartnerTopicActivationState) = Nothing, Optional partnerTopicFriendlyDescription As String = Nothing, Optional messageForActivation As String = Nothing) As PartnerTopicData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- identity
- ManagedServiceIdentity
Identity information for the Partner Topic resource.
The immutableId of the corresponding partner registration.
- source
- String
Source associated with this partner topic. This represents a unique partner resource.
- eventTypeInfo
- PartnerTopicEventTypeInfo
Event Type information from the corresponding event channel.
- expireOnIfNotActivated
- Nullable<DateTimeOffset>
Expiration time of the partner topic. If this timer expires while the partner topic is still never activated, the partner topic and corresponding event channel are deleted.
- provisioningState
- Nullable<PartnerTopicProvisioningState>
Provisioning state of the partner topic.
- activationState
- Nullable<PartnerTopicActivationState>
Activation state of the partner topic.
- partnerTopicFriendlyDescription
- String
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.
- messageForActivation
- String
Context or helpful message that can be used during the approval process by the subscriber.
Returns
A new PartnerTopicData instance for mocking.
Applies to
Azure SDK for .NET