azure_mgmt_recovery_services 0.17.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services.rb +28 -13
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_parameters.rb +60 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_result.rb +69 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/identity_data.rb +71 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/patch_vault.rb +12 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint.rb +48 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint_connection.rb +73 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint_connection_status.rb +18 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_endpoint_connection_vault_properties.rb +61 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_link_resource.rb +127 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_link_resources.rb +99 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/private_link_service_connection_state.rb +73 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/provisioning_state.rb +18 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_identity_type.rb +16 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb +2 -2
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault.rb +12 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_list.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_private_endpoint_state.rb +16 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb +48 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/operations.rb +4 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/private_link_resources_operations.rb +346 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services.rb +148 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services_client.rb +10 -1
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/registered_identities.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/replication_usages.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/usages.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_certificates.rb +2 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb +6 -0
- data/lib/2016-06-01/generated/azure_mgmt_recovery_services/vaults.rb +16 -0
- data/lib/profiles/latest/modules/recoveryservices_profile_module.rb +98 -42
- data/lib/version.rb +1 -1
- metadata +20 -5
@@ -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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for PrivateEndpointConnectionStatus
|
10
|
+
#
|
11
|
+
module PrivateEndpointConnectionStatus
|
12
|
+
Pending = "Pending"
|
13
|
+
Approved = "Approved"
|
14
|
+
Rejected = "Rejected"
|
15
|
+
Disconnected = "Disconnected"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information to be stored in Vault properties as an element of
|
10
|
+
# privateEndpointConnections List.
|
11
|
+
#
|
12
|
+
class PrivateEndpointConnectionVaultProperties
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Format of id
|
17
|
+
# subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}.
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [PrivateEndpointConnection]
|
21
|
+
attr_accessor :properties
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for PrivateEndpointConnectionVaultProperties class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'PrivateEndpointConnectionVaultProperties',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'PrivateEndpointConnectionVaultProperties',
|
36
|
+
model_properties: {
|
37
|
+
id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
properties: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'properties',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'PrivateEndpointConnection'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,127 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information of the private link resource.
|
10
|
+
#
|
11
|
+
class PrivateLinkResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] e.g. f9ad6492-33d4-4690-9999-6bfd52a0d081 (Backup) or
|
16
|
+
# f9ad6492-33d4-4690-9999-6bfd52a0d082 (SiteRecovery)
|
17
|
+
attr_accessor :group_id
|
18
|
+
|
19
|
+
# @return [Array<String>] [backup-ecs1, backup-prot1, backup-prot1b,
|
20
|
+
# backup-prot1c, backup-id1]
|
21
|
+
attr_accessor :required_members
|
22
|
+
|
23
|
+
# @return [Array<String>] The private link resource Private link DNS zone
|
24
|
+
# name.
|
25
|
+
attr_accessor :required_zone_names
|
26
|
+
|
27
|
+
# @return [String] Fully qualified identifier of the resource.
|
28
|
+
attr_accessor :id
|
29
|
+
|
30
|
+
# @return [String] Name of the resource.
|
31
|
+
attr_accessor :name
|
32
|
+
|
33
|
+
# @return [String] e.g.
|
34
|
+
# Microsoft.RecoveryServices/vaults/privateLinkResources
|
35
|
+
attr_accessor :type
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for PrivateLinkResource class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'PrivateLinkResource',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'PrivateLinkResource',
|
50
|
+
model_properties: {
|
51
|
+
group_id: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'properties.groupId',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
required_members: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'properties.requiredMembers',
|
65
|
+
type: {
|
66
|
+
name: 'Sequence',
|
67
|
+
element: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'StringElementType',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
},
|
77
|
+
required_zone_names: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'properties.requiredZoneNames',
|
82
|
+
type: {
|
83
|
+
name: 'Sequence',
|
84
|
+
element: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'StringElementType',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
},
|
94
|
+
id: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
read_only: true,
|
98
|
+
serialized_name: 'id',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
name: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
read_only: true,
|
107
|
+
serialized_name: 'name',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
type: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
read_only: true,
|
116
|
+
serialized_name: 'type',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class which represent the stamps associated with the vault.
|
10
|
+
#
|
11
|
+
class PrivateLinkResources
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<PrivateLinkResource>] A collection of private link
|
17
|
+
# resources
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next chunk of the response
|
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<PrivateLinkResource>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? 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 [PrivateLinkResources] 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 PrivateLinkResources class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'PrivateLinkResources',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'PrivateLinkResources',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'PrivateLinkResourceElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'PrivateLinkResource'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,73 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Gets or sets private link service connection state.
|
10
|
+
#
|
11
|
+
class PrivateLinkServiceConnectionState
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [PrivateEndpointConnectionStatus] Gets or sets the status.
|
16
|
+
# Possible values include: 'Pending', 'Approved', 'Rejected',
|
17
|
+
# 'Disconnected'
|
18
|
+
attr_accessor :status
|
19
|
+
|
20
|
+
# @return [String] Gets or sets description.
|
21
|
+
attr_accessor :description
|
22
|
+
|
23
|
+
# @return [String] Gets or sets actions required.
|
24
|
+
attr_accessor :actions_required
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for PrivateLinkServiceConnectionState class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'PrivateLinkServiceConnectionState',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'PrivateLinkServiceConnectionState',
|
39
|
+
model_properties: {
|
40
|
+
status: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'status',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
description: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'description',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
actions_required: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'actionsRequired',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProvisioningState
|
10
|
+
#
|
11
|
+
module ProvisioningState
|
12
|
+
Succeeded = "Succeeded"
|
13
|
+
Deleting = "Deleting"
|
14
|
+
Failed = "Failed"
|
15
|
+
Pending = "Pending"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb
CHANGED
@@ -26,7 +26,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
26
26
|
# string.
|
27
27
|
attr_accessor :certificate
|
28
28
|
|
29
|
-
# @return [String] Certificate
|
29
|
+
# @return [String] Certificate friendly name.
|
30
30
|
attr_accessor :friendly_name
|
31
31
|
|
32
32
|
# @return [String] Certificate issuer.
|
@@ -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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ResourceIdentityType
|
10
|
+
#
|
11
|
+
module ResourceIdentityType
|
12
|
+
SystemAssigned = "SystemAssigned"
|
13
|
+
None = "None"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -33,8 +33,8 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
33
33
|
# upgrade operation.
|
34
34
|
attr_accessor :message
|
35
35
|
|
36
|
-
# @return [TriggerType] The way the vault
|
37
|
-
#
|
36
|
+
# @return [TriggerType] The way the vault upgrade was triggered. Possible
|
37
|
+
# values include: 'UserTriggered', 'ForcedUpgrade'
|
38
38
|
attr_accessor :trigger_type
|
39
39
|
|
40
40
|
# @return [String] Resource ID of the upgraded vault.
|
@@ -12,6 +12,9 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
# @return [IdentityData]
|
16
|
+
attr_accessor :identity
|
17
|
+
|
15
18
|
# @return [VaultProperties]
|
16
19
|
attr_accessor :properties
|
17
20
|
|
@@ -91,6 +94,15 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
|
|
91
94
|
}
|
92
95
|
}
|
93
96
|
},
|
97
|
+
identity: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'identity',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'IdentityData'
|
104
|
+
}
|
105
|
+
},
|
94
106
|
properties: {
|
95
107
|
client_side_validation: true,
|
96
108
|
required: false,
|