azure_mgmt_container_instance 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -3
  3. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +5 -0
  4. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb +13 -0
  5. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb +6 -0
  6. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +18 -0
  7. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +4 -0
  8. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +2 -0
  9. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +6 -0
  10. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +6 -0
  11. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +3 -0
  12. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +4 -0
  13. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +5 -0
  14. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +2 -0
  15. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb +3 -0
  16. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +7 -0
  17. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +3 -0
  18. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +3 -0
  19. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +3 -0
  20. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +3 -0
  21. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +4 -0
  22. data/lib/profiles/latest/containerinstance_latest_profile_client.rb +1 -3
  23. data/lib/version.rb +1 -1
  24. metadata +10 -8
  25. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb +0 -8
  26. data/lib/profiles/common/configurable.rb +0 -86
  27. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa4fb62239fcbbd5b8ebc2dbe023b6e69d2cc3bc
4
- data.tar.gz: 6ecc95ae3767117b14f900b3264cdb1953302fd7
3
+ metadata.gz: d09d1c766a7bc4630bef91e2d9e5edde90d90321
4
+ data.tar.gz: ed1c51f521c6b3e5fb4e6eab30b313723a4b6d1e
5
5
  SHA512:
6
- metadata.gz: 55fd59ab30ce7e19fb6ff6fdb5debd0d5edc77fab7dff2c4f98032e36aa1deae77d63ca0d904ddd2f7cd0d39ed5b6aef632dcbed28330ef1815d454fc7e85f73
7
- data.tar.gz: a43fca0569325aae5b73dadb14180b7019910dbeac12659d57a0ea61bd8dccf7b3b5bfc3618993e120bac2523e84a48eb9a8505ed9c45677b2e9064d1a18498c
6
+ metadata.gz: a8e8513e179e1317fdf057dacfd5a254f8881bbb1b8789daa961e7dcec5a45977f3dcbd285eb459978218347fb28793f5c063fb008060484f5932bb13a70bdfe
7
+ data.tar.gz: c197f809e8988325e22b20840d776c32c4f4fa0515fcd2f69e875b689d3d7674bf527505f358d4e7767a1b6b9ddb0b9f0e700cc20c810217bc9bf0ad8ca4f365
@@ -126,9 +126,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_container_instance'
129
- if defined? Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION
130
- sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION}"
131
- end
129
+ sdk_information = "#{sdk_information}/0.15.2"
132
130
  add_user_agent_information(sdk_information)
133
131
  end
134
132
  end
@@ -36,6 +36,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
36
36
  #
37
37
  def self.mapper()
38
38
  {
39
+ client_side_validation: true,
39
40
  required: false,
40
41
  serialized_name: 'AzureFileVolume',
41
42
  type: {
@@ -43,6 +44,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
43
44
  class_name: 'AzureFileVolume',
44
45
  model_properties: {
45
46
  share_name: {
47
+ client_side_validation: true,
46
48
  required: true,
47
49
  serialized_name: 'shareName',
48
50
  type: {
@@ -50,6 +52,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
50
52
  }
51
53
  },
52
54
  read_only: {
55
+ client_side_validation: true,
53
56
  required: false,
54
57
  serialized_name: 'readOnly',
55
58
  type: {
@@ -57,6 +60,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
57
60
  }
58
61
  },
59
62
  storage_account_name: {
63
+ client_side_validation: true,
60
64
  required: true,
61
65
  serialized_name: 'storageAccountName',
62
66
  type: {
@@ -64,6 +68,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
64
68
  }
65
69
  },
66
70
  storage_account_key: {
71
+ client_side_validation: true,
67
72
  required: false,
68
73
  serialized_name: 'storageAccountKey',
69
74
  type: {
@@ -50,6 +50,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
50
50
  #
51
51
  def self.mapper()
52
52
  {
53
+ client_side_validation: true,
53
54
  required: false,
54
55
  serialized_name: 'Container',
55
56
  type: {
@@ -57,6 +58,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
57
58
  class_name: 'Container',
58
59
  model_properties: {
59
60
  name: {
61
+ client_side_validation: true,
60
62
  required: true,
61
63
  serialized_name: 'name',
62
64
  type: {
@@ -64,6 +66,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
64
66
  }
65
67
  },
66
68
  image: {
69
+ client_side_validation: true,
67
70
  required: true,
68
71
  serialized_name: 'properties.image',
69
72
  type: {
@@ -71,11 +74,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
71
74
  }
72
75
  },
73
76
  command: {
77
+ client_side_validation: true,
74
78
  required: false,
75
79
  serialized_name: 'properties.command',
76
80
  type: {
77
81
  name: 'Sequence',
78
82
  element: {
83
+ client_side_validation: true,
79
84
  required: false,
80
85
  serialized_name: 'StringElementType',
81
86
  type: {
@@ -85,11 +90,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
85
90
  }
86
91
  },
87
92
  ports: {
93
+ client_side_validation: true,
88
94
  required: false,
89
95
  serialized_name: 'properties.ports',
90
96
  type: {
91
97
  name: 'Sequence',
92
98
  element: {
99
+ client_side_validation: true,
93
100
  required: false,
94
101
  serialized_name: 'ContainerPortElementType',
95
102
  type: {
@@ -100,11 +107,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
100
107
  }
101
108
  },
102
109
  environment_variables: {
110
+ client_side_validation: true,
103
111
  required: false,
104
112
  serialized_name: 'properties.environmentVariables',
105
113
  type: {
106
114
  name: 'Sequence',
107
115
  element: {
116
+ client_side_validation: true,
108
117
  required: false,
109
118
  serialized_name: 'EnvironmentVariableElementType',
110
119
  type: {
@@ -115,6 +124,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
115
124
  }
116
125
  },
117
126
  instance_view: {
127
+ client_side_validation: true,
118
128
  required: false,
119
129
  read_only: true,
120
130
  serialized_name: 'properties.instanceView',
@@ -124,6 +134,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
124
134
  }
125
135
  },
126
136
  resources: {
137
+ client_side_validation: true,
127
138
  required: true,
128
139
  serialized_name: 'properties.resources',
129
140
  type: {
@@ -132,11 +143,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
132
143
  }
133
144
  },
134
145
  volume_mounts: {
146
+ client_side_validation: true,
135
147
  required: false,
136
148
  serialized_name: 'properties.volumeMounts',
137
149
  type: {
138
150
  name: 'Sequence',
139
151
  element: {
152
+ client_side_validation: true,
140
153
  required: false,
141
154
  serialized_name: 'VolumeMountElementType',
142
155
  type: {
@@ -34,6 +34,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
34
34
  #
35
35
  def self.mapper()
36
36
  {
37
+ client_side_validation: true,
37
38
  required: false,
38
39
  serialized_name: 'ContainerEvent',
39
40
  type: {
@@ -41,6 +42,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
41
42
  class_name: 'ContainerEvent',
42
43
  model_properties: {
43
44
  count: {
45
+ client_side_validation: true,
44
46
  required: false,
45
47
  serialized_name: 'count',
46
48
  type: {
@@ -48,6 +50,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
48
50
  }
49
51
  },
50
52
  first_timestamp: {
53
+ client_side_validation: true,
51
54
  required: false,
52
55
  serialized_name: 'firstTimestamp',
53
56
  type: {
@@ -55,6 +58,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
55
58
  }
56
59
  },
57
60
  last_timestamp: {
61
+ client_side_validation: true,
58
62
  required: false,
59
63
  serialized_name: 'lastTimestamp',
60
64
  type: {
@@ -62,6 +66,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
62
66
  }
63
67
  },
64
68
  message: {
69
+ client_side_validation: true,
65
70
  required: false,
66
71
  serialized_name: 'message',
67
72
  type: {
@@ -69,6 +74,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
69
74
  }
70
75
  },
71
76
  type: {
77
+ client_side_validation: true,
72
78
  required: false,
73
79
  serialized_name: 'type',
74
80
  type: {
@@ -51,6 +51,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
51
51
  #
52
52
  def self.mapper()
53
53
  {
54
+ client_side_validation: true,
54
55
  required: false,
55
56
  serialized_name: 'ContainerGroup',
56
57
  type: {
@@ -58,6 +59,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
58
59
  class_name: 'ContainerGroup',
59
60
  model_properties: {
60
61
  id: {
62
+ client_side_validation: true,
61
63
  required: false,
62
64
  read_only: true,
63
65
  serialized_name: 'id',
@@ -66,6 +68,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
66
68
  }
67
69
  },
68
70
  name: {
71
+ client_side_validation: true,
69
72
  required: false,
70
73
  read_only: true,
71
74
  serialized_name: 'name',
@@ -74,6 +77,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
74
77
  }
75
78
  },
76
79
  type: {
80
+ client_side_validation: true,
77
81
  required: false,
78
82
  read_only: true,
79
83
  serialized_name: 'type',
@@ -82,6 +86,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
82
86
  }
83
87
  },
84
88
  location: {
89
+ client_side_validation: true,
85
90
  required: true,
86
91
  serialized_name: 'location',
87
92
  type: {
@@ -89,11 +94,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
89
94
  }
90
95
  },
91
96
  tags: {
97
+ client_side_validation: true,
92
98
  required: false,
93
99
  serialized_name: 'tags',
94
100
  type: {
95
101
  name: 'Dictionary',
96
102
  value: {
103
+ client_side_validation: true,
97
104
  required: false,
98
105
  serialized_name: 'StringElementType',
99
106
  type: {
@@ -103,6 +110,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
103
110
  }
104
111
  },
105
112
  provisioning_state: {
113
+ client_side_validation: true,
106
114
  required: false,
107
115
  read_only: true,
108
116
  serialized_name: 'properties.provisioningState',
@@ -111,11 +119,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
111
119
  }
112
120
  },
113
121
  containers: {
122
+ client_side_validation: true,
114
123
  required: false,
115
124
  serialized_name: 'properties.containers',
116
125
  type: {
117
126
  name: 'Sequence',
118
127
  element: {
128
+ client_side_validation: true,
119
129
  required: false,
120
130
  serialized_name: 'ContainerElementType',
121
131
  type: {
@@ -126,11 +136,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
126
136
  }
127
137
  },
128
138
  image_registry_credentials: {
139
+ client_side_validation: true,
129
140
  required: false,
130
141
  serialized_name: 'properties.imageRegistryCredentials',
131
142
  type: {
132
143
  name: 'Sequence',
133
144
  element: {
145
+ client_side_validation: true,
134
146
  required: false,
135
147
  serialized_name: 'ImageRegistryCredentialElementType',
136
148
  type: {
@@ -141,6 +153,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
141
153
  }
142
154
  },
143
155
  restart_policy: {
156
+ client_side_validation: true,
144
157
  required: false,
145
158
  serialized_name: 'properties.restartPolicy',
146
159
  type: {
@@ -148,6 +161,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
148
161
  }
149
162
  },
150
163
  ip_address: {
164
+ client_side_validation: true,
151
165
  required: false,
152
166
  serialized_name: 'properties.ipAddress',
153
167
  type: {
@@ -156,6 +170,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
156
170
  }
157
171
  },
158
172
  os_type: {
173
+ client_side_validation: true,
159
174
  required: false,
160
175
  serialized_name: 'properties.osType',
161
176
  type: {
@@ -163,6 +178,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
163
178
  }
164
179
  },
165
180
  state: {
181
+ client_side_validation: true,
166
182
  required: false,
167
183
  read_only: true,
168
184
  serialized_name: 'properties.state',
@@ -171,11 +187,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
171
187
  }
172
188
  },
173
189
  volumes: {
190
+ client_side_validation: true,
174
191
  required: false,
175
192
  serialized_name: 'properties.volumes',
176
193
  type: {
177
194
  name: 'Sequence',
178
195
  element: {
196
+ client_side_validation: true,
179
197
  required: false,
180
198
  serialized_name: 'VolumeElementType',
181
199
  type: {
@@ -58,6 +58,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
58
58
  #
59
59
  def self.mapper()
60
60
  {
61
+ client_side_validation: true,
61
62
  required: false,
62
63
  serialized_name: 'ContainerGroupListResult',
63
64
  type: {
@@ -65,11 +66,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
65
66
  class_name: 'ContainerGroupListResult',
66
67
  model_properties: {
67
68
  value: {
69
+ client_side_validation: true,
68
70
  required: false,
69
71
  serialized_name: 'value',
70
72
  type: {
71
73
  name: 'Sequence',
72
74
  element: {
75
+ client_side_validation: true,
73
76
  required: false,
74
77
  serialized_name: 'ContainerGroupElementType',
75
78
  type: {
@@ -80,6 +83,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
80
83
  }
81
84
  },
82
85
  next_link: {
86
+ client_side_validation: true,
83
87
  required: false,
84
88
  serialized_name: 'nextLink',
85
89
  type: {
@@ -22,6 +22,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'ContainerPort',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
29
30
  class_name: 'ContainerPort',
30
31
  model_properties: {
31
32
  port: {
33
+ client_side_validation: true,
32
34
  required: true,
33
35
  serialized_name: 'port',
34
36
  type: {
@@ -32,6 +32,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'ContainerProperties_instanceView',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
39
40
  class_name: 'ContainerPropertiesInstanceView',
40
41
  model_properties: {
41
42
  restart_count: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  serialized_name: 'restartCount',
44
46
  type: {
@@ -46,6 +48,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
46
48
  }
47
49
  },
48
50
  current_state: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  serialized_name: 'currentState',
51
54
  type: {
@@ -54,6 +57,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
54
57
  }
55
58
  },
56
59
  previous_state: {
60
+ client_side_validation: true,
57
61
  required: false,
58
62
  serialized_name: 'previousState',
59
63
  type: {
@@ -62,11 +66,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
62
66
  }
63
67
  },
64
68
  events: {
69
+ client_side_validation: true,
65
70
  required: false,
66
71
  serialized_name: 'events',
67
72
  type: {
68
73
  name: 'Sequence',
69
74
  element: {
75
+ client_side_validation: true,
70
76
  required: false,
71
77
  serialized_name: 'ContainerEventElementType',
72
78
  type: {
@@ -38,6 +38,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
38
38
  #
39
39
  def self.mapper()
40
40
  {
41
+ client_side_validation: true,
41
42
  required: false,
42
43
  serialized_name: 'ContainerState',
43
44
  type: {
@@ -45,6 +46,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
45
46
  class_name: 'ContainerState',
46
47
  model_properties: {
47
48
  state: {
49
+ client_side_validation: true,
48
50
  required: false,
49
51
  serialized_name: 'state',
50
52
  type: {
@@ -52,6 +54,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
52
54
  }
53
55
  },
54
56
  start_time: {
57
+ client_side_validation: true,
55
58
  required: false,
56
59
  serialized_name: 'startTime',
57
60
  type: {
@@ -59,6 +62,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
59
62
  }
60
63
  },
61
64
  exit_code: {
65
+ client_side_validation: true,
62
66
  required: false,
63
67
  serialized_name: 'exitCode',
64
68
  type: {
@@ -66,6 +70,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
66
70
  }
67
71
  },
68
72
  finish_time: {
73
+ client_side_validation: true,
69
74
  required: false,
70
75
  serialized_name: 'finishTime',
71
76
  type: {
@@ -73,6 +78,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
73
78
  }
74
79
  },
75
80
  detail_status: {
81
+ client_side_validation: true,
76
82
  required: false,
77
83
  serialized_name: 'detailStatus',
78
84
  type: {
@@ -25,6 +25,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'EnvironmentVariable',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
32
33
  class_name: 'EnvironmentVariable',
33
34
  model_properties: {
34
35
  name: {
36
+ client_side_validation: true,
35
37
  required: true,
36
38
  serialized_name: 'name',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
39
41
  }
40
42
  },
41
43
  value: {
44
+ client_side_validation: true,
42
45
  required: true,
43
46
  serialized_name: 'value',
44
47
  type: {
@@ -29,6 +29,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'ImageRegistryCredential',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
36
37
  class_name: 'ImageRegistryCredential',
37
38
  model_properties: {
38
39
  server: {
40
+ client_side_validation: true,
39
41
  required: true,
40
42
  serialized_name: 'server',
41
43
  type: {
@@ -43,6 +45,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
43
45
  }
44
46
  },
45
47
  username: {
48
+ client_side_validation: true,
46
49
  required: true,
47
50
  serialized_name: 'username',
48
51
  type: {
@@ -50,6 +53,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
50
53
  }
51
54
  },
52
55
  password: {
56
+ client_side_validation: true,
53
57
  required: false,
54
58
  serialized_name: 'password',
55
59
  type: {
@@ -29,6 +29,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'IpAddress',
34
35
  type: {
@@ -36,11 +37,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
36
37
  class_name: 'IpAddress',
37
38
  model_properties: {
38
39
  ports: {
40
+ client_side_validation: true,
39
41
  required: true,
40
42
  serialized_name: 'ports',
41
43
  type: {
42
44
  name: 'Sequence',
43
45
  element: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'PortElementType',
46
49
  type: {
@@ -51,6 +54,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
51
54
  }
52
55
  },
53
56
  type: {
57
+ client_side_validation: true,
54
58
  required: true,
55
59
  is_constant: true,
56
60
  serialized_name: 'type',
@@ -60,6 +64,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
60
64
  }
61
65
  },
62
66
  ip: {
67
+ client_side_validation: true,
63
68
  required: false,
64
69
  serialized_name: 'ip',
65
70
  type: {
@@ -22,6 +22,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'Logs',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
29
30
  class_name: 'Logs',
30
31
  model_properties: {
31
32
  content: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'content',
34
36
  type: {
@@ -26,6 +26,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'Port',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
33
34
  class_name: 'Port',
34
35
  model_properties: {
35
36
  protocol: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  serialized_name: 'protocol',
38
40
  type: {
@@ -40,6 +42,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
40
42
  }
41
43
  },
42
44
  port: {
45
+ client_side_validation: true,
43
46
  required: true,
44
47
  serialized_name: 'port',
45
48
  type: {
@@ -34,6 +34,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
34
34
  #
35
35
  def self.mapper()
36
36
  {
37
+ client_side_validation: true,
37
38
  required: false,
38
39
  serialized_name: 'Resource',
39
40
  type: {
@@ -41,6 +42,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
41
42
  class_name: 'Resource',
42
43
  model_properties: {
43
44
  id: {
45
+ client_side_validation: true,
44
46
  required: false,
45
47
  read_only: true,
46
48
  serialized_name: 'id',
@@ -49,6 +51,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
49
51
  }
50
52
  },
51
53
  name: {
54
+ client_side_validation: true,
52
55
  required: false,
53
56
  read_only: true,
54
57
  serialized_name: 'name',
@@ -57,6 +60,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
57
60
  }
58
61
  },
59
62
  type: {
63
+ client_side_validation: true,
60
64
  required: false,
61
65
  read_only: true,
62
66
  serialized_name: 'type',
@@ -65,6 +69,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
65
69
  }
66
70
  },
67
71
  location: {
72
+ client_side_validation: true,
68
73
  required: true,
69
74
  serialized_name: 'location',
70
75
  type: {
@@ -72,11 +77,13 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
72
77
  }
73
78
  },
74
79
  tags: {
80
+ client_side_validation: true,
75
81
  required: false,
76
82
  serialized_name: 'tags',
77
83
  type: {
78
84
  name: 'Dictionary',
79
85
  value: {
86
+ client_side_validation: true,
80
87
  required: false,
81
88
  serialized_name: 'StringElementType',
82
89
  type: {
@@ -25,6 +25,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'ResourceLimits',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
32
33
  class_name: 'ResourceLimits',
33
34
  model_properties: {
34
35
  memory_in_gb: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'memoryInGB',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
39
41
  }
40
42
  },
41
43
  cpu: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'cpu',
44
47
  type: {
@@ -25,6 +25,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'ResourceRequests',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
32
33
  class_name: 'ResourceRequests',
33
34
  model_properties: {
34
35
  memory_in_gb: {
36
+ client_side_validation: true,
35
37
  required: true,
36
38
  serialized_name: 'memoryInGB',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
39
41
  }
40
42
  },
41
43
  cpu: {
44
+ client_side_validation: true,
42
45
  required: true,
43
46
  serialized_name: 'cpu',
44
47
  type: {
@@ -27,6 +27,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'ResourceRequirements',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
34
35
  class_name: 'ResourceRequirements',
35
36
  model_properties: {
36
37
  requests: {
38
+ client_side_validation: true,
37
39
  required: true,
38
40
  serialized_name: 'requests',
39
41
  type: {
@@ -42,6 +44,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
42
44
  }
43
45
  },
44
46
  limits: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'limits',
47
50
  type: {
@@ -25,6 +25,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'Volume',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
32
33
  class_name: 'Volume',
33
34
  model_properties: {
34
35
  name: {
36
+ client_side_validation: true,
35
37
  required: true,
36
38
  serialized_name: 'name',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
39
41
  }
40
42
  },
41
43
  azure_file: {
44
+ client_side_validation: true,
42
45
  required: true,
43
46
  serialized_name: 'azureFile',
44
47
  type: {
@@ -30,6 +30,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
30
30
  #
31
31
  def self.mapper()
32
32
  {
33
+ client_side_validation: true,
33
34
  required: false,
34
35
  serialized_name: 'VolumeMount',
35
36
  type: {
@@ -37,6 +38,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
37
38
  class_name: 'VolumeMount',
38
39
  model_properties: {
39
40
  name: {
41
+ client_side_validation: true,
40
42
  required: true,
41
43
  serialized_name: 'name',
42
44
  type: {
@@ -44,6 +46,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
44
46
  }
45
47
  },
46
48
  mount_path: {
49
+ client_side_validation: true,
47
50
  required: true,
48
51
  serialized_name: 'mountPath',
49
52
  type: {
@@ -51,6 +54,7 @@ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
51
54
  }
52
55
  },
53
56
  read_only: {
57
+ client_side_validation: true,
54
58
  required: false,
55
59
  serialized_name: 'readOnly',
56
60
  type: {
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/containerinstance_module_definition'
6
6
  require 'profiles/latest/modules/containerinstance_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::ContainerInstance::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < ContainerInstanceClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::ContainerInstance::Mgmt
6
- VERSION = '0.15.1'
6
+ VERSION = '0.15.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_container_instance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.9.0
75
+ version: 0.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.0
82
+ version: 0.10.0
83
83
  description: Microsoft Azure Container Instance Services Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -114,11 +114,8 @@ files:
114
114
  - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb
115
115
  - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
116
116
  - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/module_definition.rb
117
- - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb
118
117
  - lib/azure_mgmt_container_instance.rb
119
118
  - lib/module_definition.rb
120
- - lib/profiles/common/configurable.rb
121
- - lib/profiles/common/default.rb
122
119
  - lib/profiles/latest/containerinstance_latest_profile_client.rb
123
120
  - lib/profiles/latest/containerinstance_module_definition.rb
124
121
  - lib/profiles/latest/modules/containerinstance_profile_module.rb
@@ -126,7 +123,12 @@ files:
126
123
  homepage: https://aka.ms/azure-sdk-for-ruby
127
124
  licenses:
128
125
  - MIT
129
- metadata: {}
126
+ metadata:
127
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
128
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
129
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
130
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
131
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_container_instance
130
132
  post_install_message:
131
133
  rdoc_options: []
132
134
  require_paths:
@@ -1,8 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator.
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
- VERSION = '0.15.1'
8
- end
@@ -1,86 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- # The Azure::Common::Configurable module provides basic configuration for Azure activities.
7
- module Configurable
8
- # @return [String] Azure tenant id (also known as domain).
9
- attr_accessor :tenant_id
10
-
11
- # @return [String] Azure client id.
12
- attr_accessor :client_id
13
-
14
- # @return [String] Azure secret key.
15
- attr_accessor :client_secret
16
-
17
- # @return [String] Azure subscription id.
18
- attr_accessor :subscription_id
19
-
20
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
- attr_accessor :active_directory_settings
22
-
23
- # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
- attr_accessor :credentials
25
-
26
- class << self
27
- #
28
- # List of configurable keys for {Azure::Common::Client}.
29
- # @return [Array] of option keys.
30
- #
31
- def keys
32
- @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
33
- end
34
- end
35
-
36
- #
37
- # Set configuration options using a block.
38
- #
39
- def configure
40
- yield self
41
- end
42
-
43
- #
44
- # Resets the configurable options to provided options or defaults.
45
- # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
- #
47
- def reset!(options = {})
48
- Azure::Common::Configurable.keys.each do |key|
49
- default_value = Azure::Common::Default.options[key]
50
- instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
- end
52
-
53
- fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
54
- fail ArgumentError, 'client_id is nil' if self.client_id.nil?
55
- fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
56
- fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
57
- fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
58
-
59
- default_value = MsRest::TokenCredentials.new(
60
- MsRestAzure::ApplicationTokenProvider.new(
61
- self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
62
-
63
- instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
64
-
65
- self
66
- end
67
-
68
- def config
69
- self
70
- end
71
-
72
- private
73
-
74
- #
75
- # configures configurable options to default values
76
- #
77
- def setup_default_options
78
- opts = {}
79
- Azure::Common::Configurable.keys.map do |key|
80
- opts[key] = Azure::Common::Default.options[key]
81
- end
82
-
83
- opts
84
- end
85
- end
86
- end
@@ -1,57 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- module Default
7
- class << self
8
- #
9
- # Default Azure Tenant Id.
10
- # @return [String] Azure Tenant Id.
11
- #
12
- def tenant_id
13
- ENV['AZURE_TENANT_ID']
14
- end
15
-
16
- #
17
- # Default Azure Client Id.
18
- # @return [String] Azure Client Id.
19
- #
20
- def client_id
21
- ENV['AZURE_CLIENT_ID']
22
- end
23
-
24
- #
25
- # Default Azure Client Secret.
26
- # @return [String] Azure Client Secret.
27
- #
28
- def client_secret
29
- ENV['AZURE_CLIENT_SECRET']
30
- end
31
-
32
- #
33
- # Default Azure Subscription Id.
34
- # @return [String] Azure Subscription Id.
35
- #
36
- def subscription_id
37
- ENV['AZURE_SUBSCRIPTION_ID']
38
- end
39
-
40
- #
41
- # Default Azure Active Directory Service Settings.
42
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
43
- #
44
- def active_directory_settings
45
- MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
46
- end
47
-
48
- #
49
- # Configuration options.
50
- # @return [Hash] Configuration options.
51
- #
52
- def options
53
- Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
54
- end
55
- end
56
- end
57
- end