azure_mgmt_signalr 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/metric_specification.rb +119 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation.rb +84 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb +72 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource_sku.rb +98 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/service_specification.rb +56 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +49 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb +85 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rkeys.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource.rb +177 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +17 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb +81 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/module_definition.rb +9 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb +221 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb +1335 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +136 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr.rb +50 -0
- data/lib/azure_mgmt_signalr.rb +5 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/signalr_profile_module.rb +147 -0
- data/lib/profiles/latest/signalr_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/signalr_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- metadata +151 -0
@@ -0,0 +1,136 @@
|
|
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::Signalr::Mgmt::V2018_03_01_preview
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class SignalRManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Client Api Version.
|
21
|
+
attr_reader :api_version
|
22
|
+
|
23
|
+
# @return [String] Gets subscription Id which uniquely identify the
|
24
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
25
|
+
# for every service call.
|
26
|
+
attr_accessor :subscription_id
|
27
|
+
|
28
|
+
# @return [String] Gets or sets the preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] Gets or sets the retry timeout in seconds for Long
|
32
|
+
# Running Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
34
|
+
|
35
|
+
# @return [Boolean] When set to true a unique x-ms-client-request-id value
|
36
|
+
# is generated and included in each request. Default is true.
|
37
|
+
attr_accessor :generate_client_request_id
|
38
|
+
|
39
|
+
# @return [Operations] operations
|
40
|
+
attr_reader :operations
|
41
|
+
|
42
|
+
# @return [SignalR] signal_r
|
43
|
+
attr_reader :signal_r
|
44
|
+
|
45
|
+
#
|
46
|
+
# Creates initializes a new instance of the SignalRManagementClient class.
|
47
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
48
|
+
# @param base_url [String] the base URI of the service.
|
49
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
50
|
+
#
|
51
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
52
|
+
super(credentials, options)
|
53
|
+
@base_url = base_url || 'https://management.azure.com'
|
54
|
+
|
55
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
56
|
+
@credentials = credentials
|
57
|
+
|
58
|
+
@operations = Operations.new(self)
|
59
|
+
@signal_r = SignalR.new(self)
|
60
|
+
@api_version = '2018-03-01-preview'
|
61
|
+
@accept_language = 'en-US'
|
62
|
+
@long_running_operation_retry_timeout = 30
|
63
|
+
@generate_client_request_id = true
|
64
|
+
add_telemetry
|
65
|
+
end
|
66
|
+
|
67
|
+
#
|
68
|
+
# Makes a request and returns the body of the response.
|
69
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
70
|
+
# @param path [String] the path, relative to {base_url}.
|
71
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
72
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
73
|
+
# Example:
|
74
|
+
#
|
75
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
76
|
+
# path = "/path"
|
77
|
+
# options = {
|
78
|
+
# body: request_content,
|
79
|
+
# query_params: {'api-version' => '2016-02-01'}
|
80
|
+
# }
|
81
|
+
# result = @client.make_request(:put, path, options)
|
82
|
+
#
|
83
|
+
def make_request(method, path, options = {})
|
84
|
+
result = make_request_with_http_info(method, path, options)
|
85
|
+
result.body unless result.nil?
|
86
|
+
end
|
87
|
+
|
88
|
+
#
|
89
|
+
# Makes a request and returns the operation response.
|
90
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
91
|
+
# @param path [String] the path, relative to {base_url}.
|
92
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
93
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
94
|
+
#
|
95
|
+
def make_request_with_http_info(method, path, options = {})
|
96
|
+
result = make_request_async(method, path, options).value!
|
97
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
98
|
+
result
|
99
|
+
end
|
100
|
+
|
101
|
+
#
|
102
|
+
# Makes a request asynchronously.
|
103
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
104
|
+
# @param path [String] the path, relative to {base_url}.
|
105
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
106
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
107
|
+
#
|
108
|
+
def make_request_async(method, path, options = {})
|
109
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
110
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
111
|
+
|
112
|
+
request_url = options[:base_url] || @base_url
|
113
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
114
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
115
|
+
end
|
116
|
+
|
117
|
+
request_headers = @request_headers
|
118
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
119
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
120
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
121
|
+
|
122
|
+
super(request_url, method, path, options)
|
123
|
+
end
|
124
|
+
|
125
|
+
|
126
|
+
private
|
127
|
+
#
|
128
|
+
# Adds telemetry information.
|
129
|
+
#
|
130
|
+
def add_telemetry
|
131
|
+
sdk_information = 'azure_mgmt_signalr'
|
132
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
133
|
+
add_user_agent_information(sdk_information)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2018-03-01-preview/generated/azure_mgmt_signalr/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Signalr::Mgmt::V2018_03_01_preview
|
23
|
+
autoload :Operations, '2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb'
|
24
|
+
autoload :SignalR, '2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb'
|
25
|
+
autoload :SignalRManagementClient, '2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb'
|
26
|
+
|
27
|
+
module Models
|
28
|
+
autoload :ResourceSku, '2018-03-01-preview/generated/azure_mgmt_signalr/models/resource_sku.rb'
|
29
|
+
autoload :OperationDisplay, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_display.rb'
|
30
|
+
autoload :ServiceSpecification, '2018-03-01-preview/generated/azure_mgmt_signalr/models/service_specification.rb'
|
31
|
+
autoload :SignalRResourceList, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource_list.rb'
|
32
|
+
autoload :Operation, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation.rb'
|
33
|
+
autoload :OperationList, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_list.rb'
|
34
|
+
autoload :SignalRUpdateParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb'
|
35
|
+
autoload :NameAvailability, '2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability.rb'
|
36
|
+
autoload :Resource, '2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb'
|
37
|
+
autoload :OperationProperties, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_properties.rb'
|
38
|
+
autoload :SignalRCreateOrUpdateProperties, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb'
|
39
|
+
autoload :MetricSpecification, '2018-03-01-preview/generated/azure_mgmt_signalr/models/metric_specification.rb'
|
40
|
+
autoload :SignalRKeys, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rkeys.rb'
|
41
|
+
autoload :NameAvailabilityParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability_parameters.rb'
|
42
|
+
autoload :RegenerateKeyParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb'
|
43
|
+
autoload :TrackedResource, '2018-03-01-preview/generated/azure_mgmt_signalr/models/tracked_resource.rb'
|
44
|
+
autoload :SignalRResource, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource.rb'
|
45
|
+
autoload :SignalRCreateParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb'
|
46
|
+
autoload :SignalRSkuTier, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb'
|
47
|
+
autoload :ProvisioningState, '2018-03-01-preview/generated/azure_mgmt_signalr/models/provisioning_state.rb'
|
48
|
+
autoload :KeyType, '2018-03-01-preview/generated/azure_mgmt_signalr/models/key_type.rb'
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_signalr'
|
6
|
+
|
7
|
+
module Azure::Signalr::Profiles::Latest
|
8
|
+
module Mgmt
|
9
|
+
Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations
|
10
|
+
SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR
|
11
|
+
|
12
|
+
module Models
|
13
|
+
ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku
|
14
|
+
OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
15
|
+
ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification
|
16
|
+
SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList
|
17
|
+
Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation
|
18
|
+
OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList
|
19
|
+
SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters
|
20
|
+
NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability
|
21
|
+
Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource
|
22
|
+
OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties
|
23
|
+
SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties
|
24
|
+
MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification
|
25
|
+
SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys
|
26
|
+
NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters
|
27
|
+
RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters
|
28
|
+
TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource
|
29
|
+
SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource
|
30
|
+
SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters
|
31
|
+
SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier
|
32
|
+
ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState
|
33
|
+
KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType
|
34
|
+
end
|
35
|
+
|
36
|
+
#
|
37
|
+
# SignalrManagementClass
|
38
|
+
#
|
39
|
+
class SignalrManagementClass
|
40
|
+
attr_reader :operations, :signal_r, :configurable, :base_url, :options, :model_classes
|
41
|
+
|
42
|
+
def initialize(options = {})
|
43
|
+
if options.is_a?(Hash) && options.length == 0
|
44
|
+
@options = setup_default_options
|
45
|
+
else
|
46
|
+
@options = options
|
47
|
+
end
|
48
|
+
|
49
|
+
reset!(options)
|
50
|
+
|
51
|
+
@configurable = self
|
52
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
53
|
+
@options = options[:options].nil? ? nil:options[:options]
|
54
|
+
|
55
|
+
@client_0 = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalRManagementClient.new(configurable.credentials, base_url, options)
|
56
|
+
if(@client_0.respond_to?(:subscription_id))
|
57
|
+
@client_0.subscription_id = configurable.subscription_id
|
58
|
+
end
|
59
|
+
add_telemetry(@client_0)
|
60
|
+
@operations = @client_0.operations
|
61
|
+
@signal_r = @client_0.signal_r
|
62
|
+
|
63
|
+
@model_classes = ModelClasses.new
|
64
|
+
end
|
65
|
+
|
66
|
+
def add_telemetry(client)
|
67
|
+
profile_information = 'Profiles/Latest/Signalr/Mgmt'
|
68
|
+
client.add_user_agent_information(profile_information)
|
69
|
+
end
|
70
|
+
|
71
|
+
def method_missing(method, *args)
|
72
|
+
if @client_0.respond_to?method
|
73
|
+
@client_0.send(method, *args)
|
74
|
+
else
|
75
|
+
super
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
class ModelClasses
|
82
|
+
def resource_sku
|
83
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku
|
84
|
+
end
|
85
|
+
def operation_display
|
86
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
87
|
+
end
|
88
|
+
def service_specification
|
89
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification
|
90
|
+
end
|
91
|
+
def signal_rresource_list
|
92
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList
|
93
|
+
end
|
94
|
+
def operation
|
95
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation
|
96
|
+
end
|
97
|
+
def operation_list
|
98
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList
|
99
|
+
end
|
100
|
+
def signal_rupdate_parameters
|
101
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters
|
102
|
+
end
|
103
|
+
def name_availability
|
104
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability
|
105
|
+
end
|
106
|
+
def resource
|
107
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource
|
108
|
+
end
|
109
|
+
def operation_properties
|
110
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties
|
111
|
+
end
|
112
|
+
def signal_rcreate_or_update_properties
|
113
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties
|
114
|
+
end
|
115
|
+
def metric_specification
|
116
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification
|
117
|
+
end
|
118
|
+
def signal_rkeys
|
119
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys
|
120
|
+
end
|
121
|
+
def name_availability_parameters
|
122
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters
|
123
|
+
end
|
124
|
+
def regenerate_key_parameters
|
125
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters
|
126
|
+
end
|
127
|
+
def tracked_resource
|
128
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource
|
129
|
+
end
|
130
|
+
def signal_rresource
|
131
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource
|
132
|
+
end
|
133
|
+
def signal_rcreate_parameters
|
134
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters
|
135
|
+
end
|
136
|
+
def signal_rsku_tier
|
137
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier
|
138
|
+
end
|
139
|
+
def provisioning_state
|
140
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState
|
141
|
+
end
|
142
|
+
def key_type
|
143
|
+
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType
|
144
|
+
end
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'profiles/latest/signalr_module_definition'
|
6
|
+
require 'profiles/latest/modules/signalr_profile_module'
|
7
|
+
|
8
|
+
module Azure::Signalr::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < SignalrManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::Signalr end
|
7
|
+
module Azure::Signalr::Profiles end
|
8
|
+
module Azure::Signalr::Profiles::Latest end
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_signalr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.16.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ms_rest_azure
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.10.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.10.0
|
83
|
+
description: Microsoft Azure Signalr Library for Ruby
|
84
|
+
email: azrubyteam@microsoft.com
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- LICENSE.txt
|
90
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr.rb
|
91
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/key_type.rb
|
92
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/metric_specification.rb
|
93
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability.rb
|
94
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability_parameters.rb
|
95
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation.rb
|
96
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_display.rb
|
97
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_list.rb
|
98
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_properties.rb
|
99
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/provisioning_state.rb
|
100
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb
|
101
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb
|
102
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource_sku.rb
|
103
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/service_specification.rb
|
104
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb
|
105
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb
|
106
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rkeys.rb
|
107
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource.rb
|
108
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource_list.rb
|
109
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb
|
110
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb
|
111
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/tracked_resource.rb
|
112
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/module_definition.rb
|
113
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb
|
114
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb
|
115
|
+
- lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb
|
116
|
+
- lib/azure_mgmt_signalr.rb
|
117
|
+
- lib/module_definition.rb
|
118
|
+
- lib/profiles/latest/modules/signalr_profile_module.rb
|
119
|
+
- lib/profiles/latest/signalr_latest_profile_client.rb
|
120
|
+
- lib/profiles/latest/signalr_module_definition.rb
|
121
|
+
- lib/version.rb
|
122
|
+
homepage: https://aka.ms/azure-sdk-for-ruby
|
123
|
+
licenses:
|
124
|
+
- MIT
|
125
|
+
metadata:
|
126
|
+
bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
|
127
|
+
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
128
|
+
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
129
|
+
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
130
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_signalr
|
131
|
+
post_install_message:
|
132
|
+
rdoc_options: []
|
133
|
+
require_paths:
|
134
|
+
- lib
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 2.0.0
|
140
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
requirements: []
|
146
|
+
rubyforge_project:
|
147
|
+
rubygems_version: 2.5.1
|
148
|
+
signing_key:
|
149
|
+
specification_version: 4
|
150
|
+
summary: Official Ruby client library to consume Microsoft Azure Signalr.
|
151
|
+
test_files: []
|