/// <summary> /// Initializes a new instance of the TopicUpdateParameters class. /// </summary> /// <param name="tags">Tags of the resource.</param> /// <param name="identity">Resource identity information.</param> /// <param name="publicNetworkAccess">This determines if traffic is /// allowed over public network. By default it is enabled. /// You can further restrict to specific IPs by configuring <seealso /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" /// />. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="inboundIpRules">This can be used to restrict traffic /// from specific IPs instead of all IPs. Note: These are considered /// only if PublicNetworkAccess is enabled.</param> /// <param name="sku">The Sku pricing tier for the topic.</param> public TopicUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), IdentityInfo identity = default(IdentityInfo), string publicNetworkAccess = default(string), IList <InboundIpRule> inboundIpRules = default(IList <InboundIpRule>), ResourceSku sku = default(ResourceSku)) { Tags = tags; Identity = identity; PublicNetworkAccess = publicNetworkAccess; InboundIpRules = inboundIpRules; Sku = sku; CustomInit(); }
/// <summary> /// Initializes a new instance of the TopicUpdateParameters class. /// </summary> /// <param name="tags">Tags of the resource.</param> /// <param name="identity">Topic resource identity information.</param> /// <param name="publicNetworkAccess">This determines if traffic is /// allowed over public network. By default it is enabled. /// You can further restrict to specific IPs by configuring <seealso /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" /// />. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="inboundIpRules">This can be used to restrict traffic /// from specific IPs instead of all IPs. Note: These are considered /// only if PublicNetworkAccess is enabled.</param> /// <param name="disableLocalAuth">This boolean is used to enable or /// disable local auth. Default value is false. When the property is /// set to true, only AAD token will be used to authenticate if user is /// allowed to publish to the topic.</param> public TopicUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), IdentityInfo identity = default(IdentityInfo), string publicNetworkAccess = default(string), IList <InboundIpRule> inboundIpRules = default(IList <InboundIpRule>), bool?disableLocalAuth = default(bool?)) { Tags = tags; Identity = identity; PublicNetworkAccess = publicNetworkAccess; InboundIpRules = inboundIpRules; DisableLocalAuth = disableLocalAuth; CustomInit(); }
/// <summary> /// Initializes a new instance of the SystemTopic class. /// </summary> /// <param name="location">Location of the resource.</param> /// <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="tags">Tags of the resource.</param> /// <param name="provisioningState">Provisioning state of the system /// topic. Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="source">Source for the system topic.</param> /// <param name="topicType">TopicType for the system topic.</param> /// <param name="metricResourceId">Metric resource id for the system /// topic.</param> /// <param name="identity">Identity information for the /// resource.</param> /// <param name="systemData">The system metadata relating to this /// resource.</param> public SystemTopic(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), string source = default(string), string topicType = default(string), string metricResourceId = default(string), IdentityInfo identity = default(IdentityInfo), SystemData systemData = default(SystemData)) : base(location, id, name, type, tags) { ProvisioningState = provisioningState; Source = source; TopicType = topicType; MetricResourceId = metricResourceId; Identity = identity; SystemData = systemData; CustomInit(); }
/// <summary> /// Initializes a new instance of the DomainUpdateParameters class. /// </summary> /// <param name="tags">Tags of the domains resource.</param> /// <param name="publicNetworkAccess">This determines if traffic is /// allowed over public network. By default it is enabled. /// You can further restrict to specific IPs by configuring <seealso /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainUpdateParameterProperties.InboundIpRules" /// />. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="inboundIpRules">This can be used to restrict traffic /// from specific IPs instead of all IPs. Note: These are considered /// only if PublicNetworkAccess is enabled.</param> /// <param name="disableLocalAuth">This boolean is used to enable or /// disable local auth. Default value is false. When the property is /// set to true, only AAD token will be used to authenticate if user is /// allowed to publish to the domain.</param> /// <param name="autoCreateTopicWithFirstSubscription">This Boolean is /// used to specify the creation mechanism for 'all' the Event Grid /// Domain Topics associated with this Event Grid Domain resource. /// In this context, creation of domain topic can be auto-managed (when /// true) or self-managed (when false). The default value for this /// property is true. /// When this property is null or set to true, Event Grid is /// responsible of automatically creating the domain topic when the /// first event subscription is /// created at the scope of the domain topic. If this property is set /// to false, then creating the first event subscription will require /// creating a domain topic /// by the user. The self-management mode can be used if the user wants /// full control of when the domain topic is created, while /// auto-managed mode provides the /// flexibility to perform less operations and manage fewer resources /// by the user. Also, note that in auto-managed creation mode, user is /// allowed to create the /// domain topic on demand if needed.</param> /// <param name="autoDeleteTopicWithLastSubscription">This Boolean is /// used to specify the deletion mechanism for 'all' the Event Grid /// Domain Topics associated with this Event Grid Domain resource. /// In this context, deletion of domain topic can be auto-managed (when /// true) or self-managed (when false). The default value for this /// property is true. /// When this property is set to true, Event Grid is responsible of /// automatically deleting the domain topic when the last event /// subscription at the scope /// of the domain topic is deleted. If this property is set to false, /// then the user needs to manually delete the domain topic when it is /// no longer needed /// (e.g., when last event subscription is deleted and the resource /// needs to be cleaned up). The self-management mode can be used if /// the user wants full /// control of when the domain topic needs to be deleted, while /// auto-managed mode provides the flexibility to perform less /// operations and manage fewer /// resources by the user.</param> /// <param name="identity">Identity information for the /// resource.</param> public DomainUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), string publicNetworkAccess = default(string), IList <InboundIpRule> inboundIpRules = default(IList <InboundIpRule>), bool?disableLocalAuth = default(bool?), bool?autoCreateTopicWithFirstSubscription = default(bool?), bool?autoDeleteTopicWithLastSubscription = default(bool?), IdentityInfo identity = default(IdentityInfo)) { Tags = tags; PublicNetworkAccess = publicNetworkAccess; InboundIpRules = inboundIpRules; DisableLocalAuth = disableLocalAuth; AutoCreateTopicWithFirstSubscription = autoCreateTopicWithFirstSubscription; AutoDeleteTopicWithLastSubscription = autoDeleteTopicWithLastSubscription; Identity = identity; CustomInit(); }
/// <summary> /// Initializes a new instance of the PartnerTopic class. /// </summary> /// <param name="location">Location of the resource.</param> /// <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="tags">Tags of the resource.</param> /// <param name="source">Source associated with this partner topic. /// This represents a unique partner resource.</param> /// <param name="expirationTimeIfNotActivatedUtc">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.</param> /// <param name="provisioningState">Provisioning state of the partner /// topic. Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="activationState">Activation state of the partner /// topic. Possible values include: 'NeverActivated', 'Activated', /// 'Deactivated'</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> /// <param name="systemData">The system metadata relating to Partner /// Topic resource.</param> /// <param name="identity">Identity information for the Partner Topic /// resource.</param> public PartnerTopic(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string source = default(string), System.DateTime?expirationTimeIfNotActivatedUtc = default(System.DateTime?), string provisioningState = default(string), string activationState = default(string), string partnerTopicFriendlyDescription = default(string), SystemData systemData = default(SystemData), IdentityInfo identity = default(IdentityInfo)) : base(location, id, name, type, tags) { Source = source; ExpirationTimeIfNotActivatedUtc = expirationTimeIfNotActivatedUtc; ProvisioningState = provisioningState; ActivationState = activationState; PartnerTopicFriendlyDescription = partnerTopicFriendlyDescription; SystemData = systemData; Identity = identity; CustomInit(); }
/// <summary> /// Initializes a new instance of the Topic class. /// </summary> /// <param name="location">Location of the resource.</param> /// <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="tags">Tags of the resource.</param> /// <param name="privateEndpointConnections">List of private endpoint /// connections.</param> /// <param name="provisioningState">Provisioning state of the topic. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="endpoint">Endpoint for the topic.</param> /// <param name="inputSchema">This determines the format that Event /// Grid should expect for incoming events published to the topic. /// Possible values include: 'EventGridSchema', 'CustomEventSchema', /// 'CloudEventSchemaV1_0'</param> /// <param name="inputSchemaMapping">This enables publishing using /// custom event schemas. An InputSchemaMapping can be specified to map /// various properties of a source schema to various required /// properties of the EventGridEvent schema.</param> /// <param name="metricResourceId">Metric resource id for the /// topic.</param> /// <param name="publicNetworkAccess">This determines if traffic is /// allowed over public network. By default it is enabled. /// You can further restrict to specific IPs by configuring <seealso /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules" /// />. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="inboundIpRules">This can be used to restrict traffic /// from specific IPs instead of all IPs. Note: These are considered /// only if PublicNetworkAccess is enabled.</param> /// <param name="sku">The Sku pricing tier for the topic.</param> /// <param name="identity">Identity information for the /// resource.</param> public Topic(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), string provisioningState = default(string), string endpoint = default(string), string inputSchema = default(string), InputSchemaMapping inputSchemaMapping = default(InputSchemaMapping), string metricResourceId = default(string), string publicNetworkAccess = default(string), IList <InboundIpRule> inboundIpRules = default(IList <InboundIpRule>), ResourceSku sku = default(ResourceSku), IdentityInfo identity = default(IdentityInfo)) : base(location, id, name, type, tags) { PrivateEndpointConnections = privateEndpointConnections; ProvisioningState = provisioningState; Endpoint = endpoint; InputSchema = inputSchema; InputSchemaMapping = inputSchemaMapping; MetricResourceId = metricResourceId; PublicNetworkAccess = publicNetworkAccess; InboundIpRules = inboundIpRules; Sku = sku; Identity = identity; CustomInit(); }
/// <summary> /// Initializes a new instance of the PartnerTopic class. /// </summary> /// <param name="location">Location of the resource.</param> /// <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="tags">Tags of the resource.</param> /// <param name="partnerRegistrationImmutableId">The immutableId of the /// corresponding partner registration.</param> /// <param name="source">Source associated with this partner topic. /// This represents a unique partner resource.</param> /// <param name="eventTypeInfo">Event Type information from the /// corresponding event channel.</param> /// <param name="expirationTimeIfNotActivatedUtc">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.</param> /// <param name="provisioningState">Provisioning state of the partner /// topic. Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="activationState">Activation state of the partner /// topic. Possible values include: 'NeverActivated', 'Activated', /// 'Deactivated'</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> /// <param name="messageForActivation">Context or helpful message that /// can be used during the approval process by the subscriber.</param> /// <param name="systemData">The system metadata relating to Partner /// Topic resource.</param> /// <param name="identity">Identity information for the Partner Topic /// resource.</param> public PartnerTopic(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.Guid?partnerRegistrationImmutableId = default(System.Guid?), string source = default(string), EventTypeInfo eventTypeInfo = default(EventTypeInfo), System.DateTime?expirationTimeIfNotActivatedUtc = default(System.DateTime?), string provisioningState = default(string), string activationState = default(string), string partnerTopicFriendlyDescription = default(string), string messageForActivation = default(string), SystemData systemData = default(SystemData), IdentityInfo identity = default(IdentityInfo)) : base(location, id, name, type, tags) { PartnerRegistrationImmutableId = partnerRegistrationImmutableId; Source = source; EventTypeInfo = eventTypeInfo; ExpirationTimeIfNotActivatedUtc = expirationTimeIfNotActivatedUtc; ProvisioningState = provisioningState; ActivationState = activationState; PartnerTopicFriendlyDescription = partnerTopicFriendlyDescription; MessageForActivation = messageForActivation; SystemData = systemData; Identity = identity; CustomInit(); }
/// <summary> /// Initializes a new instance of the Topic class. /// </summary> /// <param name="location">Location of the resource.</param> /// <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="tags">Tags of the resource.</param> /// <param name="provisioningState">Provisioning state of the topic. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="endpoint">Endpoint for the topic.</param> /// <param name="inputSchema">This determines the format that Event /// Grid should expect for incoming events published to the topic. /// Possible values include: 'EventGridSchema', 'CustomEventSchema', /// 'CloudEventSchemaV1_0'</param> /// <param name="inputSchemaMapping">This enables publishing using /// custom event schemas. An InputSchemaMapping can be specified to map /// various properties of a source schema to various required /// properties of the EventGridEvent schema.</param> /// <param name="metricResourceId">Metric resource id for the /// topic.</param> /// <param name="publicNetworkAccess">This determines if traffic is /// allowed over public network. By default it is enabled. /// You can further restrict to specific IPs by configuring <seealso /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules" /// />. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="inboundIpRules">This can be used to restrict traffic /// from specific IPs instead of all IPs. Note: These are considered /// only if PublicNetworkAccess is enabled.</param> /// <param name="disableLocalAuth">This boolean is used to enable or /// disable local auth. Default value is false. When the property is /// set to true, only AAD token will be used to authenticate if user is /// allowed to publish to the topic.</param> /// <param name="identity">Identity information for the /// resource.</param> /// <param name="systemData">The system metadata relating to Topic /// resource.</param> public Topic(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), string provisioningState = default(string), string endpoint = default(string), string inputSchema = default(string), InputSchemaMapping inputSchemaMapping = default(InputSchemaMapping), string metricResourceId = default(string), string publicNetworkAccess = default(string), IList <InboundIpRule> inboundIpRules = default(IList <InboundIpRule>), bool?disableLocalAuth = default(bool?), IdentityInfo identity = default(IdentityInfo), SystemData systemData = default(SystemData)) : base(location, id, name, type, tags) { PrivateEndpointConnections = privateEndpointConnections; ProvisioningState = provisioningState; Endpoint = endpoint; InputSchema = inputSchema; InputSchemaMapping = inputSchemaMapping; MetricResourceId = metricResourceId; PublicNetworkAccess = publicNetworkAccess; InboundIpRules = inboundIpRules; DisableLocalAuth = disableLocalAuth; Identity = identity; SystemData = systemData; CustomInit(); }
/// <summary> /// Initializes a new instance of the Domain class. /// </summary> /// <param name="location">Location of the resource.</param> /// <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="tags">Tags of the resource.</param> /// <param name="privateEndpointConnections">List of private endpoint /// connections.</param> /// <param name="provisioningState">Provisioning state of the Event /// Grid Domain Resource. Possible values include: 'Creating', /// 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'</param> /// <param name="endpoint">Endpoint for the Event Grid Domain Resource /// which is used for publishing the events.</param> /// <param name="inputSchema">This determines the format that Event /// Grid should expect for incoming events published to the Event Grid /// Domain Resource. Possible values include: 'EventGridSchema', /// 'CustomEventSchema', 'CloudEventSchemaV1_0'</param> /// <param name="inputSchemaMapping">Information about the /// InputSchemaMapping which specified the info about mapping event /// payload.</param> /// <param name="metricResourceId">Metric resource id for the Event /// Grid Domain Resource.</param> /// <param name="publicNetworkAccess">This determines if traffic is /// allowed over public network. By default it is enabled. /// You can further restrict to specific IPs by configuring <seealso /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules" /// />. Possible values include: 'Enabled', 'Disabled'</param> /// <param name="inboundIpRules">This can be used to restrict traffic /// from specific IPs instead of all IPs. Note: These are considered /// only if PublicNetworkAccess is enabled.</param> /// <param name="disableLocalAuth">This boolean is used to enable or /// disable local auth. Default value is false. When the property is /// set to true, only AAD token will be used to authenticate if user is /// allowed to publish to the domain.</param> /// <param name="autoCreateTopicWithFirstSubscription">This Boolean is /// used to specify the creation mechanism for 'all' the Event Grid /// Domain Topics associated with this Event Grid Domain resource. /// In this context, creation of domain topic can be auto-managed (when /// true) or self-managed (when false). The default value for this /// property is true. /// When this property is null or set to true, Event Grid is /// responsible of automatically creating the domain topic when the /// first event subscription is /// created at the scope of the domain topic. If this property is set /// to false, then creating the first event subscription will require /// creating a domain topic /// by the user. The self-management mode can be used if the user wants /// full control of when the domain topic is created, while /// auto-managed mode provides the /// flexibility to perform less operations and manage fewer resources /// by the user. Also, note that in auto-managed creation mode, user is /// allowed to create the /// domain topic on demand if needed.</param> /// <param name="autoDeleteTopicWithLastSubscription">This Boolean is /// used to specify the deletion mechanism for 'all' the Event Grid /// Domain Topics associated with this Event Grid Domain resource. /// In this context, deletion of domain topic can be auto-managed (when /// true) or self-managed (when false). The default value for this /// property is true. /// When this property is set to true, Event Grid is responsible of /// automatically deleting the domain topic when the last event /// subscription at the scope /// of the domain topic is deleted. If this property is set to false, /// then the user needs to manually delete the domain topic when it is /// no longer needed /// (e.g., when last event subscription is deleted and the resource /// needs to be cleaned up). The self-management mode can be used if /// the user wants full /// control of when the domain topic needs to be deleted, while /// auto-managed mode provides the flexibility to perform less /// operations and manage fewer /// resources by the user.</param> /// <param name="dataResidencyBoundary">Data Residency Boundary of the /// resource. Possible values include: 'WithinGeopair', /// 'WithinRegion'</param> /// <param name="sku">The Sku pricing tier for the Event Grid Domain /// resource.</param> /// <param name="identity">Identity information for the Event Grid /// Domain resource.</param> /// <param name="systemData">The system metadata relating to the Event /// Grid Domain resource.</param> public Domain(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), string provisioningState = default(string), string endpoint = default(string), string inputSchema = default(string), InputSchemaMapping inputSchemaMapping = default(InputSchemaMapping), string metricResourceId = default(string), string publicNetworkAccess = default(string), IList <InboundIpRule> inboundIpRules = default(IList <InboundIpRule>), bool?disableLocalAuth = default(bool?), bool?autoCreateTopicWithFirstSubscription = default(bool?), bool?autoDeleteTopicWithLastSubscription = default(bool?), string dataResidencyBoundary = default(string), ResourceSku sku = default(ResourceSku), IdentityInfo identity = default(IdentityInfo), SystemData systemData = default(SystemData)) : base(location, id, name, type, tags) { PrivateEndpointConnections = privateEndpointConnections; ProvisioningState = provisioningState; Endpoint = endpoint; InputSchema = inputSchema; InputSchemaMapping = inputSchemaMapping; MetricResourceId = metricResourceId; PublicNetworkAccess = publicNetworkAccess; InboundIpRules = inboundIpRules; DisableLocalAuth = disableLocalAuth; AutoCreateTopicWithFirstSubscription = autoCreateTopicWithFirstSubscription; AutoDeleteTopicWithLastSubscription = autoDeleteTopicWithLastSubscription; DataResidencyBoundary = dataResidencyBoundary; Sku = sku; Identity = identity; SystemData = systemData; CustomInit(); }
/// <summary> /// Initializes a new instance of the SystemTopicUpdateParameters /// class. /// </summary> /// <param name="tags">Tags of the system topic.</param> /// <param name="identity">Resource identity information.</param> public SystemTopicUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), IdentityInfo identity = default(IdentityInfo)) { Tags = tags; Identity = identity; CustomInit(); }