Class: Azure::Kusto::Mgmt::V2019_01_21::Models::Cluster
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::Kusto::Mgmt::V2019_01_21::Models::Cluster
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb
Overview
Class representing a Kusto cluster.
Instance Attribute Summary collapse
-
#data_ingestion_uri ⇒ String
The cluster data ingestion URI.
-
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Running’, ‘Creating’, ‘Deleting’, ‘Succeeded’, ‘Failed’.
-
#sku ⇒ AzureSku
The SKU of the cluster.
-
#state ⇒ State
‘Creating’, ‘Unavailable’, ‘Running’, ‘Deleting’, ‘Deleted’, ‘Stopping’, ‘Stopped’, ‘Starting’, ‘Updating’.
-
#trusted_external_tenants ⇒ Array<TrustedExternalTenant>
The cluster’s external tenants.
-
#uri ⇒ String
The cluster URI.
Attributes inherited from TrackedResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Cluster class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#data_ingestion_uri ⇒ String
Returns The cluster data ingestion URI.
32 33 34 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 32 def data_ingestion_uri @data_ingestion_uri end |
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Running’, ‘Creating’, ‘Deleting’, ‘Succeeded’, ‘Failed’
26 27 28 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 26 def provisioning_state @provisioning_state end |
#sku ⇒ AzureSku
Returns The SKU of the cluster.
16 17 18 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 16 def sku @sku end |
#state ⇒ State
‘Creating’, ‘Unavailable’, ‘Running’, ‘Deleting’, ‘Deleted’, ‘Stopping’, ‘Stopped’, ‘Starting’, ‘Updating’
21 22 23 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 21 def state @state end |
#trusted_external_tenants ⇒ Array<TrustedExternalTenant>
Returns The cluster’s external tenants.
35 36 37 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 35 def trusted_external_tenants @trusted_external_tenants end |
#uri ⇒ String
Returns The cluster URI.
29 30 31 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 29 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for Cluster class as Ruby Hash. This will be used for serialization/deserialization.
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Cluster', type: { name: 'Composite', class_name: 'Cluster', 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' } }, 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' } } } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, sku: { client_side_validation: true, required: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'AzureSku' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, uri: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uri', type: { name: 'String' } }, data_ingestion_uri: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.dataIngestionUri', type: { name: 'String' } }, trusted_external_tenants: { client_side_validation: true, required: false, serialized_name: 'properties.trustedExternalTenants', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrustedExternalTenantElementType', type: { name: 'Composite', class_name: 'TrustedExternalTenant' } } } } } } } end |