azure_mgmt_analysis_services 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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/analysis_services_management_client.rb +1 -3
  3. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/analysis_services_server.rb +13 -0
  4. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb +6 -0
  5. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/analysis_services_servers.rb +3 -0
  6. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/resource.rb +8 -0
  7. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/resource_sku.rb +3 -0
  8. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/server_administrators.rb +3 -0
  9. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/sku_details_for_existing_resource.rb +2 -0
  10. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/sku_enumeration_for_existing_resource_result.rb +3 -0
  11. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/models/sku_enumeration_for_new_resource_result.rb +3 -0
  12. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/servers.rb +45 -0
  13. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/analysis_services_management_client.rb +1 -3
  14. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/analysis_services_server.rb +14 -0
  15. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/analysis_services_server_update_parameters.rb +7 -0
  16. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/analysis_services_servers.rb +3 -0
  17. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/gateway_details.rb +4 -0
  18. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/gateway_error.rb +3 -0
  19. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/gateway_list_status_error.rb +2 -0
  20. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/gateway_list_status_live.rb +2 -0
  21. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/resource.rb +8 -0
  22. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/resource_sku.rb +3 -0
  23. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/server_administrators.rb +3 -0
  24. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/sku_details_for_existing_resource.rb +2 -0
  25. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/sku_enumeration_for_existing_resource_result.rb +3 -0
  26. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/models/sku_enumeration_for_new_resource_result.rb +3 -0
  27. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/servers.rb +57 -0
  28. data/lib/profiles/latest/analysisservices_latest_profile_client.rb +1 -3
  29. data/lib/version.rb +1 -1
  30. metadata +10 -9
  31. data/lib/2016-05-16/generated/azure_mgmt_analysis_services/version.rb +0 -8
  32. data/lib/2017-07-14/generated/azure_mgmt_analysis_services/version.rb +0 -8
  33. data/lib/profiles/common/configurable.rb +0 -86
  34. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34db8e0c97bb0bc2ff0d2c9955ca1d1b333b44aa
4
- data.tar.gz: f52de4ec050b44865d31ad316533d0efdc4e5381
3
+ metadata.gz: 2033a150bcfc6b99572e1b12ac9d8b6bbb5ac275
4
+ data.tar.gz: 6c48d5e1f22bbf8698882d85ae119299c6dcbd48
5
5
  SHA512:
6
- metadata.gz: 819204f4f7e414ed9959e76833b5333f1376861202a8c3852516d16880e4fed59654b9c9de6b0a684705ce889ba6ea41a0d3658eef0f1e69adbd596a0e22e7af
7
- data.tar.gz: 77d7d099d65882cd3fec80878a8795b5f3578a1d7cf1ca909d8998d49b441f0fe9592ec61909f157a951a05f421bca5916a40037e77b6312d93de20cd426e63d
6
+ metadata.gz: 1b75ae775f65985579b4ac8da73c28f2e8b09f3499a81e9f6528137b12326369eeac801b87897f5be19e882fcfbc79559148508138b4ec88ea015e2e9f712efa
7
+ data.tar.gz: 81d63ea0e4f05bc6b7bd38b4655ded2fd789d50d9da45255a7f05ce13d0a5747eb211f064dff0b2f42a016631fd4f3aa8e5d2e2d82d470b0739cfeec50e66ca5
@@ -121,9 +121,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
121
121
  #
122
122
  def add_telemetry
123
123
  sdk_information = 'azure_mgmt_analysis_services'
124
- if defined? Azure::AnalysisServices::Mgmt::V2016_05_16::VERSION
125
- sdk_information = "#{sdk_information}/#{Azure::AnalysisServices::Mgmt::V2016_05_16::VERSION}"
126
- end
124
+ sdk_information = "#{sdk_information}/0.15.2"
127
125
  add_user_agent_information(sdk_information)
128
126
  end
129
127
  end
@@ -42,6 +42,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
42
42
  #
43
43
  def self.mapper()
44
44
  {
45
+ client_side_validation: true,
45
46
  required: false,
46
47
  serialized_name: 'AnalysisServicesServer',
47
48
  type: {
@@ -49,6 +50,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
49
50
  class_name: 'AnalysisServicesServer',
50
51
  model_properties: {
51
52
  id: {
53
+ client_side_validation: true,
52
54
  required: false,
53
55
  read_only: true,
54
56
  serialized_name: 'id',
@@ -57,6 +59,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
57
59
  }
58
60
  },
59
61
  name: {
62
+ client_side_validation: true,
60
63
  required: false,
61
64
  read_only: true,
62
65
  serialized_name: 'name',
@@ -65,6 +68,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
65
68
  }
66
69
  },
67
70
  type: {
71
+ client_side_validation: true,
68
72
  required: false,
69
73
  read_only: true,
70
74
  serialized_name: 'type',
@@ -73,6 +77,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
73
77
  }
74
78
  },
75
79
  location: {
80
+ client_side_validation: true,
76
81
  required: true,
77
82
  serialized_name: 'location',
78
83
  type: {
@@ -80,6 +85,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
80
85
  }
81
86
  },
82
87
  sku: {
88
+ client_side_validation: true,
83
89
  required: true,
84
90
  serialized_name: 'sku',
85
91
  type: {
@@ -88,11 +94,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
88
94
  }
89
95
  },
90
96
  tags: {
97
+ client_side_validation: true,
91
98
  required: false,
92
99
  serialized_name: 'tags',
93
100
  type: {
94
101
  name: 'Dictionary',
95
102
  value: {
103
+ client_side_validation: true,
96
104
  required: false,
97
105
  serialized_name: 'StringElementType',
98
106
  type: {
@@ -102,6 +110,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
102
110
  }
103
111
  },
104
112
  as_administrators: {
113
+ client_side_validation: true,
105
114
  required: false,
106
115
  serialized_name: 'properties.asAdministrators',
107
116
  type: {
@@ -110,6 +119,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
110
119
  }
111
120
  },
112
121
  backup_blob_container_uri: {
122
+ client_side_validation: true,
113
123
  required: false,
114
124
  serialized_name: 'properties.backupBlobContainerUri',
115
125
  type: {
@@ -117,6 +127,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
117
127
  }
118
128
  },
119
129
  state: {
130
+ client_side_validation: true,
120
131
  required: false,
121
132
  read_only: true,
122
133
  serialized_name: 'properties.state',
@@ -125,6 +136,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
125
136
  }
126
137
  },
127
138
  provisioning_state: {
139
+ client_side_validation: true,
128
140
  required: false,
129
141
  read_only: true,
130
142
  serialized_name: 'properties.provisioningState',
@@ -133,6 +145,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
133
145
  }
134
146
  },
135
147
  server_full_name: {
148
+ client_side_validation: true,
136
149
  required: false,
137
150
  read_only: true,
138
151
  serialized_name: 'properties.serverFullName',
@@ -32,6 +32,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'AnalysisServicesServerUpdateParameters',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
39
40
  class_name: 'AnalysisServicesServerUpdateParameters',
40
41
  model_properties: {
41
42
  sku: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  serialized_name: 'sku',
44
46
  type: {
@@ -47,11 +49,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
47
49
  }
48
50
  },
49
51
  tags: {
52
+ client_side_validation: true,
50
53
  required: false,
51
54
  serialized_name: 'tags',
52
55
  type: {
53
56
  name: 'Dictionary',
54
57
  value: {
58
+ client_side_validation: true,
55
59
  required: false,
56
60
  serialized_name: 'StringElementType',
57
61
  type: {
@@ -61,6 +65,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
61
65
  }
62
66
  },
63
67
  as_administrators: {
68
+ client_side_validation: true,
64
69
  required: false,
65
70
  serialized_name: 'properties.asAdministrators',
66
71
  type: {
@@ -69,6 +74,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
69
74
  }
70
75
  },
71
76
  backup_blob_container_uri: {
77
+ client_side_validation: true,
72
78
  required: false,
73
79
  serialized_name: 'properties.backupBlobContainerUri',
74
80
  type: {
@@ -23,6 +23,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'AnalysisServicesServers',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
30
31
  class_name: 'AnalysisServicesServers',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: true,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'AnalysisServicesServerElementType',
40
43
  type: {
@@ -39,6 +39,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
39
39
  #
40
40
  def self.mapper()
41
41
  {
42
+ client_side_validation: true,
42
43
  required: false,
43
44
  serialized_name: 'Resource',
44
45
  type: {
@@ -46,6 +47,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
46
47
  class_name: 'Resource',
47
48
  model_properties: {
48
49
  id: {
50
+ client_side_validation: true,
49
51
  required: false,
50
52
  read_only: true,
51
53
  serialized_name: 'id',
@@ -54,6 +56,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
54
56
  }
55
57
  },
56
58
  name: {
59
+ client_side_validation: true,
57
60
  required: false,
58
61
  read_only: true,
59
62
  serialized_name: 'name',
@@ -62,6 +65,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
62
65
  }
63
66
  },
64
67
  type: {
68
+ client_side_validation: true,
65
69
  required: false,
66
70
  read_only: true,
67
71
  serialized_name: 'type',
@@ -70,6 +74,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
70
74
  }
71
75
  },
72
76
  location: {
77
+ client_side_validation: true,
73
78
  required: true,
74
79
  serialized_name: 'location',
75
80
  type: {
@@ -77,6 +82,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
77
82
  }
78
83
  },
79
84
  sku: {
85
+ client_side_validation: true,
80
86
  required: true,
81
87
  serialized_name: 'sku',
82
88
  type: {
@@ -85,11 +91,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
85
91
  }
86
92
  },
87
93
  tags: {
94
+ client_side_validation: true,
88
95
  required: false,
89
96
  serialized_name: 'tags',
90
97
  type: {
91
98
  name: 'Dictionary',
92
99
  value: {
100
+ client_side_validation: true,
93
101
  required: false,
94
102
  serialized_name: 'StringElementType',
95
103
  type: {
@@ -27,6 +27,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'ResourceSku',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
34
35
  class_name: 'ResourceSku',
35
36
  model_properties: {
36
37
  name: {
38
+ client_side_validation: true,
37
39
  required: true,
38
40
  serialized_name: 'name',
39
41
  type: {
@@ -41,6 +43,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
41
43
  }
42
44
  },
43
45
  tier: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'tier',
46
49
  type: {
@@ -22,6 +22,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'ServerAdministrators',
27
28
  type: {
@@ -29,11 +30,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
29
30
  class_name: 'ServerAdministrators',
30
31
  model_properties: {
31
32
  members: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'members',
34
36
  type: {
35
37
  name: 'Sequence',
36
38
  element: {
39
+ client_side_validation: true,
37
40
  required: false,
38
41
  serialized_name: 'StringElementType',
39
42
  type: {
@@ -22,6 +22,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'SkuDetailsForExistingResource',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
29
30
  class_name: 'SkuDetailsForExistingResource',
30
31
  model_properties: {
31
32
  sku: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'sku',
34
36
  type: {
@@ -23,6 +23,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'SkuEnumerationForExistingResourceResult',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
30
31
  class_name: 'SkuEnumerationForExistingResourceResult',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'SkuDetailsForExistingResourceElementType',
40
43
  type: {
@@ -23,6 +23,7 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'SkuEnumerationForNewResourceResult',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
30
31
  class_name: 'SkuEnumerationForNewResourceResult',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'ResourceSkuElementType',
40
43
  type: {
@@ -73,7 +73,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
73
73
  #
74
74
  def get_details_async(resource_group_name, server_name, custom_headers = nil)
75
75
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
76
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
77
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
78
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
76
79
  fail ArgumentError, 'server_name is nil' if server_name.nil?
80
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
81
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
82
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
77
83
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
78
84
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
79
85
 
@@ -404,6 +410,9 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
404
410
  #
405
411
  def list_by_resource_group_async(resource_group_name, custom_headers = nil)
406
412
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
413
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
414
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
415
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
407
416
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
408
417
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
409
418
 
@@ -669,7 +678,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
669
678
  #
670
679
  def list_skus_for_existing_async(resource_group_name, server_name, custom_headers = nil)
671
680
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
681
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
682
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
683
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
672
684
  fail ArgumentError, 'server_name is nil' if server_name.nil?
685
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
686
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
687
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
673
688
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
674
689
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
675
690
 
@@ -778,7 +793,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
778
793
  #
779
794
  def begin_create_async(resource_group_name, server_name, server_parameters, custom_headers = nil)
780
795
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
796
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
797
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
798
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
781
799
  fail ArgumentError, 'server_name is nil' if server_name.nil?
800
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
801
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
802
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
782
803
  fail ArgumentError, 'server_parameters is nil' if server_parameters.nil?
783
804
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
784
805
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -897,7 +918,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
897
918
  #
898
919
  def begin_delete_async(resource_group_name, server_name, custom_headers = nil)
899
920
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
921
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
922
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
923
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
900
924
  fail ArgumentError, 'server_name is nil' if server_name.nil?
925
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
926
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
927
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
901
928
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
902
929
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
903
930
 
@@ -993,7 +1020,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
993
1020
  #
994
1021
  def begin_update_async(resource_group_name, server_name, server_update_parameters, custom_headers = nil)
995
1022
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1023
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1024
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1025
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
996
1026
  fail ArgumentError, 'server_name is nil' if server_name.nil?
1027
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
1028
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
1029
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
997
1030
  fail ArgumentError, 'server_update_parameters is nil' if server_update_parameters.nil?
998
1031
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
999
1032
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -1112,7 +1145,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
1112
1145
  #
1113
1146
  def begin_suspend_async(resource_group_name, server_name, custom_headers = nil)
1114
1147
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1148
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1149
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1150
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1115
1151
  fail ArgumentError, 'server_name is nil' if server_name.nil?
1152
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
1153
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
1154
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
1116
1155
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1117
1156
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1118
1157
 
@@ -1201,7 +1240,13 @@ module Azure::AnalysisServices::Mgmt::V2016_05_16
1201
1240
  #
1202
1241
  def begin_resume_async(resource_group_name, server_name, custom_headers = nil)
1203
1242
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1243
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
1244
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
1245
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
1204
1246
  fail ArgumentError, 'server_name is nil' if server_name.nil?
1247
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MaxLength': '63'" if !server_name.nil? && server_name.length > 63
1248
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'MinLength': '3'" if !server_name.nil? && server_name.length < 3
1249
+ fail ArgumentError, "'server_name' should satisfy the constraint - 'Pattern': '^[a-z][a-z0-9]*$'" if !server_name.nil? && server_name.match(Regexp.new('^^[a-z][a-z0-9]*$$')).nil?
1205
1250
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1206
1251
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1207
1252