ArmEventGridModelFactory.NamespaceTopicData 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 NamespaceTopicData.
public static Azure.ResourceManager.EventGrid.NamespaceTopicData NamespaceTopicData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.EventGrid.Models.NamespaceTopicProvisioningState? provisioningState = default, Azure.ResourceManager.EventGrid.Models.PublisherType? publisherType = default, Azure.ResourceManager.EventGrid.Models.EventInputSchema? inputSchema = default, int? eventRetentionInDays = default);
static member NamespaceTopicData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.EventGrid.Models.NamespaceTopicProvisioningState> * Nullable<Azure.ResourceManager.EventGrid.Models.PublisherType> * Nullable<Azure.ResourceManager.EventGrid.Models.EventInputSchema> * Nullable<int> -> Azure.ResourceManager.EventGrid.NamespaceTopicData
Public Shared Function NamespaceTopicData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of NamespaceTopicProvisioningState) = Nothing, Optional publisherType As Nullable(Of PublisherType) = Nothing, Optional inputSchema As Nullable(Of EventInputSchema) = Nothing, Optional eventRetentionInDays As Nullable(Of Integer) = Nothing) As NamespaceTopicData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- provisioningState
- Nullable<NamespaceTopicProvisioningState>
Provisioning state of the namespace topic.
- publisherType
- Nullable<PublisherType>
Publisher type of the namespace topic.
- inputSchema
- Nullable<EventInputSchema>
This determines the format that is expected for incoming events published to the topic.
Event retention for the namespace topic expressed in days. The property default value is 1 day. Min event retention duration value is 1 day and max event retention duration value is 1 day.
Returns
A new NamespaceTopicData instance for mocking.
Applies to
Azure SDK for .NET