class Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace

Single Namespace item in List or Get Operation

Attributes

cluster_arm_id[RW]

@return [String] Cluster ARM ID of the Namespace.

created_at[RW]

@return [DateTime] The time the Namespace was created.

encryption[RW]

@return [Encryption] Properties of BYOK Encryption description

identity[RW]

@return [Identity] Properties of BYOK Identity description

is_auto_inflate_enabled[RW]

@return [Boolean] Value that indicates whether AutoInflate is enabled for eventhub namespace.

kafka_enabled[RW]

@return [Boolean] Value that indicates whether Kafka is enabled for eventhub namespace.

maximum_throughput_units[RW]

@return [Integer] Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)

metric_id[RW]

@return [String] Identifier for Azure Insights metrics.

provisioning_state[RW]

@return [String] Provisioning state of the Namespace.

service_bus_endpoint[RW]

@return [String] Endpoint you can use to perform Service Bus operations.

sku[RW]

@return [Sku] Properties of sku resource

updated_at[RW]

@return [DateTime] The time the Namespace was updated.

zone_redundant[RW]

@return [Boolean] Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb, line 65
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EHNamespace',
    type: {
      name: 'Composite',
      class_name: 'EHNamespace',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'Identity'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        updated_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.updatedAt',
          type: {
            name: 'DateTime'
          }
        },
        service_bus_endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.serviceBusEndpoint',
          type: {
            name: 'String'
          }
        },
        cluster_arm_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.clusterArmId',
          type: {
            name: 'String'
          }
        },
        metric_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.metricId',
          type: {
            name: 'String'
          }
        },
        is_auto_inflate_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isAutoInflateEnabled',
          type: {
            name: 'Boolean'
          }
        },
        maximum_throughput_units: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.maximumThroughputUnits',
          constraints: {
            InclusiveMaximum: 20,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        kafka_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.kafkaEnabled',
          type: {
            name: 'Boolean'
          }
        },
        zone_redundant: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.zoneRedundant',
          type: {
            name: 'Boolean'
          }
        },
        encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.encryption',
          type: {
            name: 'Composite',
            class_name: 'Encryption'
          }
        }
      }
    }
  }
end