Class: Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails
- Inherits:
-
OrchestratorSpecificConnectionDetails
- Object
- OrchestratorSpecificConnectionDetails
- Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#instanceType ⇒ Object
Returns the value of attribute instanceType.
-
#kube_config ⇒ String
Gets the kubeconfig for the cluster.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KubernetesConnectionDetails class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ KubernetesConnectionDetails
constructor
A new instance of KubernetesConnectionDetails.
Constructor Details
#initialize ⇒ KubernetesConnectionDetails
Returns a new instance of KubernetesConnectionDetails.
17 18 19 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb', line 17 def initialize @instanceType = "Kubernetes" end |
Instance Attribute Details
#instanceType ⇒ Object
Returns the value of attribute instanceType.
21 22 23 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb', line 21 def instanceType @instanceType end |
#kube_config ⇒ String
Returns Gets the kubeconfig for the cluster.
24 25 26 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb', line 24 def kube_config @kube_config end |
Class Method Details
.mapper ⇒ Object
Mapper for KubernetesConnectionDetails class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Kubernetes', type: { name: 'Composite', class_name: 'KubernetesConnectionDetails', model_properties: { instanceType: { client_side_validation: true, required: true, serialized_name: 'instanceType', type: { name: 'String' } }, kube_config: { client_side_validation: true, required: false, serialized_name: 'kubeConfig', type: { name: 'String' } } } } } end |