azure_mgmt_recovery_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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/certificate_request.rb +2 -0
  3. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb +5 -0
  4. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +4 -0
  5. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb +2 -0
  6. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +3 -0
  7. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb +4 -0
  8. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +5 -0
  9. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/jobs_summary.rb +4 -0
  10. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/monitoring_summary.rb +7 -0
  11. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/name_info.rb +3 -0
  12. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb +3 -0
  13. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage.rb +7 -0
  14. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage_list.rb +3 -0
  15. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource.rb +5 -0
  16. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb +15 -0
  17. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb +13 -0
  18. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb +9 -0
  19. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/sku.rb +2 -0
  20. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +8 -0
  21. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +10 -0
  22. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault.rb +10 -0
  23. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb +5 -0
  24. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +9 -0
  25. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_list.rb +4 -0
  26. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +3 -0
  27. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage.rb +7 -0
  28. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb +3 -0
  29. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services_client.rb +1 -3
  30. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/backup_storage_config.rb +8 -0
  31. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/backup_vault_config.rb +8 -0
  32. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/resource.rb +5 -0
  33. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku.rb +2 -0
  34. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +8 -0
  35. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +10 -0
  36. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault.rb +10 -0
  37. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +9 -0
  38. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +3 -0
  39. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/recovery_services_backup_client.rb +1 -3
  40. data/lib/profiles/latest/recoveryservices_latest_profile_client.rb +1 -3
  41. data/lib/version.rb +1 -1
  42. metadata +10 -9
  43. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/version.rb +0 -8
  44. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/version.rb +0 -8
  45. data/lib/profiles/common/configurable.rb +0 -86
  46. data/lib/profiles/common/default.rb +0 -57
@@ -50,6 +50,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
50
50
  #
51
51
  def self.mapper()
52
52
  {
53
+ client_side_validation: true,
53
54
  required: false,
54
55
  serialized_name: 'UpgradeDetails',
55
56
  type: {
@@ -57,6 +58,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
57
58
  class_name: 'UpgradeDetails',
58
59
  model_properties: {
59
60
  operation_id: {
61
+ client_side_validation: true,
60
62
  required: false,
61
63
  read_only: true,
62
64
  serialized_name: 'operationId',
@@ -65,6 +67,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
65
67
  }
66
68
  },
67
69
  start_time_utc: {
70
+ client_side_validation: true,
68
71
  required: false,
69
72
  read_only: true,
70
73
  serialized_name: 'startTimeUtc',
@@ -73,6 +76,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
73
76
  }
74
77
  },
75
78
  last_updated_time_utc: {
79
+ client_side_validation: true,
76
80
  required: false,
77
81
  read_only: true,
78
82
  serialized_name: 'lastUpdatedTimeUtc',
@@ -81,6 +85,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
81
85
  }
82
86
  },
83
87
  end_time_utc: {
88
+ client_side_validation: true,
84
89
  required: false,
85
90
  read_only: true,
86
91
  serialized_name: 'endTimeUtc',
@@ -89,6 +94,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
89
94
  }
90
95
  },
91
96
  status: {
97
+ client_side_validation: true,
92
98
  required: false,
93
99
  read_only: true,
94
100
  serialized_name: 'status',
@@ -97,6 +103,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
97
103
  }
98
104
  },
99
105
  message: {
106
+ client_side_validation: true,
100
107
  required: false,
101
108
  read_only: true,
102
109
  serialized_name: 'message',
@@ -105,6 +112,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
105
112
  }
106
113
  },
107
114
  trigger_type: {
115
+ client_side_validation: true,
108
116
  required: false,
109
117
  read_only: true,
110
118
  serialized_name: 'triggerType',
@@ -113,6 +121,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
113
121
  }
114
122
  },
115
123
  upgraded_resource_id: {
124
+ client_side_validation: true,
116
125
  required: false,
117
126
  read_only: true,
118
127
  serialized_name: 'upgradedResourceId',
@@ -121,6 +130,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
121
130
  }
122
131
  },
123
132
  previous_resource_id: {
133
+ client_side_validation: true,
124
134
  required: false,
125
135
  read_only: true,
126
136
  serialized_name: 'previousResourceId',
@@ -25,6 +25,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'Vault',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
32
33
  class_name: 'Vault',
33
34
  model_properties: {
34
35
  id: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  read_only: true,
37
39
  serialized_name: 'id',
@@ -40,6 +42,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
40
42
  }
41
43
  },
42
44
  name: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  read_only: true,
45
48
  serialized_name: 'name',
@@ -48,6 +51,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
48
51
  }
49
52
  },
50
53
  type: {
54
+ client_side_validation: true,
51
55
  required: false,
52
56
  read_only: true,
53
57
  serialized_name: 'type',
@@ -56,6 +60,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
56
60
  }
57
61
  },
58
62
  e_tag: {
63
+ client_side_validation: true,
59
64
  required: false,
60
65
  serialized_name: 'eTag',
61
66
  type: {
@@ -63,6 +68,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
63
68
  }
64
69
  },
65
70
  location: {
71
+ client_side_validation: true,
66
72
  required: true,
67
73
  serialized_name: 'location',
68
74
  type: {
@@ -70,11 +76,13 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
70
76
  }
71
77
  },
72
78
  tags: {
79
+ client_side_validation: true,
73
80
  required: false,
74
81
  serialized_name: 'tags',
75
82
  type: {
76
83
  name: 'Dictionary',
77
84
  value: {
85
+ client_side_validation: true,
78
86
  required: false,
79
87
  serialized_name: 'StringElementType',
80
88
  type: {
@@ -84,6 +92,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
84
92
  }
85
93
  },
86
94
  properties: {
95
+ client_side_validation: true,
87
96
  required: false,
88
97
  serialized_name: 'properties',
89
98
  type: {
@@ -92,6 +101,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
92
101
  }
93
102
  },
94
103
  sku: {
104
+ client_side_validation: true,
95
105
  required: false,
96
106
  serialized_name: 'sku',
97
107
  type: {
@@ -31,6 +31,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
31
31
  #
32
32
  def self.mapper()
33
33
  {
34
+ client_side_validation: true,
34
35
  required: false,
35
36
  serialized_name: 'VaultExtendedInfoResource',
36
37
  type: {
@@ -38,6 +39,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
38
39
  class_name: 'VaultExtendedInfoResource',
39
40
  model_properties: {
40
41
  id: {
42
+ client_side_validation: true,
41
43
  required: false,
42
44
  read_only: true,
43
45
  serialized_name: 'id',
@@ -46,6 +48,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
46
48
  }
47
49
  },
48
50
  name: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  read_only: true,
51
54
  serialized_name: 'name',
@@ -54,6 +57,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
54
57
  }
55
58
  },
56
59
  type: {
60
+ client_side_validation: true,
57
61
  required: false,
58
62
  read_only: true,
59
63
  serialized_name: 'type',
@@ -62,6 +66,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
62
66
  }
63
67
  },
64
68
  e_tag: {
69
+ client_side_validation: true,
65
70
  required: false,
66
71
  serialized_name: 'eTag',
67
72
  type: {
@@ -69,6 +74,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
69
74
  }
70
75
  },
71
76
  integrity_key: {
77
+ client_side_validation: true,
72
78
  required: false,
73
79
  serialized_name: 'properties.integrityKey',
74
80
  type: {
@@ -76,6 +82,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
76
82
  }
77
83
  },
78
84
  encryption_key: {
85
+ client_side_validation: true,
79
86
  required: false,
80
87
  serialized_name: 'properties.encryptionKey',
81
88
  type: {
@@ -83,6 +90,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
83
90
  }
84
91
  },
85
92
  encryption_key_thumbprint: {
93
+ client_side_validation: true,
86
94
  required: false,
87
95
  serialized_name: 'properties.encryptionKeyThumbprint',
88
96
  type: {
@@ -90,6 +98,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
90
98
  }
91
99
  },
92
100
  algorithm: {
101
+ client_side_validation: true,
93
102
  required: false,
94
103
  serialized_name: 'properties.algorithm',
95
104
  type: {
@@ -25,6 +25,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'VaultProperties',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
32
33
  class_name: 'VaultProperties',
33
34
  model_properties: {
34
35
  provisioning_state: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  read_only: true,
37
39
  serialized_name: 'provisioningState',
@@ -40,6 +42,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
40
42
  }
41
43
  },
42
44
  upgrade_details: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  serialized_name: 'upgradeDetails',
45
48
  type: {
@@ -124,9 +124,7 @@ module Azure::RecoveryServices::Mgmt::V2016_12_01
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_recovery_services'
127
- if defined? Azure::RecoveryServices::Mgmt::V2016_12_01::VERSION
128
- sdk_information = "#{sdk_information}/#{Azure::RecoveryServices::Mgmt::V2016_12_01::VERSION}"
129
- end
127
+ sdk_information = "#{sdk_information}/0.15.2"
130
128
  add_user_agent_information(sdk_information)
131
129
  end
132
130
  end
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/recoveryservices_module_definition'
6
6
  require 'profiles/latest/modules/recoveryservices_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::RecoveryServices::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < RecoveryServicesClass
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::RecoveryServices::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_recovery_services
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 Recovery Services Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -129,7 +129,6 @@ files:
129
129
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_certificates.rb
130
130
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb
131
131
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/vaults.rb
132
- - lib/2016-06-01/generated/azure_mgmt_recovery_services/version.rb
133
132
  - lib/2016-12-01/generated/azure_mgmt_recovery_services.rb
134
133
  - lib/2016-12-01/generated/azure_mgmt_recovery_services/backup_storage_configs.rb
135
134
  - lib/2016-12-01/generated/azure_mgmt_recovery_services/backup_vault_configs.rb
@@ -151,11 +150,8 @@ files:
151
150
  - lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb
152
151
  - lib/2016-12-01/generated/azure_mgmt_recovery_services/module_definition.rb
153
152
  - lib/2016-12-01/generated/azure_mgmt_recovery_services/recovery_services_backup_client.rb
154
- - lib/2016-12-01/generated/azure_mgmt_recovery_services/version.rb
155
153
  - lib/azure_mgmt_recovery_services.rb
156
154
  - lib/module_definition.rb
157
- - lib/profiles/common/configurable.rb
158
- - lib/profiles/common/default.rb
159
155
  - lib/profiles/latest/modules/recoveryservices_profile_module.rb
160
156
  - lib/profiles/latest/recoveryservices_latest_profile_client.rb
161
157
  - lib/profiles/latest/recoveryservices_module_definition.rb
@@ -163,7 +159,12 @@ files:
163
159
  homepage: https://aka.ms/azure-sdk-for-ruby
164
160
  licenses:
165
161
  - MIT
166
- metadata: {}
162
+ metadata:
163
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
164
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
165
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
166
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
167
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_recovery_services
167
168
  post_install_message:
168
169
  rdoc_options: []
169
170
  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::RecoveryServices::Mgmt::V2016_06_01
7
- VERSION = '0.15.1'
8
- end
@@ -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::RecoveryServices::Mgmt::V2016_12_01
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