azure_mgmt_recovery_services 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-01/generated/azure_mgmt_recovery_services.rb +66 -0
  3. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/auth_type.rb +1 -1
  4. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/certificate_request.rb +1 -1
  5. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_display.rb +1 -1
  6. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +1 -1
  7. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb +1 -1
  8. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +1 -1
  9. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_response.rb +1 -1
  10. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +1 -1
  11. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/jobs_summary.rb +1 -1
  12. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/monitoring_summary.rb +1 -1
  13. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/name_info.rb +1 -1
  14. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/raw_certificate_data.rb +1 -1
  15. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/replication_usage.rb +1 -1
  16. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/replication_usage_list.rb +1 -1
  17. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource.rb +1 -1
  18. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb +1 -1
  19. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb +1 -1
  20. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/resource_certificate_details.rb +1 -1
  21. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/sku.rb +1 -1
  22. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/sku_name.rb +1 -1
  23. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/tracked_resource.rb +1 -1
  24. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/trigger_type.rb +1 -1
  25. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/upgrade_details.rb +1 -1
  26. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/usages_unit.rb +1 -1
  27. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault.rb +1 -1
  28. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_certificate_response.rb +1 -1
  29. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +1 -1
  30. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_list.rb +1 -1
  31. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_properties.rb +1 -1
  32. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +1 -1
  33. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_usage.rb +1 -1
  34. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/models/vault_usage_list.rb +1 -1
  35. data/lib/2016-06-01/generated/azure_mgmt_recovery_services/module_definition.rb +9 -0
  36. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/operations.rb +5 -5
  37. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/recovery_services_client.rb +7 -11
  38. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/registered_identities.rb +3 -3
  39. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/replication_usages.rb +4 -4
  40. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/usages.rb +4 -4
  41. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vault_certificates.rb +5 -5
  42. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vault_extended_info_operations.rb +12 -12
  43. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/vaults.rb +22 -22
  44. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services/version.rb +2 -2
  45. data/lib/2016-12-01/generated/azure_mgmt_recovery_services.rb +45 -0
  46. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/backup_storage_configs.rb +9 -9
  47. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/backup_vault_configs.rb +10 -10
  48. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/backup_storage_config.rb +1 -1
  49. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/backup_vault_config.rb +1 -1
  50. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/enhanced_security_state.rb +1 -1
  51. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/resource.rb +79 -0
  52. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku.rb +45 -0
  53. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/sku_name.rb +16 -0
  54. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_model_type.rb +1 -1
  55. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_type.rb +1 -1
  56. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services/models/storage_type_state.rb +1 -1
  57. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +92 -0
  58. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/trigger_type.rb +16 -0
  59. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +137 -0
  60. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault.rb +108 -0
  61. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +105 -0
  62. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +56 -0
  63. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +18 -0
  64. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/module_definition.rb +9 -0
  65. data/lib/2016-12-01/generated/azure_mgmt_recovery_services/recovery_services_backup_client.rb +133 -0
  66. data/lib/{generated/azure_mgmt_recovery_services/module_definition.rb → 2016-12-01/generated/azure_mgmt_recovery_services/version.rb} +3 -3
  67. data/lib/azure_mgmt_recovery_services.rb +3 -1
  68. data/lib/module_definition.rb +8 -0
  69. data/lib/profiles/common/configurable.rb +73 -0
  70. data/lib/profiles/common/default.rb +68 -0
  71. data/lib/profiles/latest/modules/recoveryservices_profile_module.rb +215 -0
  72. data/lib/profiles/latest/recoveryservices_latest_profile_client.rb +33 -0
  73. data/lib/profiles/latest/recoveryservices_module_definition.rb +9 -0
  74. data/lib/version.rb +7 -0
  75. metadata +74 -53
  76. data/lib/generated/azure_mgmt_recovery_services.rb +0 -74
@@ -0,0 +1,16 @@
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
+ module Models
8
+ #
9
+ # Defines values for TriggerType
10
+ #
11
+ module TriggerType
12
+ UserTriggered = "UserTriggered"
13
+ ForcedUpgrade = "ForcedUpgrade"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,137 @@
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
+ module Models
8
+ #
9
+ # Details for upgrading vault.
10
+ #
11
+ class UpgradeDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] ID of the vault upgrade operation.
16
+ attr_accessor :operation_id
17
+
18
+ # @return [DateTime] UTC time at which the upgrade operation has started.
19
+ attr_accessor :start_time_utc
20
+
21
+ # @return [DateTime] UTC time at which the upgrade operation status was
22
+ # last updated.
23
+ attr_accessor :last_updated_time_utc
24
+
25
+ # @return [DateTime] UTC time at which the upgrade operation has ended.
26
+ attr_accessor :end_time_utc
27
+
28
+ # @return [VaultUpgradeState] Status of the vault upgrade operation.
29
+ # Possible values include: 'Unknown', 'InProgress', 'Upgraded', 'Failed'
30
+ attr_accessor :status
31
+
32
+ # @return [String] Message to the user containing information about the
33
+ # upgrade operation.
34
+ attr_accessor :message
35
+
36
+ # @return [TriggerType] The way the vault upgradation was triggered.
37
+ # Possible values include: 'UserTriggered', 'ForcedUpgrade'
38
+ attr_accessor :trigger_type
39
+
40
+ # @return [String] Resource ID of the upgraded vault.
41
+ attr_accessor :upgraded_resource_id
42
+
43
+ # @return [String] Resource ID of the vault before the upgrade.
44
+ attr_accessor :previous_resource_id
45
+
46
+
47
+ #
48
+ # Mapper for UpgradeDetails class as Ruby Hash.
49
+ # This will be used for serialization/deserialization.
50
+ #
51
+ def self.mapper()
52
+ {
53
+ required: false,
54
+ serialized_name: 'UpgradeDetails',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'UpgradeDetails',
58
+ model_properties: {
59
+ operation_id: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'operationId',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ start_time_utc: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'startTimeUtc',
71
+ type: {
72
+ name: 'DateTime'
73
+ }
74
+ },
75
+ last_updated_time_utc: {
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'lastUpdatedTimeUtc',
79
+ type: {
80
+ name: 'DateTime'
81
+ }
82
+ },
83
+ end_time_utc: {
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'endTimeUtc',
87
+ type: {
88
+ name: 'DateTime'
89
+ }
90
+ },
91
+ status: {
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'status',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ message: {
100
+ required: false,
101
+ read_only: true,
102
+ serialized_name: 'message',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ },
107
+ trigger_type: {
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'triggerType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ upgraded_resource_id: {
116
+ required: false,
117
+ read_only: true,
118
+ serialized_name: 'upgradedResourceId',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ previous_resource_id: {
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'previousResourceId',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ end
135
+ end
136
+ end
137
+ end
@@ -0,0 +1,108 @@
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
+ module Models
8
+ #
9
+ # Resource information, as returned by the resource provider.
10
+ #
11
+ class Vault < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [VaultProperties]
16
+ attr_accessor :properties
17
+
18
+ # @return [Sku]
19
+ attr_accessor :sku
20
+
21
+
22
+ #
23
+ # Mapper for Vault class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'Vault',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'Vault',
33
+ model_properties: {
34
+ id: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'type',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ e_tag: {
59
+ required: false,
60
+ serialized_name: 'eTag',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ location: {
66
+ required: true,
67
+ serialized_name: 'location',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ tags: {
73
+ required: false,
74
+ serialized_name: 'tags',
75
+ type: {
76
+ name: 'Dictionary',
77
+ value: {
78
+ required: false,
79
+ serialized_name: 'StringElementType',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ properties: {
87
+ required: false,
88
+ serialized_name: 'properties',
89
+ type: {
90
+ name: 'Composite',
91
+ class_name: 'VaultProperties'
92
+ }
93
+ },
94
+ sku: {
95
+ required: false,
96
+ serialized_name: 'sku',
97
+ type: {
98
+ name: 'Composite',
99
+ class_name: 'Sku'
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ end
106
+ end
107
+ end
108
+ end
@@ -0,0 +1,105 @@
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
+ module Models
8
+ #
9
+ # Vault extended information.
10
+ #
11
+ class VaultExtendedInfoResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Integrity key.
16
+ attr_accessor :integrity_key
17
+
18
+ # @return [String] Encryption key.
19
+ attr_accessor :encryption_key
20
+
21
+ # @return [String] Encryption key thumbprint.
22
+ attr_accessor :encryption_key_thumbprint
23
+
24
+ # @return [String] Algorithm.
25
+ attr_accessor :algorithm
26
+
27
+
28
+ #
29
+ # Mapper for VaultExtendedInfoResource class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'VaultExtendedInfoResource',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'VaultExtendedInfoResource',
39
+ model_properties: {
40
+ id: {
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ name: {
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'type',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ e_tag: {
65
+ required: false,
66
+ serialized_name: 'eTag',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ integrity_key: {
72
+ required: false,
73
+ serialized_name: 'properties.integrityKey',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ encryption_key: {
79
+ required: false,
80
+ serialized_name: 'properties.encryptionKey',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ encryption_key_thumbprint: {
86
+ required: false,
87
+ serialized_name: 'properties.encryptionKeyThumbprint',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ algorithm: {
93
+ required: false,
94
+ serialized_name: 'properties.algorithm',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ end
103
+ end
104
+ end
105
+ end
@@ -0,0 +1,56 @@
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
+ module Models
8
+ #
9
+ # Properties of the vault.
10
+ #
11
+ class VaultProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Provisioning State.
16
+ attr_accessor :provisioning_state
17
+
18
+ # @return [UpgradeDetails]
19
+ attr_accessor :upgrade_details
20
+
21
+
22
+ #
23
+ # Mapper for VaultProperties class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'VaultProperties',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'VaultProperties',
33
+ model_properties: {
34
+ provisioning_state: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'provisioningState',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ upgrade_details: {
43
+ required: false,
44
+ serialized_name: 'upgradeDetails',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'UpgradeDetails'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,18 @@
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
+ module Models
8
+ #
9
+ # Defines values for VaultUpgradeState
10
+ #
11
+ module VaultUpgradeState
12
+ Unknown = "Unknown"
13
+ InProgress = "InProgress"
14
+ Upgraded = "Upgraded"
15
+ Failed = "Failed"
16
+ end
17
+ end
18
+ end