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,100 @@
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
+ # Replication usages of a vault.
10
+ #
11
+ class ReplicationUsage
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [MonitoringSummary] Summary of the replication monitoring data
17
+ # for this vault.
18
+ attr_accessor :monitoring_summary
19
+
20
+ # @return [JobsSummary] Summary of the replication jobs data for this
21
+ # vault.
22
+ attr_accessor :jobs_summary
23
+
24
+ # @return [Integer] Number of replication protected items for this vault.
25
+ attr_accessor :protected_item_count
26
+
27
+ # @return [Integer] Number of replication recovery plans for this vault.
28
+ attr_accessor :recovery_plan_count
29
+
30
+ # @return [Integer] Number of servers registered to this vault.
31
+ attr_accessor :registered_servers_count
32
+
33
+ # @return [Integer] The authentication type of recovery service providers
34
+ # in the vault.
35
+ attr_accessor :recovery_services_provider_auth_type
36
+
37
+
38
+ #
39
+ # Mapper for ReplicationUsage class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ required: false,
45
+ serialized_name: 'ReplicationUsage',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ReplicationUsage',
49
+ model_properties: {
50
+ monitoring_summary: {
51
+ required: false,
52
+ serialized_name: 'monitoringSummary',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'MonitoringSummary'
56
+ }
57
+ },
58
+ jobs_summary: {
59
+ required: false,
60
+ serialized_name: 'jobsSummary',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'JobsSummary'
64
+ }
65
+ },
66
+ protected_item_count: {
67
+ required: false,
68
+ serialized_name: 'protectedItemCount',
69
+ type: {
70
+ name: 'Number'
71
+ }
72
+ },
73
+ recovery_plan_count: {
74
+ required: false,
75
+ serialized_name: 'recoveryPlanCount',
76
+ type: {
77
+ name: 'Number'
78
+ }
79
+ },
80
+ registered_servers_count: {
81
+ required: false,
82
+ serialized_name: 'registeredServersCount',
83
+ type: {
84
+ name: 'Number'
85
+ }
86
+ },
87
+ recovery_services_provider_auth_type: {
88
+ required: false,
89
+ serialized_name: 'recoveryServicesProviderAuthType',
90
+ type: {
91
+ name: 'Number'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,54 @@
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
+ # Replication usages for vault.
10
+ #
11
+ class ReplicationUsageList
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ReplicationUsage>] The list of replication usages for
17
+ # the given vault.
18
+ attr_accessor :value
19
+
20
+
21
+ #
22
+ # Mapper for ReplicationUsageList class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'ReplicationUsageList',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ReplicationUsageList',
32
+ model_properties: {
33
+ value: {
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ required: false,
40
+ serialized_name: 'ReplicationUsageElementType',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'ReplicationUsage'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -1,20 +1,20 @@
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
 
6
6
  module Azure::ARM::RecoveryServices
7
7
  module Models
8
8
  #
9
- # Model object.
10
- #
9
+ # ARM Resource.
11
10
  #
12
11
  class Resource < MsRestAzure::Resource
13
12
 
14
13
  include MsRestAzure
15
14
 
16
- # @return [Sku]
17
- attr_accessor :sku
15
+ include MsRest::JSONable
16
+ # @return [String] Optional ETag.
17
+ attr_accessor :e_tag
18
18
 
19
19
 
20
20
  #
@@ -53,34 +53,12 @@ module Azure::ARM::RecoveryServices
53
53
  name: 'String'
54
54
  }
55
55
  },
56
- location: {
56
+ e_tag: {
57
57
  required: false,
58
- serialized_name: 'location',
58
+ serialized_name: 'eTag',
59
59
  type: {
60
60
  name: 'String'
61
61
  }
62
- },
63
- sku: {
64
- required: false,
65
- serialized_name: 'sku',
66
- type: {
67
- name: 'Composite',
68
- class_name: 'Sku'
69
- }
70
- },
71
- tags: {
72
- required: false,
73
- serialized_name: 'tags',
74
- type: {
75
- name: 'Dictionary',
76
- value: {
77
- required: false,
78
- serialized_name: 'StringElementType',
79
- type: {
80
- name: 'String'
81
- }
82
- }
83
- }
84
62
  }
85
63
  }
86
64
  }
@@ -0,0 +1,155 @@
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 for AAD.
10
+ #
11
+ class ResourceCertificateAndAadDetails < ResourceCertificateDetails
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+
17
+ def initialize
18
+ @authType = "AzureActiveDirectory"
19
+ end
20
+
21
+ attr_accessor :authType
22
+
23
+ # @return [String] AAD tenant authority.
24
+ attr_accessor :aad_authority
25
+
26
+ # @return [String] AAD tenant Id.
27
+ attr_accessor :aad_tenant_id
28
+
29
+ # @return [String] AAD service principal clientId.
30
+ attr_accessor :service_principal_client_id
31
+
32
+ # @return [String] AAD service principal ObjectId.
33
+ attr_accessor :service_principal_object_id
34
+
35
+ # @return [String] Azure Management Endpoint Audience.
36
+ attr_accessor :azure_management_endpoint_audience
37
+
38
+
39
+ #
40
+ # Mapper for ResourceCertificateAndAadDetails class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ required: false,
46
+ serialized_name: 'AzureActiveDirectory',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'ResourceCertificateAndAadDetails',
50
+ model_properties: {
51
+ certificate: {
52
+ required: false,
53
+ serialized_name: 'certificate',
54
+ type: {
55
+ name: 'ByteArray'
56
+ }
57
+ },
58
+ friendly_name: {
59
+ required: false,
60
+ serialized_name: 'friendlyName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ issuer: {
66
+ required: false,
67
+ serialized_name: 'issuer',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ resource_id: {
73
+ required: false,
74
+ serialized_name: 'resourceId',
75
+ type: {
76
+ name: 'Number'
77
+ }
78
+ },
79
+ subject: {
80
+ required: false,
81
+ serialized_name: 'subject',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ thumbprint: {
87
+ required: false,
88
+ serialized_name: 'thumbprint',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ valid_from: {
94
+ required: false,
95
+ serialized_name: 'validFrom',
96
+ type: {
97
+ name: 'DateTime'
98
+ }
99
+ },
100
+ valid_to: {
101
+ required: false,
102
+ serialized_name: 'validTo',
103
+ type: {
104
+ name: 'DateTime'
105
+ }
106
+ },
107
+ authType: {
108
+ required: true,
109
+ serialized_name: 'authType',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ aad_authority: {
115
+ required: true,
116
+ serialized_name: 'aadAuthority',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ aad_tenant_id: {
122
+ required: true,
123
+ serialized_name: 'aadTenantId',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ service_principal_client_id: {
129
+ required: true,
130
+ serialized_name: 'servicePrincipalClientId',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ service_principal_object_id: {
136
+ required: true,
137
+ serialized_name: 'servicePrincipalObjectId',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ },
142
+ azure_management_endpoint_audience: {
143
+ required: true,
144
+ serialized_name: 'azureManagementEndpointAudience',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+ end
153
+ end
154
+ end
155
+ end
@@ -0,0 +1,135 @@
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 for ACS.
10
+ #
11
+ class ResourceCertificateAndAcsDetails < ResourceCertificateDetails
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+
17
+ def initialize
18
+ @authType = "AccessControlService"
19
+ end
20
+
21
+ attr_accessor :authType
22
+
23
+ # @return [String] ACS namespace name - tenant for our service.
24
+ attr_accessor :global_acs_namespace
25
+
26
+ # @return [String] Acs mgmt host name to connect to.
27
+ attr_accessor :global_acs_host_name
28
+
29
+ # @return [String] Global ACS namespace RP realm.
30
+ attr_accessor :global_acs_rprealm
31
+
32
+
33
+ #
34
+ # Mapper for ResourceCertificateAndAcsDetails class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ required: false,
40
+ serialized_name: 'AccessControlService',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'ResourceCertificateAndAcsDetails',
44
+ model_properties: {
45
+ certificate: {
46
+ required: false,
47
+ serialized_name: 'certificate',
48
+ type: {
49
+ name: 'ByteArray'
50
+ }
51
+ },
52
+ friendly_name: {
53
+ required: false,
54
+ serialized_name: 'friendlyName',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ issuer: {
60
+ required: false,
61
+ serialized_name: 'issuer',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ resource_id: {
67
+ required: false,
68
+ serialized_name: 'resourceId',
69
+ type: {
70
+ name: 'Number'
71
+ }
72
+ },
73
+ subject: {
74
+ required: false,
75
+ serialized_name: 'subject',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ thumbprint: {
81
+ required: false,
82
+ serialized_name: 'thumbprint',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ valid_from: {
88
+ required: false,
89
+ serialized_name: 'validFrom',
90
+ type: {
91
+ name: 'DateTime'
92
+ }
93
+ },
94
+ valid_to: {
95
+ required: false,
96
+ serialized_name: 'validTo',
97
+ type: {
98
+ name: 'DateTime'
99
+ }
100
+ },
101
+ authType: {
102
+ required: true,
103
+ serialized_name: 'authType',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ global_acs_namespace: {
109
+ required: true,
110
+ serialized_name: 'globalAcsNamespace',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ global_acs_host_name: {
116
+ required: true,
117
+ serialized_name: 'globalAcsHostName',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ global_acs_rprealm: {
123
+ required: true,
124
+ serialized_name: 'globalAcsRPRealm',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ end
133
+ end
134
+ end
135
+ end