azure_mgmt_resources_management 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 (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +1 -3
  3. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/error_details.rb +4 -0
  4. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/error_response.rb +2 -0
  5. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group.rb +7 -0
  6. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +5 -0
  7. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_details_properties.rb +6 -0
  8. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +6 -0
  9. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +4 -0
  10. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb +7 -0
  11. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_with_children.rb +9 -0
  12. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_with_hierarchy.rb +9 -0
  13. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/operation.rb +3 -0
  14. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/operation_display.rb +4 -0
  15. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +4 -0
  16. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +3 -0
  17. data/lib/profiles/latest/resourcesmanagement_latest_profile_client.rb +1 -3
  18. data/lib/version.rb +1 -1
  19. metadata +10 -8
  20. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/version.rb +0 -8
  21. data/lib/profiles/common/configurable.rb +0 -86
  22. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8699ea88e6fab9295de79d7f98f8ae4fa06ecdc7
4
- data.tar.gz: 54d43b1f499692602412d085ab4599d7a298c289
3
+ metadata.gz: 93f6f53e3185ba1b5d518d584a353beb5ed49571
4
+ data.tar.gz: 64b9c0e044aecd4ee48fde2f947257bd79d1a3e9
5
5
  SHA512:
6
- metadata.gz: 2340b2e5bcd3a3003f423f05eee50e29cf467ee513b49b98709cf52db0fc634e07c2706d5839a8b77fa8b110fcfbf5fee513e21e39d1adb36cc5a3d3439d80b5
7
- data.tar.gz: 2995a77c6a56a90380a6001397046d473cb7ee4d6d750ccb32282b0f62157cdc4aec754d9fa1f05a6c72764fb908b0bc7af878008e5b37bdde514dbfe1908cba
6
+ metadata.gz: 56a6d848a3aada38483add1c148b354e132eda1a8b91878d30f33364765e9c23006cc18e0a1a0c05168ce700ff7d5b56a9a4966d44912c6c859828204b019d95
7
+ data.tar.gz: add8afe5bf2033fd20e4b33ebfae9a50a155506735df9f3eabdad5c17e490c8acf670bd9e5da7347c6e47da6deb9d8d3d20ce03703bfb2b11200ec0758e497fd
@@ -125,9 +125,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
125
125
  #
126
126
  def add_telemetry
127
127
  sdk_information = 'azure_mgmt_resources_management'
128
- if defined? Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::VERSION
129
- sdk_information = "#{sdk_information}/#{Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::VERSION}"
130
- end
128
+ sdk_information = "#{sdk_information}/0.15.2"
131
129
  add_user_agent_information(sdk_information)
132
130
  end
133
131
  end
@@ -28,6 +28,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'ErrorDetails',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
35
36
  class_name: 'ErrorDetails',
36
37
  model_properties: {
37
38
  code: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'code',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
42
44
  }
43
45
  },
44
46
  message: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'message',
47
50
  type: {
@@ -49,6 +52,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
49
52
  }
50
53
  },
51
54
  target: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'target',
54
58
  type: {
@@ -22,6 +22,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'ErrorResponse',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
29
30
  class_name: 'ErrorResponse',
30
31
  model_properties: {
31
32
  error: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'error',
34
36
  type: {
@@ -41,6 +41,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
41
41
  #
42
42
  def self.mapper()
43
43
  {
44
+ client_side_validation: true,
44
45
  required: false,
45
46
  serialized_name: 'ManagementGroup',
46
47
  type: {
@@ -48,6 +49,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
48
49
  class_name: 'ManagementGroup',
49
50
  model_properties: {
50
51
  id: {
52
+ client_side_validation: true,
51
53
  required: false,
52
54
  read_only: true,
53
55
  serialized_name: 'id',
@@ -56,6 +58,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
56
58
  }
57
59
  },
58
60
  type: {
61
+ client_side_validation: true,
59
62
  required: false,
60
63
  read_only: true,
61
64
  serialized_name: 'type',
@@ -64,6 +67,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
64
67
  }
65
68
  },
66
69
  name: {
70
+ client_side_validation: true,
67
71
  required: false,
68
72
  read_only: true,
69
73
  serialized_name: 'name',
@@ -72,6 +76,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
72
76
  }
73
77
  },
74
78
  tenant_id: {
79
+ client_side_validation: true,
75
80
  required: false,
76
81
  serialized_name: 'properties.tenantId',
77
82
  type: {
@@ -79,6 +84,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
79
84
  }
80
85
  },
81
86
  display_name: {
87
+ client_side_validation: true,
82
88
  required: false,
83
89
  serialized_name: 'properties.displayName',
84
90
  type: {
@@ -86,6 +92,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
86
92
  }
87
93
  },
88
94
  details: {
95
+ client_side_validation: true,
89
96
  required: false,
90
97
  serialized_name: 'properties.details',
91
98
  type: {
@@ -35,6 +35,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
35
35
  #
36
36
  def self.mapper()
37
37
  {
38
+ client_side_validation: true,
38
39
  required: false,
39
40
  serialized_name: 'ManagementGroupChildInfo',
40
41
  type: {
@@ -42,6 +43,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
42
43
  class_name: 'ManagementGroupChildInfo',
43
44
  model_properties: {
44
45
  child_type: {
46
+ client_side_validation: true,
45
47
  required: false,
46
48
  serialized_name: 'childType',
47
49
  type: {
@@ -49,6 +51,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
49
51
  }
50
52
  },
51
53
  child_id: {
54
+ client_side_validation: true,
52
55
  required: false,
53
56
  serialized_name: 'childId',
54
57
  type: {
@@ -56,6 +59,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
56
59
  }
57
60
  },
58
61
  display_name: {
62
+ client_side_validation: true,
59
63
  required: false,
60
64
  serialized_name: 'displayName',
61
65
  type: {
@@ -63,6 +67,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
63
67
  }
64
68
  },
65
69
  tenant_id: {
70
+ client_side_validation: true,
66
71
  required: false,
67
72
  serialized_name: 'tenantId',
68
73
  type: {
@@ -36,6 +36,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
36
36
  #
37
37
  def self.mapper()
38
38
  {
39
+ client_side_validation: true,
39
40
  required: false,
40
41
  serialized_name: 'ManagementGroupDetailsProperties',
41
42
  type: {
@@ -43,6 +44,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
43
44
  class_name: 'ManagementGroupDetailsProperties',
44
45
  model_properties: {
45
46
  version: {
47
+ client_side_validation: true,
46
48
  required: false,
47
49
  serialized_name: 'version',
48
50
  type: {
@@ -50,6 +52,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
50
52
  }
51
53
  },
52
54
  updated_time: {
55
+ client_side_validation: true,
53
56
  required: false,
54
57
  serialized_name: 'updatedTime',
55
58
  type: {
@@ -57,6 +60,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
57
60
  }
58
61
  },
59
62
  updated_by: {
63
+ client_side_validation: true,
60
64
  required: false,
61
65
  serialized_name: 'updatedBy',
62
66
  type: {
@@ -64,6 +68,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
64
68
  }
65
69
  },
66
70
  parent: {
71
+ client_side_validation: true,
67
72
  required: false,
68
73
  serialized_name: 'parent',
69
74
  type: {
@@ -72,6 +77,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
72
77
  }
73
78
  },
74
79
  management_group_type: {
80
+ client_side_validation: true,
75
81
  required: false,
76
82
  serialized_name: 'managementGroupType',
77
83
  type: {
@@ -38,6 +38,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
38
38
  #
39
39
  def self.mapper()
40
40
  {
41
+ client_side_validation: true,
41
42
  required: false,
42
43
  serialized_name: 'ManagementGroupInfo',
43
44
  type: {
@@ -45,6 +46,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
45
46
  class_name: 'ManagementGroupInfo',
46
47
  model_properties: {
47
48
  id: {
49
+ client_side_validation: true,
48
50
  required: false,
49
51
  read_only: true,
50
52
  serialized_name: 'id',
@@ -53,6 +55,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
53
55
  }
54
56
  },
55
57
  type: {
58
+ client_side_validation: true,
56
59
  required: false,
57
60
  read_only: true,
58
61
  serialized_name: 'type',
@@ -61,6 +64,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
61
64
  }
62
65
  },
63
66
  name: {
67
+ client_side_validation: true,
64
68
  required: false,
65
69
  read_only: true,
66
70
  serialized_name: 'name',
@@ -69,6 +73,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
69
73
  }
70
74
  },
71
75
  tenant_id: {
76
+ client_side_validation: true,
72
77
  required: false,
73
78
  serialized_name: 'properties.tenantId',
74
79
  type: {
@@ -76,6 +81,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
76
81
  }
77
82
  },
78
83
  display_name: {
84
+ client_side_validation: true,
79
85
  required: false,
80
86
  serialized_name: 'properties.displayName',
81
87
  type: {
@@ -57,6 +57,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'ManagementGroupListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
64
65
  class_name: 'ManagementGroupListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'ManagementGroupInfoElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  read_only: true,
84
88
  serialized_name: 'nextLink',
@@ -39,6 +39,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
39
39
  #
40
40
  def self.mapper()
41
41
  {
42
+ client_side_validation: true,
42
43
  required: false,
43
44
  serialized_name: 'ManagementGroupRecursiveChildInfo',
44
45
  type: {
@@ -46,6 +47,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
46
47
  class_name: 'ManagementGroupRecursiveChildInfo',
47
48
  model_properties: {
48
49
  child_type: {
50
+ client_side_validation: true,
49
51
  required: false,
50
52
  serialized_name: 'childType',
51
53
  type: {
@@ -53,6 +55,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
53
55
  }
54
56
  },
55
57
  child_id: {
58
+ client_side_validation: true,
56
59
  required: false,
57
60
  serialized_name: 'childId',
58
61
  type: {
@@ -60,6 +63,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
60
63
  }
61
64
  },
62
65
  display_name: {
66
+ client_side_validation: true,
63
67
  required: false,
64
68
  serialized_name: 'displayName',
65
69
  type: {
@@ -67,6 +71,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
67
71
  }
68
72
  },
69
73
  tenant_id: {
74
+ client_side_validation: true,
70
75
  required: false,
71
76
  serialized_name: 'tenantId',
72
77
  type: {
@@ -74,11 +79,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
74
79
  }
75
80
  },
76
81
  children: {
82
+ client_side_validation: true,
77
83
  required: false,
78
84
  serialized_name: 'children',
79
85
  type: {
80
86
  name: 'Sequence',
81
87
  element: {
88
+ client_side_validation: true,
82
89
  required: false,
83
90
  serialized_name: 'ManagementGroupRecursiveChildInfoElementType',
84
91
  type: {
@@ -44,6 +44,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
44
44
  #
45
45
  def self.mapper()
46
46
  {
47
+ client_side_validation: true,
47
48
  required: false,
48
49
  serialized_name: 'ManagementGroupWithChildren',
49
50
  type: {
@@ -51,6 +52,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
51
52
  class_name: 'ManagementGroupWithChildren',
52
53
  model_properties: {
53
54
  id: {
55
+ client_side_validation: true,
54
56
  required: false,
55
57
  read_only: true,
56
58
  serialized_name: 'id',
@@ -59,6 +61,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
59
61
  }
60
62
  },
61
63
  type: {
64
+ client_side_validation: true,
62
65
  required: false,
63
66
  read_only: true,
64
67
  serialized_name: 'type',
@@ -67,6 +70,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
67
70
  }
68
71
  },
69
72
  name: {
73
+ client_side_validation: true,
70
74
  required: false,
71
75
  read_only: true,
72
76
  serialized_name: 'name',
@@ -75,6 +79,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
75
79
  }
76
80
  },
77
81
  tenant_id: {
82
+ client_side_validation: true,
78
83
  required: false,
79
84
  serialized_name: 'properties.tenantId',
80
85
  type: {
@@ -82,6 +87,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
82
87
  }
83
88
  },
84
89
  display_name: {
90
+ client_side_validation: true,
85
91
  required: false,
86
92
  serialized_name: 'properties.displayName',
87
93
  type: {
@@ -89,6 +95,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
89
95
  }
90
96
  },
91
97
  details: {
98
+ client_side_validation: true,
92
99
  required: false,
93
100
  serialized_name: 'properties.details',
94
101
  type: {
@@ -97,11 +104,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
97
104
  }
98
105
  },
99
106
  children: {
107
+ client_side_validation: true,
100
108
  required: false,
101
109
  serialized_name: 'properties.children',
102
110
  type: {
103
111
  name: 'Sequence',
104
112
  element: {
113
+ client_side_validation: true,
105
114
  required: false,
106
115
  serialized_name: 'ManagementGroupChildInfoElementType',
107
116
  type: {
@@ -45,6 +45,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
45
45
  #
46
46
  def self.mapper()
47
47
  {
48
+ client_side_validation: true,
48
49
  required: false,
49
50
  serialized_name: 'ManagementGroupWithHierarchy',
50
51
  type: {
@@ -52,6 +53,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
52
53
  class_name: 'ManagementGroupWithHierarchy',
53
54
  model_properties: {
54
55
  id: {
56
+ client_side_validation: true,
55
57
  required: false,
56
58
  read_only: true,
57
59
  serialized_name: 'id',
@@ -60,6 +62,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
60
62
  }
61
63
  },
62
64
  type: {
65
+ client_side_validation: true,
63
66
  required: false,
64
67
  read_only: true,
65
68
  serialized_name: 'type',
@@ -68,6 +71,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
68
71
  }
69
72
  },
70
73
  name: {
74
+ client_side_validation: true,
71
75
  required: false,
72
76
  read_only: true,
73
77
  serialized_name: 'name',
@@ -76,6 +80,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
76
80
  }
77
81
  },
78
82
  tenant_id: {
83
+ client_side_validation: true,
79
84
  required: false,
80
85
  serialized_name: 'properties.tenantId',
81
86
  type: {
@@ -83,6 +88,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
83
88
  }
84
89
  },
85
90
  display_name: {
91
+ client_side_validation: true,
86
92
  required: false,
87
93
  serialized_name: 'properties.displayName',
88
94
  type: {
@@ -90,6 +96,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
90
96
  }
91
97
  },
92
98
  details: {
99
+ client_side_validation: true,
93
100
  required: false,
94
101
  serialized_name: 'properties.details',
95
102
  type: {
@@ -98,11 +105,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
98
105
  }
99
106
  },
100
107
  children: {
108
+ client_side_validation: true,
101
109
  required: false,
102
110
  serialized_name: 'properties.children',
103
111
  type: {
104
112
  name: 'Sequence',
105
113
  element: {
114
+ client_side_validation: true,
106
115
  required: false,
107
116
  serialized_name: 'ManagementGroupRecursiveChildInfoElementType',
108
117
  type: {
@@ -25,6 +25,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'Operation',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
32
33
  class_name: 'Operation',
33
34
  model_properties: {
34
35
  name: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  read_only: true,
37
39
  serialized_name: 'name',
@@ -40,6 +42,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
40
42
  }
41
43
  },
42
44
  display: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  serialized_name: 'display',
45
48
  type: {
@@ -29,6 +29,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'Operation_display',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
36
37
  class_name: 'OperationDisplay',
37
38
  model_properties: {
38
39
  provider: {
40
+ client_side_validation: true,
39
41
  required: false,
40
42
  read_only: true,
41
43
  serialized_name: 'provider',
@@ -44,6 +46,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
44
46
  }
45
47
  },
46
48
  resource: {
49
+ client_side_validation: true,
47
50
  required: false,
48
51
  read_only: true,
49
52
  serialized_name: 'resource',
@@ -52,6 +55,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
52
55
  }
53
56
  },
54
57
  operation: {
58
+ client_side_validation: true,
55
59
  required: false,
56
60
  read_only: true,
57
61
  serialized_name: 'operation',
@@ -60,6 +60,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
60
60
  #
61
61
  def self.mapper()
62
62
  {
63
+ client_side_validation: true,
63
64
  required: false,
64
65
  serialized_name: 'OperationListResult',
65
66
  type: {
@@ -67,12 +68,14 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
67
68
  class_name: 'OperationListResult',
68
69
  model_properties: {
69
70
  value: {
71
+ client_side_validation: true,
70
72
  required: false,
71
73
  read_only: true,
72
74
  serialized_name: 'value',
73
75
  type: {
74
76
  name: 'Sequence',
75
77
  element: {
78
+ client_side_validation: true,
76
79
  required: false,
77
80
  serialized_name: 'OperationElementType',
78
81
  type: {
@@ -83,6 +86,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
83
86
  }
84
87
  },
85
88
  next_link: {
89
+ client_side_validation: true,
86
90
  required: false,
87
91
  read_only: true,
88
92
  serialized_name: 'nextLink',
@@ -26,6 +26,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'ParentGroupInfo',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
33
34
  class_name: 'ParentGroupInfo',
34
35
  model_properties: {
35
36
  parent_id: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  serialized_name: 'parentId',
38
40
  type: {
@@ -40,6 +42,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
40
42
  }
41
43
  },
42
44
  display_name: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  serialized_name: 'displayName',
45
48
  type: {
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/resourcesmanagement_module_definition'
6
6
  require 'profiles/latest/modules/resourcesmanagement_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::ResourcesManagement::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < ResourcesManagementClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
data/lib/version.rb CHANGED
@@ -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::ResourcesManagement::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_resources_management
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 Resources Management Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -106,11 +106,8 @@ files:
106
106
  - lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb
107
107
  - lib/2017-08-31-preview/generated/azure_mgmt_resources_management/module_definition.rb
108
108
  - lib/2017-08-31-preview/generated/azure_mgmt_resources_management/operations.rb
109
- - lib/2017-08-31-preview/generated/azure_mgmt_resources_management/version.rb
110
109
  - lib/azure_mgmt_resources_management.rb
111
110
  - lib/module_definition.rb
112
- - lib/profiles/common/configurable.rb
113
- - lib/profiles/common/default.rb
114
111
  - lib/profiles/latest/modules/resourcesmanagement_profile_module.rb
115
112
  - lib/profiles/latest/resourcesmanagement_latest_profile_client.rb
116
113
  - lib/profiles/latest/resourcesmanagement_module_definition.rb
@@ -118,7 +115,12 @@ files:
118
115
  homepage: https://aka.ms/azure-sdk-for-ruby
119
116
  licenses:
120
117
  - MIT
121
- metadata: {}
118
+ metadata:
119
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
120
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
121
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
122
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
123
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_resources_management
122
124
  post_install_message:
123
125
  rdoc_options: []
124
126
  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::ResourcesManagement::Mgmt::V2017_08_31_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