class Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceResource
Single Namespace item in List or Get Operation
Attributes
created_at[RW]
@return [DateTime] The time the Namespace was created.
enabled[RW]
@return [Boolean] Specifies whether this instance is enabled.
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]
status[RW]
@return [NamespaceState] State of the Namespace. Possible values include: 'Unknown', 'Creating', 'Created', 'Activating', 'Enabling', 'Active', 'Disabling', 'Disabled', 'SoftDeleting', 'SoftDeleted', 'Removing', 'Removed', 'Failed'
updated_at[RW]
@return [DateTime] The time the Namespace was updated.
Public Class Methods
mapper()
click to toggle source
Mapper for NamespaceResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_resource.rb, line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NamespaceResource', type: { name: 'Composite', class_name: 'NamespaceResource', 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' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', 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' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'Enum', module: 'NamespaceState' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, created_at: { client_side_validation: true, required: false, serialized_name: 'properties.createdAt', type: { name: 'DateTime' } }, updated_at: { client_side_validation: true, required: false, serialized_name: 'properties.updatedAt', type: { name: 'DateTime' } }, service_bus_endpoint: { client_side_validation: true, required: false, serialized_name: 'properties.serviceBusEndpoint', type: { name: 'String' } }, metric_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.metricId', type: { name: 'String' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { name: 'Boolean' } } } } } end