/// <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 &lt;seealso
 /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules"
 /// /&gt;. 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();
 }
Beispiel #2
0
 /// <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 &lt;seealso
 /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules"
 /// /&gt;. 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="dataResidencyBoundary">Data Residency Boundary of the
 /// resource. Possible values include: 'WithinGeopair',
 /// 'WithinRegion'</param>
 /// <param name="sku">The Sku pricing tier for the topic.</param>
 /// <param name="identity">Identity information for the
 /// resource.</param>
 /// <param name="kind">Kind of the resource. Possible values include:
 /// 'Azure', 'AzureArc'</param>
 /// <param name="extendedLocation">Extended location of 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?), string dataResidencyBoundary = default(string), ResourceSku sku = default(ResourceSku), IdentityInfo identity = default(IdentityInfo), string kind = default(string), ExtendedLocation extendedLocation = default(ExtendedLocation), 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;
     DataResidencyBoundary = dataResidencyBoundary;
     Sku              = sku;
     Identity         = identity;
     Kind             = kind;
     ExtendedLocation = extendedLocation;
     SystemData       = systemData;
     CustomInit();
 }
Beispiel #3
0
 /// <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 &lt;seealso
 /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules"
 /// /&gt;. 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();
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the TopicUpdateParameters class.
 /// </summary>
 /// <param name="tags">Tags of the Topic 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 &lt;seealso
 /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules"
 /// /&gt;. 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="dataResidencyBoundary">The data residency boundary for
 /// the topic. Possible values include: 'WithinGeopair',
 /// 'WithinRegion'</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>), bool?disableLocalAuth = default(bool?), string dataResidencyBoundary = default(string), ResourceSku sku = default(ResourceSku))
 {
     Tags                  = tags;
     Identity              = identity;
     PublicNetworkAccess   = publicNetworkAccess;
     InboundIpRules        = inboundIpRules;
     DisableLocalAuth      = disableLocalAuth;
     DataResidencyBoundary = dataResidencyBoundary;
     Sku = sku;
     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 &lt;seealso
 /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainUpdateParameterProperties.InboundIpRules"
 /// /&gt;. 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">The data residency boundary for
 /// the domain. Possible values include: 'WithinGeopair',
 /// 'WithinRegion'</param>
 /// <param name="identity">Identity information for the
 /// resource.</param>
 /// <param name="sku">The Sku pricing tier for the domain.</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?), string dataResidencyBoundary = default(string), IdentityInfo identity = default(IdentityInfo), ResourceSku sku = default(ResourceSku))
 {
     Tags = tags;
     PublicNetworkAccess = publicNetworkAccess;
     InboundIpRules      = inboundIpRules;
     DisableLocalAuth    = disableLocalAuth;
     AutoCreateTopicWithFirstSubscription = autoCreateTopicWithFirstSubscription;
     AutoDeleteTopicWithLastSubscription  = autoDeleteTopicWithLastSubscription;
     DataResidencyBoundary = dataResidencyBoundary;
     Identity = identity;
     Sku      = sku;
     CustomInit();
 }
Beispiel #6
0
 /// <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 &lt;seealso
 /// cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules"
 /// /&gt;. 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="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?), 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;
     Sku        = sku;
     Identity   = identity;
     SystemData = systemData;
     CustomInit();
 }