azure_mgmt_recovery_services 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: f0431cd3c44ede6f100e84602103f2676028fc06876a43d39a190b9f25c46089
4
- data.tar.gz: f3e9fac36065cac6ee1c3fc8abb654a4bbc46fe934016f6fb1b5809edb3ae4ba
2
+ SHA1:
3
+ metadata.gz: 8a636e79d1e7f8d947b996c4fe2132ad2413b85e
4
+ data.tar.gz: c8d027ef732874ef8985d687acc009d453b74cd8
5
5
  SHA512:
6
- metadata.gz: 5283d9f7a16f0a354abb8f9ff8917fb055690dc4ef310f619ca60cfb3a1864e67a95a01f075e217942676d99e6ae2dd06e1a54f18fec62f0e7a849eb6e822375
7
- data.tar.gz: daf2411cb356619f64127e8a4b3b4680c86bc0930a3fde151b6b50b294281d570569645a659c69d2683a549bdfde36de3e6af551a52c5288d51c85776cce838e
6
+ metadata.gz: 5a7cb0d173984f36e2b94fb3c5d338bc360c212fbcf1544e2fd69d9f80a37c401ba502094aca83c8412a13492a446bac102b639888a822cd338cbb7b9abfc987
7
+ data.tar.gz: 9e3b9c984ffa857dfbdaf4f31a75029f70afb5ba090b789b8aa0c17b45a2179425f37654e72d9ba1d5980981f9646c0f2ab94a78d751ff9e875aaaf96bc478fd
@@ -23,6 +23,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
23
23
  autoload :VaultCertificates, '2016-06-01/generated/azure_mgmt_recovery_services/vault_certificates.rb'
24
24
  autoload :RegisteredIdentities, '2016-06-01/generated/azure_mgmt_recovery_services/registered_identities.rb'
25
25
  autoload :ReplicationUsages, '2016-06-01/generated/azure_mgmt_recovery_services/replication_usages.rb'
26
+ autoload :RecoveryServices, '2016-06-01/generated/azure_mgmt_recovery_services/recovery_services.rb'
26
27
  autoload :Vaults, '2016-06-01/generated/azure_mgmt_recovery_services/vaults.rb'
27
28
  autoload :Operations, '2016-06-01/generated/azure_mgmt_recovery_services/operations.rb'
28
29
  autoload :VaultExtendedInfoOperations, '2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb'
@@ -30,30 +31,33 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
30
31
  autoload :RecoveryServicesClient, '2016-06-01/generated/azure_mgmt_recovery_services/recovery_services_client.rb'
31
32
 
32
33
  module Models
33
- autoload :ClientDiscoveryValueForSingleApi, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb'
34
- autoload :ClientDiscoveryResponse, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb'
35
- autoload :CertificateRequest, '2016-06-01/generated/azure_mgmt_recovery_services/models/certificate_request.rb'
36
- autoload :Resource, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource.rb'
37
34
  autoload :ClientDiscoveryForProperties, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb'
38
35
  autoload :RawCertificateData, '2016-06-01/generated/azure_mgmt_recovery_services/models/raw_certificate_data.rb'
39
- autoload :VaultCertificateResponse, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb'
40
- autoload :JobsSummary, '2016-06-01/generated/azure_mgmt_recovery_services/models/jobs_summary.rb'
41
- autoload :VaultList, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_list.rb'
42
- autoload :ReplicationUsage, '2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage.rb'
36
+ autoload :ClientDiscoveryValueForSingleApi, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_value_for_single_api.rb'
43
37
  autoload :ClientDiscoveryDisplay, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb'
44
- autoload :Sku, '2016-06-01/generated/azure_mgmt_recovery_services/models/sku.rb'
38
+ autoload :ClientDiscoveryForLogSpecification, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb'
39
+ autoload :ResourceCertificateDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb'
45
40
  autoload :ClientDiscoveryForServiceSpecification, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_service_specification.rb'
46
- autoload :VaultUsageList, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb'
47
- autoload :MonitoringSummary, '2016-06-01/generated/azure_mgmt_recovery_services/models/monitoring_summary.rb'
41
+ autoload :JobsSummary, '2016-06-01/generated/azure_mgmt_recovery_services/models/jobs_summary.rb'
42
+ autoload :CertificateRequest, '2016-06-01/generated/azure_mgmt_recovery_services/models/certificate_request.rb'
43
+ autoload :ReplicationUsage, '2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage.rb'
48
44
  autoload :VaultUsage, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage.rb'
49
- autoload :ClientDiscoveryForLogSpecification, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb'
50
- autoload :UpgradeDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb'
45
+ autoload :CheckNameAvailabilityParameters, '2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_parameters.rb'
46
+ autoload :ClientDiscoveryResponse, '2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_response.rb'
47
+ autoload :VaultUsageList, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb'
48
+ autoload :Resource, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource.rb'
49
+ autoload :VaultCertificateResponse, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_certificate_response.rb'
50
+ autoload :Sku, '2016-06-01/generated/azure_mgmt_recovery_services/models/sku.rb'
51
51
  autoload :ReplicationUsageList, '2016-06-01/generated/azure_mgmt_recovery_services/models/replication_usage_list.rb'
52
- autoload :VaultProperties, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb'
53
- autoload :ResourceCertificateDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_details.rb'
54
52
  autoload :NameInfo, '2016-06-01/generated/azure_mgmt_recovery_services/models/name_info.rb'
53
+ autoload :VaultList, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_list.rb'
54
+ autoload :CheckNameAvailabilityResult, '2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_result.rb'
55
+ autoload :UpgradeDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/upgrade_details.rb'
56
+ autoload :MonitoringSummary, '2016-06-01/generated/azure_mgmt_recovery_services/models/monitoring_summary.rb'
57
+ autoload :VaultProperties, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault_properties.rb'
55
58
  autoload :ResourceCertificateAndAadDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_and_aad_details.rb'
56
59
  autoload :ResourceCertificateAndAcsDetails, '2016-06-01/generated/azure_mgmt_recovery_services/models/resource_certificate_and_acs_details.rb'
60
+ autoload :CheckNameAvailabilityResultResource, '2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_result_resource.rb'
57
61
  autoload :TrackedResource, '2016-06-01/generated/azure_mgmt_recovery_services/models/tracked_resource.rb'
58
62
  autoload :PatchTrackedResource, '2016-06-01/generated/azure_mgmt_recovery_services/models/patch_tracked_resource.rb'
59
63
  autoload :Vault, '2016-06-01/generated/azure_mgmt_recovery_services/models/vault.rb'
@@ -0,0 +1,60 @@
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
+ # Resource Name availability input parameters - Resource type and resource
10
+ # name
11
+ #
12
+ class CheckNameAvailabilityParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Describes the Resource type:
17
+ # Microsoft.RecoveryServices/Vaults
18
+ attr_accessor :type
19
+
20
+ # @return [String] Resource name for which availability needs to be
21
+ # checked
22
+ attr_accessor :name
23
+
24
+
25
+ #
26
+ # Mapper for CheckNameAvailabilityParameters class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'CheckNameAvailabilityParameters',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'CheckNameAvailabilityParameters',
37
+ model_properties: {
38
+ type: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'type',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ name: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'name',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,69 @@
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
+ # Response for check name availability API. Resource provider will set
10
+ # availability as true | false.
11
+ #
12
+ class CheckNameAvailabilityResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Boolean]
17
+ attr_accessor :name_available
18
+
19
+ # @return [String]
20
+ attr_accessor :reason
21
+
22
+ # @return [String]
23
+ attr_accessor :message
24
+
25
+
26
+ #
27
+ # Mapper for CheckNameAvailabilityResult class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'CheckNameAvailabilityResult',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'CheckNameAvailabilityResult',
38
+ model_properties: {
39
+ name_available: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'nameAvailable',
43
+ type: {
44
+ name: 'Boolean'
45
+ }
46
+ },
47
+ reason: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'reason',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ message: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'message',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,84 @@
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
+ # Response for check name availability API. Resource provider will set
10
+ # availability as true | false.
11
+ #
12
+ class CheckNameAvailabilityResultResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [CheckNameAvailabilityResult]
17
+ # CheckNameAvailabilityResultResource properties
18
+ attr_accessor :properties
19
+
20
+
21
+ #
22
+ # Mapper for CheckNameAvailabilityResultResource class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'CheckNameAvailabilityResultResource',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'CheckNameAvailabilityResultResource',
33
+ model_properties: {
34
+ id: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ read_only: true,
38
+ serialized_name: 'id',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ type: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ e_tag: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'eTag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ properties: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'properties',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'CheckNameAvailabilityResult'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -14,7 +14,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
14
14
 
15
15
  include MsRest::JSONable
16
16
  # @return [Array<ClientDiscoveryValueForSingleApi>] List of available
17
- # operationss.
17
+ # operations.
18
18
  attr_accessor :value
19
19
 
20
20
  # @return [String] Link to the next chunk of the response
@@ -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 friendlyname.
29
+ # @return [String] Certificate friendly name.
30
30
  attr_accessor :friendly_name
31
31
 
32
32
  # @return [String] Certificate issuer.
@@ -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 upgradation was triggered.
37
- # Possible values include: 'UserTriggered', 'ForcedUpgrade'
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.
@@ -0,0 +1,146 @@
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
+ #
8
+ # Recovery Services Client
9
+ #
10
+ class RecoveryServices
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the RecoveryServices class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [RecoveryServicesClient] reference to the RecoveryServicesClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # API to check for resource name availability.
26
+ # A name is available if no other resource exists that has the same
27
+ # SubscriptionId, Resource Name and Type
28
+ # or if one or more such resources exist, each of these must be GC'd and their
29
+ # time of deletion be more than 24 Hours Ago
30
+ #
31
+ # @param resource_group_name [String] The name of the resource group where the
32
+ # recovery services vault is present.
33
+ # @param location [String] Location of the resource
34
+ # @param input [CheckNameAvailabilityParameters] Contains information about
35
+ # Resource type and Resource name
36
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
+ # will be added to the HTTP request.
38
+ #
39
+ # @return [CheckNameAvailabilityResultResource] operation results.
40
+ #
41
+ def check_name_availability(resource_group_name, location, input, custom_headers:nil)
42
+ response = check_name_availability_async(resource_group_name, location, input, custom_headers:custom_headers).value!
43
+ response.body unless response.nil?
44
+ end
45
+
46
+ #
47
+ # API to check for resource name availability.
48
+ # A name is available if no other resource exists that has the same
49
+ # SubscriptionId, Resource Name and Type
50
+ # or if one or more such resources exist, each of these must be GC'd and their
51
+ # time of deletion be more than 24 Hours Ago
52
+ #
53
+ # @param resource_group_name [String] The name of the resource group where the
54
+ # recovery services vault is present.
55
+ # @param location [String] Location of the resource
56
+ # @param input [CheckNameAvailabilityParameters] Contains information about
57
+ # Resource type and Resource name
58
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
59
+ # will be added to the HTTP request.
60
+ #
61
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
62
+ #
63
+ def check_name_availability_with_http_info(resource_group_name, location, input, custom_headers:nil)
64
+ check_name_availability_async(resource_group_name, location, input, custom_headers:custom_headers).value!
65
+ end
66
+
67
+ #
68
+ # API to check for resource name availability.
69
+ # A name is available if no other resource exists that has the same
70
+ # SubscriptionId, Resource Name and Type
71
+ # or if one or more such resources exist, each of these must be GC'd and their
72
+ # time of deletion be more than 24 Hours Ago
73
+ #
74
+ # @param resource_group_name [String] The name of the resource group where the
75
+ # recovery services vault is present.
76
+ # @param location [String] Location of the resource
77
+ # @param input [CheckNameAvailabilityParameters] Contains information about
78
+ # Resource type and Resource name
79
+ # @param [Hash{String => String}] A hash of custom headers that will be added
80
+ # to the HTTP request.
81
+ #
82
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
83
+ #
84
+ def check_name_availability_async(resource_group_name, location, input, custom_headers:nil)
85
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
86
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
87
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
88
+ fail ArgumentError, 'location is nil' if location.nil?
89
+ fail ArgumentError, 'input is nil' if input.nil?
90
+
91
+
92
+ request_headers = {}
93
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
94
+
95
+ # Set Headers
96
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
97
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
98
+
99
+ # Serialize Request
100
+ request_mapper = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters.mapper()
101
+ request_content = @client.serialize(request_mapper, input)
102
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
103
+
104
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability'
105
+
106
+ request_url = @base_url || @client.base_url
107
+
108
+ options = {
109
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
110
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'location' => location},
111
+ query_params: {'api-version' => @client.api_version},
112
+ body: request_content,
113
+ headers: request_headers.merge(custom_headers || {}),
114
+ base_url: request_url
115
+ }
116
+ promise = @client.make_request_async(:post, path_template, options)
117
+
118
+ promise = promise.then do |result|
119
+ http_response = result.response
120
+ status_code = http_response.status
121
+ response_content = http_response.body
122
+ unless status_code == 200
123
+ error_model = JSON.load(response_content)
124
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
125
+ end
126
+
127
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
128
+ # Deserialize Response
129
+ if status_code == 200
130
+ begin
131
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
132
+ result_mapper = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource.mapper()
133
+ result.body = @client.deserialize(result_mapper, parsed_response)
134
+ rescue Exception => e
135
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
136
+ end
137
+ end
138
+
139
+ result
140
+ end
141
+
142
+ promise.execute
143
+ end
144
+
145
+ end
146
+ end
@@ -44,6 +44,9 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
44
44
  # @return [ReplicationUsages] replication_usages
45
45
  attr_reader :replication_usages
46
46
 
47
+ # @return [RecoveryServices] recovery_services
48
+ attr_reader :recovery_services
49
+
47
50
  # @return [Vaults] vaults
48
51
  attr_reader :vaults
49
52
 
@@ -72,6 +75,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
72
75
  @vault_certificates = VaultCertificates.new(self)
73
76
  @registered_identities = RegisteredIdentities.new(self)
74
77
  @replication_usages = ReplicationUsages.new(self)
78
+ @recovery_services = RecoveryServices.new(self)
75
79
  @vaults = Vaults.new(self)
76
80
  @operations = Operations.new(self)
77
81
  @vault_extended_info_operations = VaultExtendedInfoOperations.new(self)
@@ -148,7 +152,7 @@ module Azure::RecoveryServices::Mgmt::V2016_06_01
148
152
  #
149
153
  def add_telemetry
150
154
  sdk_information = 'azure_mgmt_recovery_services'
151
- sdk_information = "#{sdk_information}/0.17.2"
155
+ sdk_information = "#{sdk_information}/0.17.3"
152
156
  add_user_agent_information(sdk_information)
153
157
  end
154
158
  end
@@ -9,36 +9,40 @@ module Azure::RecoveryServices::Profiles::Latest
9
9
  VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates
10
10
  RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities
11
11
  ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages
12
+ RecoveryServices = Azure::RecoveryServices::Mgmt::V2016_06_01::RecoveryServices
12
13
  Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults
13
14
  Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations
14
15
  VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations
15
16
  Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages
16
17
 
17
18
  module Models
18
- ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
19
- ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
20
- CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
21
- Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
22
19
  ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
23
20
  RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
24
- VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
25
- JobsSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
26
- VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
27
- ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
21
+ ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
28
22
  ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
29
- Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
23
+ ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
24
+ ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
30
25
  ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
31
- VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
32
- MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
26
+ JobsSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
27
+ CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
28
+ ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
33
29
  VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
34
- ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
35
- UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
30
+ CheckNameAvailabilityParameters = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
31
+ ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
32
+ VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
33
+ Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
34
+ VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
35
+ Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
36
36
  ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
37
- VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
38
- ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
39
37
  NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
38
+ VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
39
+ CheckNameAvailabilityResult = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
40
+ UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
41
+ MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
42
+ VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
40
43
  ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
41
44
  ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
45
+ CheckNameAvailabilityResultResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource
42
46
  TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
43
47
  PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource
44
48
  Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault
@@ -55,7 +59,7 @@ module Azure::RecoveryServices::Profiles::Latest
55
59
  # RecoveryServicesManagementClass
56
60
  #
57
61
  class RecoveryServicesManagementClass
58
- attr_reader :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes
62
+ attr_reader :vault_certificates, :registered_identities, :replication_usages, :recovery_services, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes
59
63
 
60
64
  def initialize(options = {})
61
65
  if options.is_a?(Hash) && options.length == 0
@@ -78,6 +82,7 @@ module Azure::RecoveryServices::Profiles::Latest
78
82
  @vault_certificates = @client_0.vault_certificates
79
83
  @registered_identities = @client_0.registered_identities
80
84
  @replication_usages = @client_0.replication_usages
85
+ @recovery_services = @client_0.recovery_services
81
86
  @vaults = @client_0.vaults
82
87
  @operations = @client_0.operations
83
88
  @vault_extended_info_operations = @client_0.vault_extended_info_operations
@@ -102,78 +107,87 @@ module Azure::RecoveryServices::Profiles::Latest
102
107
  end
103
108
 
104
109
  class ModelClasses
105
- def client_discovery_value_for_single_api
106
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
107
- end
108
- def client_discovery_response
109
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
110
- end
111
- def certificate_request
112
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
113
- end
114
- def resource
115
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
116
- end
117
110
  def client_discovery_for_properties
118
111
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties
119
112
  end
120
113
  def raw_certificate_data
121
114
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData
122
115
  end
123
- def vault_certificate_response
124
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
116
+ def client_discovery_value_for_single_api
117
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi
118
+ end
119
+ def client_discovery_display
120
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
121
+ end
122
+ def client_discovery_for_log_specification
123
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
124
+ end
125
+ def resource_certificate_details
126
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
127
+ end
128
+ def client_discovery_for_service_specification
129
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
125
130
  end
126
131
  def jobs_summary
127
132
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary
128
133
  end
129
- def vault_list
130
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
134
+ def certificate_request
135
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest
131
136
  end
132
137
  def replication_usage
133
138
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage
134
139
  end
135
- def client_discovery_display
136
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay
140
+ def vault_usage
141
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
137
142
  end
138
- def sku
139
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
143
+ def check_name_availability_parameters
144
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityParameters
140
145
  end
141
- def client_discovery_for_service_specification
142
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification
146
+ def client_discovery_response
147
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse
143
148
  end
144
149
  def vault_usage_list
145
150
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList
146
151
  end
147
- def monitoring_summary
148
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
152
+ def resource
153
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource
149
154
  end
150
- def vault_usage
151
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage
155
+ def vault_certificate_response
156
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse
152
157
  end
153
- def client_discovery_for_log_specification
154
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification
158
+ def sku
159
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku
160
+ end
161
+ def replication_usage_list
162
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
163
+ end
164
+ def name_info
165
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
166
+ end
167
+ def vault_list
168
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList
169
+ end
170
+ def check_name_availability_result
171
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResult
155
172
  end
156
173
  def upgrade_details
157
174
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails
158
175
  end
159
- def replication_usage_list
160
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList
176
+ def monitoring_summary
177
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary
161
178
  end
162
179
  def vault_properties
163
180
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties
164
181
  end
165
- def resource_certificate_details
166
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails
167
- end
168
- def name_info
169
- Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo
170
- end
171
182
  def resource_certificate_and_aad_details
172
183
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails
173
184
  end
174
185
  def resource_certificate_and_acs_details
175
186
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails
176
187
  end
188
+ def check_name_availability_result_resource
189
+ Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CheckNameAvailabilityResultResource
190
+ end
177
191
  def tracked_resource
178
192
  Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource
179
193
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::RecoveryServices::Mgmt
6
- VERSION = '0.17.2'
6
+ VERSION = '0.17.3'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_recovery_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,6 +90,9 @@ files:
90
90
  - lib/2016-06-01/generated/azure_mgmt_recovery_services.rb
91
91
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/auth_type.rb
92
92
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/certificate_request.rb
93
+ - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_parameters.rb
94
+ - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_result.rb
95
+ - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/check_name_availability_result_resource.rb
93
96
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_display.rb
94
97
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_log_specification.rb
95
98
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/client_discovery_for_properties.rb
@@ -124,6 +127,7 @@ files:
124
127
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/models/vault_usage_list.rb
125
128
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/module_definition.rb
126
129
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/operations.rb
130
+ - lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services.rb
127
131
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/recovery_services_client.rb
128
132
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/registered_identities.rb
129
133
  - lib/2016-06-01/generated/azure_mgmt_recovery_services/replication_usages.rb
@@ -162,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
166
  version: '0'
163
167
  requirements: []
164
168
  rubyforge_project:
165
- rubygems_version: 2.7.6
169
+ rubygems_version: 2.5.1
166
170
  signing_key:
167
171
  specification_version: 4
168
172
  summary: Official Ruby client library to consume Microsoft Azure Recovery services.