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,97 @@
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
+ # List of available operations.
10
+ #
11
+ class ClientDiscoveryResponse
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ClientDiscoveryValueForSingleApi>] List of available
17
+ # operationss.
18
+ attr_accessor :value
19
+
20
+ # @return [String] NextLink
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<ClientDiscoveryValueForSingleApi>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [ClientDiscoveryResponse] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for ClientDiscoveryResponse class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'ClientDiscoveryResponse',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ClientDiscoveryResponse',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'Value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ required: false,
75
+ serialized_name: 'ClientDiscoveryValueForSingleApiElementType',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'ClientDiscoveryValueForSingleApi'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ next_link: {
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'NextLink',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,82 @@
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
+ # Available operation details.
10
+ #
11
+ class ClientDiscoveryValueForSingleApi
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Name of the operation.
17
+ attr_accessor :name
18
+
19
+ # @return [ClientDiscoveryDisplay] Contains the localized display
20
+ # information for this particular operation.
21
+ attr_accessor :display
22
+
23
+ # @return [String] The intended executor of the operation.
24
+ attr_accessor :origin
25
+
26
+ # @return [ClientDiscoveryForServiceSpecification] Operation properties.
27
+ attr_accessor :service_specification
28
+
29
+
30
+ #
31
+ # Mapper for ClientDiscoveryValueForSingleApi class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ required: false,
37
+ serialized_name: 'ClientDiscoveryValueForSingleApi',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ClientDiscoveryValueForSingleApi',
41
+ model_properties: {
42
+ name: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'Name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ display: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'Display',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'ClientDiscoveryDisplay'
57
+ }
58
+ },
59
+ origin: {
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'Origin',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ service_specification: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'Properties.serviceSpecification',
71
+ type: {
72
+ name: 'Composite',
73
+ class_name: 'ClientDiscoveryForServiceSpecification'
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ 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 EnhancedSecurityState
10
+ #
11
+ module EnhancedSecurityState
12
+ Invalid = "Invalid"
13
+ Enabled = "Enabled"
14
+ Disabled = "Disabled"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,65 @@
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
+ # Summary of the replication job data for this vault.
10
+ #
11
+ class JobsSummary
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Integer] Count of failed jobs.
17
+ attr_accessor :failed_jobs
18
+
19
+ # @return [Integer] Count of suspended jobs.
20
+ attr_accessor :suspended_jobs
21
+
22
+ # @return [Integer] Count of in-progress jobs.
23
+ attr_accessor :in_progress_jobs
24
+
25
+
26
+ #
27
+ # Mapper for JobsSummary class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'JobsSummary',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'JobsSummary',
37
+ model_properties: {
38
+ failed_jobs: {
39
+ required: false,
40
+ serialized_name: 'failedJobs',
41
+ type: {
42
+ name: 'Number'
43
+ }
44
+ },
45
+ suspended_jobs: {
46
+ required: false,
47
+ serialized_name: 'suspendedJobs',
48
+ type: {
49
+ name: 'Number'
50
+ }
51
+ },
52
+ in_progress_jobs: {
53
+ required: false,
54
+ serialized_name: 'inProgressJobs',
55
+ type: {
56
+ name: 'Number'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,97 @@
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
+ # Summary of the replication monitoring data for this vault.
10
+ #
11
+ class MonitoringSummary
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Integer] Count of unhealthy VMs.
17
+ attr_accessor :un_healthy_vm_count
18
+
19
+ # @return [Integer] Count of unhealthy replication providers.
20
+ attr_accessor :un_healthy_provider_count
21
+
22
+ # @return [Integer] Count of all critical warnings.
23
+ attr_accessor :events_count
24
+
25
+ # @return [Integer] Count of all deprecated recovery service providers.
26
+ attr_accessor :deprecated_provider_count
27
+
28
+ # @return [Integer] Count of all the supported recovery service
29
+ # providers.
30
+ attr_accessor :supported_provider_count
31
+
32
+ # @return [Integer] Count of all the unsupported recovery service
33
+ # providers.
34
+ attr_accessor :unsupported_provider_count
35
+
36
+
37
+ #
38
+ # Mapper for MonitoringSummary class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ required: false,
44
+ serialized_name: 'MonitoringSummary',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'MonitoringSummary',
48
+ model_properties: {
49
+ un_healthy_vm_count: {
50
+ required: false,
51
+ serialized_name: 'unHealthyVmCount',
52
+ type: {
53
+ name: 'Number'
54
+ }
55
+ },
56
+ un_healthy_provider_count: {
57
+ required: false,
58
+ serialized_name: 'unHealthyProviderCount',
59
+ type: {
60
+ name: 'Number'
61
+ }
62
+ },
63
+ events_count: {
64
+ required: false,
65
+ serialized_name: 'eventsCount',
66
+ type: {
67
+ name: 'Number'
68
+ }
69
+ },
70
+ deprecated_provider_count: {
71
+ required: false,
72
+ serialized_name: 'deprecatedProviderCount',
73
+ type: {
74
+ name: 'Number'
75
+ }
76
+ },
77
+ supported_provider_count: {
78
+ required: false,
79
+ serialized_name: 'supportedProviderCount',
80
+ type: {
81
+ name: 'Number'
82
+ }
83
+ },
84
+ unsupported_provider_count: {
85
+ required: false,
86
+ serialized_name: 'unsupportedProviderCount',
87
+ type: {
88
+ name: 'Number'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,55 @@
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
+ # The name of usage.
10
+ #
11
+ class NameInfo
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Value of usage.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Localized value of usage.
20
+ attr_accessor :localized_value
21
+
22
+
23
+ #
24
+ # Mapper for NameInfo class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'NameInfo',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'NameInfo',
34
+ model_properties: {
35
+ value: {
36
+ required: false,
37
+ serialized_name: 'value',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ localized_value: {
43
+ required: false,
44
+ serialized_name: 'localizedValue',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,57 @@
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
+ # Raw certificate data.
10
+ #
11
+ class RawCertificateData
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [AuthType] Specifies the authentication type. Possible values
17
+ # include: 'Invalid', 'ACS', 'AAD', 'AccessControlService',
18
+ # 'AzureActiveDirectory'
19
+ attr_accessor :auth_type
20
+
21
+ # @return [Array<Integer>] The base64 encoded certificate raw data string
22
+ attr_accessor :certificate
23
+
24
+
25
+ #
26
+ # Mapper for RawCertificateData class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'RawCertificateData',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'RawCertificateData',
36
+ model_properties: {
37
+ auth_type: {
38
+ required: false,
39
+ serialized_name: 'authType',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ certificate: {
45
+ required: false,
46
+ serialized_name: 'certificate',
47
+ type: {
48
+ name: 'ByteArray'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end