Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::Hub
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb
Overview
Hub resource.
Instance Attribute Summary collapse
-
#api_endpoint ⇒ String
API endpoint URL of the hub.
-
#hub_billing_info ⇒ HubBillingInfoFormat
Billing settings of the hub.
-
#provisioning_state ⇒ String
Provisioning state of the hub.
-
#tenant_features ⇒ Integer
to 1 indicates graph is enabled, or disabled if set to 0.
-
#web_endpoint ⇒ String
Web endpoint URL of the hub.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Hub class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#api_endpoint ⇒ String
Returns API endpoint URL of the hub.
16 17 18 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb', line 16 def api_endpoint @api_endpoint end |
#hub_billing_info ⇒ HubBillingInfoFormat
Returns Billing settings of the hub.
30 31 32 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb', line 30 def hub_billing_info @hub_billing_info end |
#provisioning_state ⇒ String
Returns Provisioning state of the hub.
22 23 24 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb', line 22 def provisioning_state @provisioning_state end |
#tenant_features ⇒ Integer
to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.
27 28 29 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb', line 27 def tenant_features @tenant_features end |
#web_endpoint ⇒ String
Returns Web endpoint URL of the hub.
19 20 21 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb', line 19 def web_endpoint @web_endpoint end |
Class Method Details
.mapper ⇒ Object
Mapper for Hub class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Hub', type: { name: 'Composite', class_name: 'Hub', 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' } } } }, api_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.apiEndpoint', type: { name: 'String' } }, web_endpoint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.webEndpoint', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, tenant_features: { client_side_validation: true, required: false, serialized_name: 'properties.tenantFeatures', type: { name: 'Number' } }, hub_billing_info: { client_side_validation: true, required: false, serialized_name: 'properties.hubBillingInfo', type: { name: 'Composite', class_name: 'HubBillingInfoFormat' } } } } } end |