class Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
Parameters supplied to the CreateOrUpdate Namespace operation.
Attributes
@return [DateTime] The time the namespace was created.
@return [Boolean] Whether or not the namespace is set as Critical.
@return [String] Data center for the namespace
@return [Boolean] Whether or not the namespace is currently enabled.
@return [String] Identifier for Azure
Insights metrics
@return [String] The name of the namespace.
@return [NamespaceType] The namespace type. Possible values include: 'Messaging', 'NotificationHub'
@return [String] Provisioning state of the Namespace.
@return [String] Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia EastAustralia SoutheastCentral USEast USEast US 2West USNorth Central USSouth Central USEast AsiaSoutheast AsiaBrazil SouthJapan EastJapan WestNorth EuropeWest Europe
@return [String] ScaleUnit where the namespace gets created
@return [String] Endpoint you can use to perform NotificationHub operations.
@return [String] Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
@return [String] The Id of the Azure
subscription associated with the namespace.
@return [DateTime] The time the namespace was updated.
Private Class Methods
Mapper for NamespaceCreateOrUpdateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb, line 70 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NamespaceCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'NamespaceCreateOrUpdateParameters', 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' } }, namespace_create_or_update_parameters_name: { client_side_validation: true, required: false, serialized_name: 'properties.name', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, region: { client_side_validation: true, required: false, serialized_name: 'properties.region', type: { name: 'String' } }, metric_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.metricId', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', 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' } }, subscription_id: { client_side_validation: true, required: false, serialized_name: 'properties.subscriptionId', type: { name: 'String' } }, scale_unit: { client_side_validation: true, required: false, serialized_name: 'properties.scaleUnit', type: { name: 'String' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { name: 'Boolean' } }, critical: { client_side_validation: true, required: false, serialized_name: 'properties.critical', type: { name: 'Boolean' } }, data_center: { client_side_validation: true, required: false, serialized_name: 'properties.dataCenter', type: { name: 'String' } }, namespace_type: { client_side_validation: true, required: false, serialized_name: 'properties.namespaceType', type: { name: 'Enum', module: 'NamespaceType' } } } } } end