azure_mgmt_recovery_services 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_recovery_services.rb +40 -1
  3. data/lib/generated/azure_mgmt_recovery_services/backup_storage_configs.rb +215 -0
  4. data/lib/generated/azure_mgmt_recovery_services/backup_vault_configs.rb +226 -0
  5. data/lib/generated/azure_mgmt_recovery_services/models/auth_type.rb +19 -0
  6. data/lib/generated/azure_mgmt_recovery_services/models/backup_storage_config.rb +100 -0
  7. data/lib/generated/azure_mgmt_recovery_services/models/backup_vault_config.rb +100 -0
  8. data/lib/generated/azure_mgmt_recovery_services/models/certificate_request.rb +46 -0
  9. data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb +79 -0
  10. data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +68 -0
  11. data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +55 -0
  12. data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb +97 -0
  13. data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +82 -0
  14. data/lib/generated/azure_mgmt_recovery_services/models/enhanced_security_state.rb +17 -0
  15. data/lib/generated/azure_mgmt_recovery_services/models/jobs_summary.rb +65 -0
  16. data/lib/generated/azure_mgmt_recovery_services/models/monitoring_summary.rb +97 -0
  17. data/lib/generated/azure_mgmt_recovery_services/models/name_info.rb +55 -0
  18. data/lib/generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb +57 -0
  19. data/lib/generated/azure_mgmt_recovery_services/models/replication_usage.rb +100 -0
  20. data/lib/generated/azure_mgmt_recovery_services/models/replication_usage_list.rb +54 -0
  21. data/lib/generated/azure_mgmt_recovery_services/models/resource.rb +7 -29
  22. data/lib/generated/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb +155 -0
  23. data/lib/generated/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb +135 -0
  24. data/lib/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb +128 -0
  25. data/lib/generated/azure_mgmt_recovery_services/models/sku.rb +2 -1
  26. data/lib/generated/azure_mgmt_recovery_services/models/sku_name.rb +1 -1
  27. data/lib/generated/azure_mgmt_recovery_services/models/storage_model_type.rb +17 -0
  28. data/lib/generated/azure_mgmt_recovery_services/models/storage_type.rb +17 -0
  29. data/lib/generated/azure_mgmt_recovery_services/models/storage_type_state.rb +17 -0
  30. data/lib/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +93 -0
  31. data/lib/generated/azure_mgmt_recovery_services/models/trigger_type.rb +16 -0
  32. data/lib/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +138 -0
  33. data/lib/generated/azure_mgmt_recovery_services/models/usages_unit.rb +20 -0
  34. data/lib/generated/azure_mgmt_recovery_services/models/vault.rb +19 -19
  35. data/lib/generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb +79 -0
  36. data/lib/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +106 -0
  37. data/lib/generated/azure_mgmt_recovery_services/models/vault_list.rb +13 -32
  38. data/lib/generated/azure_mgmt_recovery_services/models/vault_properties.rb +13 -1
  39. data/lib/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +18 -0
  40. data/lib/generated/azure_mgmt_recovery_services/models/vault_usage.rb +98 -0
  41. data/lib/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb +53 -0
  42. data/lib/generated/azure_mgmt_recovery_services/module_definition.rb +1 -1
  43. data/lib/generated/azure_mgmt_recovery_services/operations.rb +224 -0
  44. data/lib/generated/azure_mgmt_recovery_services/recovery_services_client.rb +33 -5
  45. data/lib/generated/azure_mgmt_recovery_services/registered_identities.rb +112 -0
  46. data/lib/generated/azure_mgmt_recovery_services/replication_usages.rb +119 -0
  47. data/lib/generated/azure_mgmt_recovery_services/usages.rb +119 -0
  48. data/lib/generated/azure_mgmt_recovery_services/vault_certificates.rb +139 -0
  49. data/lib/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb +339 -0
  50. data/lib/generated/azure_mgmt_recovery_services/vaults.rb +230 -139
  51. data/lib/generated/azure_mgmt_recovery_services/version.rb +2 -2
  52. metadata +43 -4
@@ -0,0 +1,128 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
7
+ module Models
8
+ #
9
+ # Certificate details representing the Vault credentials.
10
+ #
11
+ class ResourceCertificateDetails
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["AzureActiveDirectory"] = "ResourceCertificateAndAadDetails"
18
+ @@discriminatorMap["AccessControlService"] = "ResourceCertificateAndAcsDetails"
19
+
20
+ def initialize
21
+ @authType = "ResourceCertificateDetails"
22
+ end
23
+
24
+ attr_accessor :authType
25
+
26
+ # @return [Array<Integer>] The base64 encoded certificate raw data
27
+ # string.
28
+ attr_accessor :certificate
29
+
30
+ # @return [String] Certificate friendlyname.
31
+ attr_accessor :friendly_name
32
+
33
+ # @return [String] Certificate issuer.
34
+ attr_accessor :issuer
35
+
36
+ # @return [Integer] Resource ID of the vault.
37
+ attr_accessor :resource_id
38
+
39
+ # @return [String] Certificate Subject Name.
40
+ attr_accessor :subject
41
+
42
+ # @return [String] Certificate thumbprint.
43
+ attr_accessor :thumbprint
44
+
45
+ # @return [DateTime] Certificate Validity start Date time.
46
+ attr_accessor :valid_from
47
+
48
+ # @return [DateTime] Certificate Validity End Date time.
49
+ attr_accessor :valid_to
50
+
51
+
52
+ #
53
+ # Mapper for ResourceCertificateDetails class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ required: false,
59
+ serialized_name: 'ResourceCertificateDetails',
60
+ type: {
61
+ name: 'Composite',
62
+ polymorphic_discriminator: 'authType',
63
+ uber_parent: 'ResourceCertificateDetails',
64
+ class_name: 'ResourceCertificateDetails',
65
+ model_properties: {
66
+ certificate: {
67
+ required: false,
68
+ serialized_name: 'certificate',
69
+ type: {
70
+ name: 'ByteArray'
71
+ }
72
+ },
73
+ friendly_name: {
74
+ required: false,
75
+ serialized_name: 'friendlyName',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ issuer: {
81
+ required: false,
82
+ serialized_name: 'issuer',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ resource_id: {
88
+ required: false,
89
+ serialized_name: 'resourceId',
90
+ type: {
91
+ name: 'Number'
92
+ }
93
+ },
94
+ subject: {
95
+ required: false,
96
+ serialized_name: 'subject',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ thumbprint: {
102
+ required: false,
103
+ serialized_name: 'thumbprint',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ valid_from: {
109
+ required: false,
110
+ serialized_name: 'validFrom',
111
+ type: {
112
+ name: 'DateTime'
113
+ }
114
+ },
115
+ valid_to: {
116
+ required: false,
117
+ serialized_name: 'validTo',
118
+ type: {
119
+ name: 'DateTime'
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ end
126
+ end
127
+ end
128
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::RecoveryServices
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [SkuName] The Sku name. Possible values include: 'Standard',
16
17
  # 'RS0'
17
18
  attr_accessor :name
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
7
+ module Models
8
+ #
9
+ # Defines values for StorageModelType
10
+ #
11
+ module StorageModelType
12
+ Invalid = "Invalid"
13
+ GeoRedundant = "GeoRedundant"
14
+ LocallyRedundant = "LocallyRedundant"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
7
+ module Models
8
+ #
9
+ # Defines values for StorageType
10
+ #
11
+ module StorageType
12
+ Invalid = "Invalid"
13
+ GeoRedundant = "GeoRedundant"
14
+ LocallyRedundant = "LocallyRedundant"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
7
+ module Models
8
+ #
9
+ # Defines values for StorageTypeState
10
+ #
11
+ module StorageTypeState
12
+ Invalid = "Invalid"
13
+ Locked = "Locked"
14
+ Unlocked = "Unlocked"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,93 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
7
+ module Models
8
+ #
9
+ # Tracked resource with location.
10
+ #
11
+ class TrackedResource < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Resource location.
17
+ attr_accessor :location
18
+
19
+ # @return [Hash{String => String}] Resource tags.
20
+ attr_accessor :tags
21
+
22
+
23
+ #
24
+ # Mapper for TrackedResource class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'TrackedResource',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'TrackedResource',
34
+ model_properties: {
35
+ id: {
36
+ required: false,
37
+ read_only: true,
38
+ serialized_name: 'id',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ e_tag: {
60
+ required: false,
61
+ serialized_name: 'eTag',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ location: {
67
+ required: true,
68
+ serialized_name: 'location',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ tags: {
74
+ required: false,
75
+ serialized_name: 'tags',
76
+ type: {
77
+ name: 'Dictionary',
78
+ value: {
79
+ required: false,
80
+ serialized_name: 'StringElementType',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
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,138 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServices
7
+ module Models
8
+ #
9
+ # Details for upgrading vault.
10
+ #
11
+ class UpgradeDetails
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] ID of the vault upgrade operation.
17
+ attr_accessor :operation_id
18
+
19
+ # @return [DateTime] UTC time at which the upgrade operation has started.
20
+ attr_accessor :start_time_utc
21
+
22
+ # @return [DateTime] UTC time at which the upgrade operation status was
23
+ # last updated.
24
+ attr_accessor :last_updated_time_utc
25
+
26
+ # @return [DateTime] UTC time at which the upgrade operation has ended.
27
+ attr_accessor :end_time_utc
28
+
29
+ # @return [VaultUpgradeState] Status of the vault upgrade operation.
30
+ # Possible values include: 'Unknown', 'InProgress', 'Upgraded', 'Failed'
31
+ attr_accessor :status
32
+
33
+ # @return [String] Message to the user containing information about the
34
+ # upgrade operation.
35
+ attr_accessor :message
36
+
37
+ # @return [TriggerType] The way the vault upgradation was triggered.
38
+ # Possible values include: 'UserTriggered', 'ForcedUpgrade'
39
+ attr_accessor :trigger_type
40
+
41
+ # @return [String] Resource ID of the upgraded vault.
42
+ attr_accessor :upgraded_resource_id
43
+
44
+ # @return [String] Resource ID of the vault before the upgrade.
45
+ attr_accessor :previous_resource_id
46
+
47
+
48
+ #
49
+ # Mapper for UpgradeDetails class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ required: false,
55
+ serialized_name: 'UpgradeDetails',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'UpgradeDetails',
59
+ model_properties: {
60
+ operation_id: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'operationId',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ start_time_utc: {
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'startTimeUtc',
72
+ type: {
73
+ name: 'DateTime'
74
+ }
75
+ },
76
+ last_updated_time_utc: {
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'lastUpdatedTimeUtc',
80
+ type: {
81
+ name: 'DateTime'
82
+ }
83
+ },
84
+ end_time_utc: {
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'endTimeUtc',
88
+ type: {
89
+ name: 'DateTime'
90
+ }
91
+ },
92
+ status: {
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'status',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ message: {
101
+ required: false,
102
+ read_only: true,
103
+ serialized_name: 'message',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ trigger_type: {
109
+ required: false,
110
+ read_only: true,
111
+ serialized_name: 'triggerType',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ upgraded_resource_id: {
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'upgradedResourceId',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ previous_resource_id: {
125
+ required: false,
126
+ read_only: true,
127
+ serialized_name: 'previousResourceId',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ end
136
+ end
137
+ end
138
+ end