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.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_recovery_services.rb +40 -1
- data/lib/generated/azure_mgmt_recovery_services/backup_storage_configs.rb +215 -0
- data/lib/generated/azure_mgmt_recovery_services/backup_vault_configs.rb +226 -0
- data/lib/generated/azure_mgmt_recovery_services/models/auth_type.rb +19 -0
- data/lib/generated/azure_mgmt_recovery_services/models/backup_storage_config.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services/models/backup_vault_config.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services/models/certificate_request.rb +46 -0
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb +68 -0
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb +55 -0
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb +82 -0
- data/lib/generated/azure_mgmt_recovery_services/models/enhanced_security_state.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services/models/jobs_summary.rb +65 -0
- data/lib/generated/azure_mgmt_recovery_services/models/monitoring_summary.rb +97 -0
- data/lib/generated/azure_mgmt_recovery_services/models/name_info.rb +55 -0
- data/lib/generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb +57 -0
- data/lib/generated/azure_mgmt_recovery_services/models/replication_usage.rb +100 -0
- data/lib/generated/azure_mgmt_recovery_services/models/replication_usage_list.rb +54 -0
- data/lib/generated/azure_mgmt_recovery_services/models/resource.rb +7 -29
- data/lib/generated/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb +155 -0
- data/lib/generated/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb +135 -0
- data/lib/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb +128 -0
- data/lib/generated/azure_mgmt_recovery_services/models/sku.rb +2 -1
- data/lib/generated/azure_mgmt_recovery_services/models/sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_recovery_services/models/storage_model_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services/models/storage_type.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services/models/storage_type_state.rb +17 -0
- data/lib/generated/azure_mgmt_recovery_services/models/tracked_resource.rb +93 -0
- data/lib/generated/azure_mgmt_recovery_services/models/trigger_type.rb +16 -0
- data/lib/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +138 -0
- data/lib/generated/azure_mgmt_recovery_services/models/usages_unit.rb +20 -0
- data/lib/generated/azure_mgmt_recovery_services/models/vault.rb +19 -19
- data/lib/generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb +79 -0
- data/lib/generated/azure_mgmt_recovery_services/models/vault_extended_info_resource.rb +106 -0
- data/lib/generated/azure_mgmt_recovery_services/models/vault_list.rb +13 -32
- data/lib/generated/azure_mgmt_recovery_services/models/vault_properties.rb +13 -1
- data/lib/generated/azure_mgmt_recovery_services/models/vault_upgrade_state.rb +18 -0
- data/lib/generated/azure_mgmt_recovery_services/models/vault_usage.rb +98 -0
- data/lib/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb +53 -0
- data/lib/generated/azure_mgmt_recovery_services/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_recovery_services/operations.rb +224 -0
- data/lib/generated/azure_mgmt_recovery_services/recovery_services_client.rb +33 -5
- data/lib/generated/azure_mgmt_recovery_services/registered_identities.rb +112 -0
- data/lib/generated/azure_mgmt_recovery_services/replication_usages.rb +119 -0
- data/lib/generated/azure_mgmt_recovery_services/usages.rb +119 -0
- data/lib/generated/azure_mgmt_recovery_services/vault_certificates.rb +139 -0
- data/lib/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb +339 -0
- data/lib/generated/azure_mgmt_recovery_services/vaults.rb +230 -139
- data/lib/generated/azure_mgmt_recovery_services/version.rb +2 -2
- metadata +43 -4
@@ -0,0 +1,19 @@
|
|
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 AuthType
|
10
|
+
#
|
11
|
+
module AuthType
|
12
|
+
Invalid = "Invalid"
|
13
|
+
ACS = "ACS"
|
14
|
+
AAD = "AAD"
|
15
|
+
AccessControlService = "AccessControlService"
|
16
|
+
AzureActiveDirectory = "AzureActiveDirectory"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -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
|
+
# The backup storage config.
|
10
|
+
#
|
11
|
+
class BackupStorageConfig < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [StorageModelType] Storage model type. Possible values include:
|
17
|
+
# 'Invalid', 'GeoRedundant', 'LocallyRedundant'
|
18
|
+
attr_accessor :storage_model_type
|
19
|
+
|
20
|
+
# @return [StorageType] Storage type. Possible values include: 'Invalid',
|
21
|
+
# 'GeoRedundant', 'LocallyRedundant'
|
22
|
+
attr_accessor :storage_type
|
23
|
+
|
24
|
+
# @return [StorageTypeState] Locked or Unlocked. Once a machine is
|
25
|
+
# registered against a resource, the storageTypeState is always Locked.
|
26
|
+
# Possible values include: 'Invalid', 'Locked', 'Unlocked'
|
27
|
+
attr_accessor :storage_type_state
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for BackupStorageConfig class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'BackupStorageConfig',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'BackupStorageConfig',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
name: {
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'name',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
e_tag: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'eTag',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
storage_model_type: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.storageModelType',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
storage_type: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'properties.storageType',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
storage_type_state: {
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'properties.storageTypeState',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -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
|
+
# Backup vault config details.
|
10
|
+
#
|
11
|
+
class BackupVaultConfig < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [StorageType] Storage type. Possible values include: 'Invalid',
|
17
|
+
# 'GeoRedundant', 'LocallyRedundant'
|
18
|
+
attr_accessor :storage_type
|
19
|
+
|
20
|
+
# @return [StorageTypeState] Locked or Unlocked. Once a machine is
|
21
|
+
# registered against a resource, the storageTypeState is always Locked.
|
22
|
+
# Possible values include: 'Invalid', 'Locked', 'Unlocked'
|
23
|
+
attr_accessor :storage_type_state
|
24
|
+
|
25
|
+
# @return [EnhancedSecurityState] Enabled or Disabled. Possible values
|
26
|
+
# include: 'Invalid', 'Enabled', 'Disabled'
|
27
|
+
attr_accessor :enhanced_security_state
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for BackupVaultConfig class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'BackupVaultConfig',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'BackupVaultConfig',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
name: {
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'name',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'type',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
e_tag: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'eTag',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
storage_type: {
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.storageType',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
storage_type_state: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'properties.storageTypeState',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
enhanced_security_state: {
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'properties.enhancedSecurityState',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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 of the certificate to be uploaded to the vault.
|
10
|
+
#
|
11
|
+
class CertificateRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [RawCertificateData]
|
17
|
+
attr_accessor :properties
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for CertificateRequest class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'CertificateRequest',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'CertificateRequest',
|
31
|
+
model_properties: {
|
32
|
+
properties: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'properties',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'RawCertificateData'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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
|
+
# Localized display information of an operation.
|
10
|
+
#
|
11
|
+
class ClientDiscoveryDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Name of the resource provider.
|
17
|
+
attr_accessor :provider
|
18
|
+
|
19
|
+
# @return [String] Type of the resource.
|
20
|
+
attr_accessor :resource
|
21
|
+
|
22
|
+
# @return [String] Name of the operation.
|
23
|
+
attr_accessor :operation
|
24
|
+
|
25
|
+
# @return [String] Operation description.
|
26
|
+
attr_accessor :description
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ClientDiscoveryDisplay class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'ClientDiscoveryDisplay',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ClientDiscoveryDisplay',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'Provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'Resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'Operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'Description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb
ADDED
@@ -0,0 +1,68 @@
|
|
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
|
+
# Log specification for the operation.
|
10
|
+
#
|
11
|
+
class ClientDiscoveryForLogSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Name of the log.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] Localized display name.
|
20
|
+
attr_accessor :display_name
|
21
|
+
|
22
|
+
# @return [DateTime] Blob duration.
|
23
|
+
attr_accessor :blob_duration
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ClientDiscoveryForLogSpecification class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ClientDiscoveryForLogSpecification',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ClientDiscoveryForLogSpecification',
|
37
|
+
model_properties: {
|
38
|
+
name: {
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'name',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
display_name: {
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'displayName',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
blob_duration: {
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'blobDuration',
|
58
|
+
type: {
|
59
|
+
name: 'DateTime'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
data/lib/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb
ADDED
@@ -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
|
+
# Operation properties.
|
10
|
+
#
|
11
|
+
class ClientDiscoveryForServiceSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ClientDiscoveryForLogSpecification>] List of log
|
17
|
+
# specifications of this operation.
|
18
|
+
attr_accessor :log_specifications
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ClientDiscoveryForServiceSpecification class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ClientDiscoveryForServiceSpecification',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ClientDiscoveryForServiceSpecification',
|
32
|
+
model_properties: {
|
33
|
+
log_specifications: {
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'logSpecifications',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ClientDiscoveryForLogSpecificationElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'ClientDiscoveryForLogSpecification'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|