Class: Azure::BaseManagement::SqlManagementHttpRequest
- Inherits:
-
ManagementHttpRequest
- Object
- Core::Http::HttpRequest
- ManagementHttpRequest
- Azure::BaseManagement::SqlManagementHttpRequest
- Defined in:
- lib/azure/base_management/sql_management_http_request.rb
Overview
This class is used for communicating with the Management certificate authentication API endpoint
Instance Attribute Summary
Attributes inherited from ManagementHttpRequest
Instance Method Summary collapse
-
#initialize(method, path, options_or_body = {}) ⇒ SqlManagementHttpRequest
constructor
Creates the SqlManagementHttpRequest.
Methods inherited from ManagementHttpRequest
#apply_body_headers, #call, #check_completion, #http_setup, #rebuild_request, #redirected?, #wait_for_completion
Constructor Details
#initialize(method, path, options_or_body = {}) ⇒ SqlManagementHttpRequest
Creates the SqlManagementHttpRequest
27 28 29 30 31 32 |
# File 'lib/azure/base_management/sql_management_http_request.rb', line 27 def initialize(method, path, = {}) path = '/services/sqlservers' + (path.start_with?('/') ? path : '/' + path) super(method, path, ) headers['x-ms-version'] = '2012-03-01' self.uri = URI.parse(Azure.config.sql_database_management_endpoint + Azure.config.subscription_id + path) end |