Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::ClusterCreateParameters
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2018_03_01::Models::ClusterCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb
Overview
Parameters supplied to the Create operation.
Instance Attribute Summary collapse
-
#location ⇒ String
The region in which to create the cluster.
-
#node_setup ⇒ NodeSetup
cluster.
-
#scale_settings ⇒ ScaleSettings
Desired scale for the cluster.
-
#subnet ⇒ ResourceId
Specifies the identifier of the subnet.
-
#tags ⇒ Hash{String => String}
with the Cluster.
-
#user_account_settings ⇒ UserAccountSettings
created on all compute nodes of the cluster.
-
#virtual_machine_configuration ⇒ VirtualMachineConfiguration
data volumes.
-
#vm_priority ⇒ VmPriority
Possible values include: ‘dedicated’, ‘lowpriority’.
-
#vm_size ⇒ String
virtual machines in a cluster are the same size.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterCreateParameters class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns The region in which to create the cluster.
16 17 18 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 16 def location @location end |
#node_setup ⇒ NodeSetup
cluster.
45 46 47 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 45 def node_setup @node_setup end |
#scale_settings ⇒ ScaleSettings
Returns Desired scale for the cluster.
37 38 39 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 37 def scale_settings @scale_settings end |
#subnet ⇒ ResourceId
Returns Specifies the identifier of the subnet. .
52 53 54 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 52 def subnet @subnet end |
#tags ⇒ Hash{String => String}
with the Cluster.
20 21 22 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 20 def @tags end |
#user_account_settings ⇒ UserAccountSettings
created on all compute nodes of the cluster.
49 50 51 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 49 def user_account_settings @user_account_settings end |
#virtual_machine_configuration ⇒ VirtualMachineConfiguration
data volumes.
41 42 43 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 41 def virtual_machine_configuration @virtual_machine_configuration end |
#vm_priority ⇒ VmPriority
Possible values include: ‘dedicated’, ‘lowpriority’. Default value: ‘dedicated’ .
34 35 36 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 34 def vm_priority @vm_priority end |
#vm_size ⇒ String
virtual machines in a cluster are the same size. For information about available VM sizes for clusters using images from the Virtual Machines Marketplace (see Sizes for Virtual Machines (Linux) or Sizes for Virtual Machines (Windows). Batch AI service supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
29 30 31 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 29 def vm_size @vm_size end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/cluster_create_parameters.rb', line 59 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterCreateParameters', type: { name: 'Composite', class_name: 'ClusterCreateParameters', model_properties: { location: { client_side_validation: true, required: true, 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' } } } }, vm_size: { client_side_validation: true, required: true, serialized_name: 'properties.vmSize', type: { name: 'String' } }, vm_priority: { client_side_validation: true, required: false, serialized_name: 'properties.vmPriority', default_value: 'dedicated', type: { name: 'Enum', module: 'VmPriority' } }, scale_settings: { client_side_validation: true, required: false, serialized_name: 'properties.scaleSettings', type: { name: 'Composite', class_name: 'ScaleSettings' } }, virtual_machine_configuration: { client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineConfiguration', type: { name: 'Composite', class_name: 'VirtualMachineConfiguration' } }, node_setup: { client_side_validation: true, required: false, serialized_name: 'properties.nodeSetup', type: { name: 'Composite', class_name: 'NodeSetup' } }, user_account_settings: { client_side_validation: true, required: true, serialized_name: 'properties.userAccountSettings', type: { name: 'Composite', class_name: 'UserAccountSettings' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { name: 'Composite', class_name: 'ResourceId' } } } } } end |