Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit dbe62fe

Browse files
AutorestCIsarangan12
authored andcommitted
Generated from 4c93570bb2e3e3df8b2a3393e8737dafc01c500e (#926)
1 parent 272b118 commit dbe62fe

File tree

74 files changed

+5075
-304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+5075
-304
lines changed

management/azure_mgmt_network/lib/generated/azure_mgmt_network.rb

Lines changed: 91 additions & 67 deletions
Large diffs are not rendered by default.

management/azure_mgmt_network/lib/generated/azure_mgmt_network/application_gateways.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea
101101
def get_async(resource_group_name, application_gateway_name, custom_headers = nil)
102102
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
103103
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
104-
api_version = '2017-06-01'
104+
api_version = '2017-08-01'
105105
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
106106

107107

@@ -234,7 +234,7 @@ def list_with_http_info(resource_group_name, custom_headers = nil)
234234
#
235235
def list_async(resource_group_name, custom_headers = nil)
236236
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
237-
api_version = '2017-06-01'
237+
api_version = '2017-08-01'
238238
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
239239

240240

@@ -317,7 +317,7 @@ def list_all_with_http_info(custom_headers = nil)
317317
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
318318
#
319319
def list_all_async(custom_headers = nil)
320-
api_version = '2017-06-01'
320+
api_version = '2017-08-01'
321321
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
322322

323323

@@ -523,7 +523,7 @@ def list_available_waf_rule_sets_with_http_info(custom_headers = nil)
523523
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
524524
#
525525
def list_available_waf_rule_sets_async(custom_headers = nil)
526-
api_version = '2017-06-01'
526+
api_version = '2017-08-01'
527527
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
528528

529529

@@ -606,7 +606,7 @@ def list_available_ssl_options_with_http_info(custom_headers = nil)
606606
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
607607
#
608608
def list_available_ssl_options_async(custom_headers = nil)
609-
api_version = '2017-06-01'
609+
api_version = '2017-08-01'
610610
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
611611

612612

@@ -689,7 +689,7 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil)
689689
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
690690
#
691691
def list_available_ssl_predefined_policies_async(custom_headers = nil)
692-
api_version = '2017-06-01'
692+
api_version = '2017-08-01'
693693
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
694694

695695

@@ -775,7 +775,7 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head
775775
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
776776
#
777777
def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil)
778-
api_version = '2017-06-01'
778+
api_version = '2017-08-01'
779779
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
780780
fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil?
781781

@@ -866,7 +866,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c
866866
def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil)
867867
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
868868
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
869-
api_version = '2017-06-01'
869+
api_version = '2017-08-01'
870870
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
871871

872872

@@ -954,7 +954,7 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name,
954954
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
955955
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
956956
fail ArgumentError, 'parameters is nil' if parameters.nil?
957-
api_version = '2017-06-01'
957+
api_version = '2017-08-01'
958958
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
959959

960960

@@ -1063,7 +1063,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu
10631063
def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil)
10641064
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
10651065
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
1066-
api_version = '2017-06-01'
1066+
api_version = '2017-08-01'
10671067
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
10681068

10691069

@@ -1143,7 +1143,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus
11431143
def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil)
11441144
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
11451145
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
1146-
api_version = '2017-06-01'
1146+
api_version = '2017-08-01'
11471147
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
11481148

11491149

@@ -1233,7 +1233,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway
12331233
def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil)
12341234
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
12351235
fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil?
1236-
api_version = '2017-06-01'
1236+
api_version = '2017-08-01'
12371237
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
12381238

12391239

management/azure_mgmt_network/lib/generated/azure_mgmt_network/available_private_access_services.rb renamed to management/azure_mgmt_network/lib/generated/azure_mgmt_network/available_endpoint_services.rb

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ module Azure::ARM::Network
77
#
88
# Network Client
99
#
10-
class AvailablePrivateAccessServices
10+
class AvailableEndpointServices
1111
include MsRestAzure
1212

1313
#
14-
# Creates and initializes a new instance of the AvailablePrivateAccessServices class.
14+
# Creates and initializes a new instance of the AvailableEndpointServices class.
1515
# @param client service class for accessing basic functionality.
1616
#
1717
def initialize(client)
@@ -22,25 +22,23 @@ def initialize(client)
2222
attr_reader :client
2323

2424
#
25-
# List what values of private access services are available for use.
25+
# List what values of endpoint services are available for use.
2626
#
27-
# @param location [String] The location to check available private access
28-
# values.
27+
# @param location [String] The location to check available endpoint services.
2928
# @param custom_headers [Hash{String => String}] A hash of custom headers that
3029
# will be added to the HTTP request.
3130
#
32-
# @return [Array<PrivateAccessServiceResult>] operation results.
31+
# @return [Array<EndpointServiceResult>] operation results.
3332
#
3433
def list(location, custom_headers = nil)
3534
first_page = list_as_lazy(location, custom_headers)
3635
first_page.get_all_items
3736
end
3837

3938
#
40-
# List what values of private access services are available for use.
39+
# List what values of endpoint services are available for use.
4140
#
42-
# @param location [String] The location to check available private access
43-
# values.
41+
# @param location [String] The location to check available endpoint services.
4442
# @param custom_headers [Hash{String => String}] A hash of custom headers that
4543
# will be added to the HTTP request.
4644
#
@@ -51,18 +49,17 @@ def list_with_http_info(location, custom_headers = nil)
5149
end
5250

5351
#
54-
# List what values of private access services are available for use.
52+
# List what values of endpoint services are available for use.
5553
#
56-
# @param location [String] The location to check available private access
57-
# values.
54+
# @param location [String] The location to check available endpoint services.
5855
# @param [Hash{String => String}] A hash of custom headers that will be added
5956
# to the HTTP request.
6057
#
6158
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
6259
#
6360
def list_async(location, custom_headers = nil)
6461
fail ArgumentError, 'location is nil' if location.nil?
65-
api_version = '2017-06-01'
62+
api_version = '2017-08-01'
6663
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
6764

6865

@@ -71,7 +68,7 @@ def list_async(location, custom_headers = nil)
7168
# Set Headers
7269
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
7370
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
74-
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/privateAccessServices'
71+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices'
7572

7673
request_url = @base_url || @client.base_url
7774

@@ -98,7 +95,7 @@ def list_async(location, custom_headers = nil)
9895
if status_code == 200
9996
begin
10097
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
101-
result_mapper = Azure::ARM::Network::Models::PrivateAccessServicesListResult.mapper()
98+
result_mapper = Azure::ARM::Network::Models::EndpointServicesListResult.mapper()
10299
result.body = @client.deserialize(result_mapper, parsed_response)
103100
rescue Exception => e
104101
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -112,22 +109,22 @@ def list_async(location, custom_headers = nil)
112109
end
113110

114111
#
115-
# List what values of private access services are available for use.
112+
# List what values of endpoint services are available for use.
116113
#
117114
# @param next_page_link [String] The NextLink from the previous successful call
118115
# to List operation.
119116
# @param custom_headers [Hash{String => String}] A hash of custom headers that
120117
# will be added to the HTTP request.
121118
#
122-
# @return [PrivateAccessServicesListResult] operation results.
119+
# @return [EndpointServicesListResult] operation results.
123120
#
124121
def list_next(next_page_link, custom_headers = nil)
125122
response = list_next_async(next_page_link, custom_headers).value!
126123
response.body unless response.nil?
127124
end
128125

129126
#
130-
# List what values of private access services are available for use.
127+
# List what values of endpoint services are available for use.
131128
#
132129
# @param next_page_link [String] The NextLink from the previous successful call
133130
# to List operation.
@@ -141,7 +138,7 @@ def list_next_with_http_info(next_page_link, custom_headers = nil)
141138
end
142139

143140
#
144-
# List what values of private access services are available for use.
141+
# List what values of endpoint services are available for use.
145142
#
146143
# @param next_page_link [String] The NextLink from the previous successful call
147144
# to List operation.
@@ -185,7 +182,7 @@ def list_next_async(next_page_link, custom_headers = nil)
185182
if status_code == 200
186183
begin
187184
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
188-
result_mapper = Azure::ARM::Network::Models::PrivateAccessServicesListResult.mapper()
185+
result_mapper = Azure::ARM::Network::Models::EndpointServicesListResult.mapper()
189186
result.body = @client.deserialize(result_mapper, parsed_response)
190187
rescue Exception => e
191188
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -199,15 +196,14 @@ def list_next_async(next_page_link, custom_headers = nil)
199196
end
200197

201198
#
202-
# List what values of private access services are available for use.
199+
# List what values of endpoint services are available for use.
203200
#
204-
# @param location [String] The location to check available private access
205-
# values.
201+
# @param location [String] The location to check available endpoint services.
206202
# @param custom_headers [Hash{String => String}] A hash of custom headers that
207203
# will be added to the HTTP request.
208204
#
209-
# @return [PrivateAccessServicesListResult] which provide lazy access to pages
210-
# of the response.
205+
# @return [EndpointServicesListResult] which provide lazy access to pages of
206+
# the response.
211207
#
212208
def list_as_lazy(location, custom_headers = nil)
213209
response = list_async(location, custom_headers).value!

management/azure_mgmt_network/lib/generated/azure_mgmt_network/bgp_service_communities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def list_with_http_info(custom_headers = nil)
5555
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
5656
#
5757
def list_async(custom_headers = nil)
58-
api_version = '2017-06-01'
58+
api_version = '2017-08-01'
5959
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
6060

6161

0 commit comments

Comments
 (0)