class Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainUpdateParameters

Properties of the Domain update.

Attributes

inbound_ip_rules[RW]

@return [Array<InboundIpRule>] This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.

public_network_access[RW]

@return [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'

tags[RW]

@return [Hash{String => String}] Tags of the domains resource.

Public Class Methods

mapper() click to toggle source

Mapper for DomainUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DomainUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'DomainUpdateParameters',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        public_network_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicNetworkAccess',
          type: {
            name: 'String'
          }
        },
        inbound_ip_rules: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.inboundIpRules',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InboundIpRuleElementType',
                type: {
                  name: 'Composite',
                  class_name: 'InboundIpRule'
                }
            }
          }
        }
      }
    }
  }
end