azure_mgmt_signalr 0.17.0 → 0.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr.rb +13 -8
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/metric_specification.rb +20 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_list.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb +10 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rkeys.rb +24 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource.rb +12 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb +4 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb +33 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +5 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/usages.rb +226 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/error_response.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/error_response_body.rb +93 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/feature_flags.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/log_specification.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb +139 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation.rb +84 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb +77 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +92 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb +85 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +93 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource.rb +232 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/module_definition.rb +9 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/operations.rb +225 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_r.rb +1498 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +141 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/usages.rb +226 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr.rb +76 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/aclaction.rb +16 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/error_response.rb +48 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/error_response_body.rb +93 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/feature_flags.rb +17 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/log_specification.rb +57 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/metric_specification.rb +139 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/network_acl.rb +75 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb +96 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint.rb +46 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint_acl.rb +78 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint_connection.rb +101 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_resource.rb +111 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_resource_list.rb +102 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_state.rb +72 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_status.rb +18 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/proxy_resource.rb +63 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/resource.rb +81 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/resource_sku.rb +101 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/serverless_upstream_settings.rb +58 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/service_kind.rb +16 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/service_specification.rb +77 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb +57 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +117 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +93 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb +81 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rnetwork_acls.rb +80 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rrequest_type.rb +17 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rresource.rb +294 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +18 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/models/upstream_template.rb +109 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/module_definition.rb +9 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/operations.rb +225 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_r.rb +1493 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +150 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_rprivate_endpoint_connections.rb +404 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_rprivate_link_resources.rb +246 -0
- data/lib/2020-05-01/generated/azure_mgmt_signalr/usages.rb +226 -0
- data/lib/azure_mgmt_signalr.rb +2 -0
- data/lib/profiles/latest/modules/signalr_profile_module.rb +153 -55
- data/lib/version.rb +1 -1
- metadata +99 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7768f3742ab21e890ea72bbc0290f796b0a499738006bf915a3a128b0b158473
|
4
|
+
data.tar.gz: e63436445d8b290c3d4fa741cbdf7594ab50c3472b16120c8cb222d3ca50aa36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbcca8645610b9f22c47a1deb9d0d39ff57d8a75e30d9a501a5328d432b5e5303bf946c601d23ee5a262b345cdbb3b722f2a1fd0a870d89f4f43f629734cf00f
|
7
|
+
data.tar.gz: f1ec787e9208b913f3da683e5f523e59f094bc02fc9a7dd4948af31fa3ed05492445f76795ed119976580be76060e8341f37cdbc567c606381dfb96d9eaa243f
|
@@ -22,24 +22,29 @@ require 'ms_rest_azure'
|
|
22
22
|
module Azure::Signalr::Mgmt::V2018_03_01_preview
|
23
23
|
autoload :Operations, '2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb'
|
24
24
|
autoload :SignalR, '2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb'
|
25
|
+
autoload :Usages, '2018-03-01-preview/generated/azure_mgmt_signalr/usages.rb'
|
25
26
|
autoload :SignalRManagementClient, '2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb'
|
26
27
|
|
27
28
|
module Models
|
28
|
-
autoload :
|
29
|
+
autoload :SignalRResourceList, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource_list.rb'
|
29
30
|
autoload :OperationDisplay, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_display.rb'
|
31
|
+
autoload :Dimension, '2018-03-01-preview/generated/azure_mgmt_signalr/models/dimension.rb'
|
30
32
|
autoload :ServiceSpecification, '2018-03-01-preview/generated/azure_mgmt_signalr/models/service_specification.rb'
|
31
|
-
autoload :
|
33
|
+
autoload :SignalRUsageList, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_list.rb'
|
32
34
|
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
35
|
autoload :Resource, '2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb'
|
37
|
-
autoload :
|
36
|
+
autoload :NameAvailabilityParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability_parameters.rb'
|
38
37
|
autoload :SignalRCreateOrUpdateProperties, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb'
|
39
|
-
autoload :
|
38
|
+
autoload :ResourceSku, '2018-03-01-preview/generated/azure_mgmt_signalr/models/resource_sku.rb'
|
40
39
|
autoload :SignalRKeys, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rkeys.rb'
|
41
|
-
autoload :
|
40
|
+
autoload :OperationProperties, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_properties.rb'
|
42
41
|
autoload :RegenerateKeyParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb'
|
42
|
+
autoload :NameAvailability, '2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability.rb'
|
43
|
+
autoload :SignalRUsage, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage.rb'
|
44
|
+
autoload :OperationList, '2018-03-01-preview/generated/azure_mgmt_signalr/models/operation_list.rb'
|
45
|
+
autoload :SignalRUpdateParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb'
|
46
|
+
autoload :MetricSpecification, '2018-03-01-preview/generated/azure_mgmt_signalr/models/metric_specification.rb'
|
47
|
+
autoload :SignalRUsageName, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_name.rb'
|
43
48
|
autoload :TrackedResource, '2018-03-01-preview/generated/azure_mgmt_signalr/models/tracked_resource.rb'
|
44
49
|
autoload :SignalRResource, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rresource.rb'
|
45
50
|
autoload :SignalRCreateParameters, '2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb'
|
@@ -0,0 +1,80 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifications of the Dimension of metrics.
|
10
|
+
#
|
11
|
+
class Dimension
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The public facing name of the dimension.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Localized friendly display name of the dimension.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Name of the dimension as it appears in MDM.
|
22
|
+
attr_accessor :internal_name
|
23
|
+
|
24
|
+
# @return [Boolean] A Boolean flag indicating whether this dimension
|
25
|
+
# should be included for the shoebox export scenario.
|
26
|
+
attr_accessor :to_be_exported_for_shoebox
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for Dimension class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'Dimension',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'Dimension',
|
41
|
+
model_properties: {
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
display_name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'displayName',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
internal_name: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'internalName',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
to_be_exported_for_shoebox: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'toBeExportedForShoebox',
|
70
|
+
type: {
|
71
|
+
name: 'Boolean'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -40,6 +40,9 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
40
40
|
# belongs to. A metric can only belong to a single category.
|
41
41
|
attr_accessor :category
|
42
42
|
|
43
|
+
# @return [Array<Dimension>] The dimensions of the metrics.
|
44
|
+
attr_accessor :dimensions
|
45
|
+
|
43
46
|
|
44
47
|
#
|
45
48
|
# Mapper for MetricSpecification class as Ruby Hash.
|
@@ -109,6 +112,23 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
109
112
|
type: {
|
110
113
|
name: 'String'
|
111
114
|
}
|
115
|
+
},
|
116
|
+
dimensions: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'dimensions',
|
120
|
+
type: {
|
121
|
+
name: 'Sequence',
|
122
|
+
element: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'DimensionElementType',
|
126
|
+
type: {
|
127
|
+
name: 'Composite',
|
128
|
+
class_name: 'Dimension'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
112
132
|
}
|
113
133
|
}
|
114
134
|
}
|
@@ -34,7 +34,7 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
34
34
|
def get_all_items
|
35
35
|
items = @value
|
36
36
|
page = self
|
37
|
-
while page.next_link != nil do
|
37
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
38
38
|
page = page.get_next_page
|
39
39
|
items.concat(page.value)
|
40
40
|
end
|
@@ -15,7 +15,7 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
15
15
|
# @return [String] Fully qualified resource Id for the resource.
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
|
-
# @return [String] The name of the
|
18
|
+
# @return [String] The name of the resource.
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
21
|
# @return [String] The type of the service - e.g.
|
@@ -23,6 +23,15 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
25
|
|
26
|
+
# @return [String] the name of the resource group of the resource.
|
27
|
+
def resource_group
|
28
|
+
unless self.id.nil?
|
29
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
30
|
+
groups.captures[0].strip if groups
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
26
35
|
#
|
27
36
|
# Mapper for Resource class as Ruby Hash.
|
28
37
|
# This will be used for serialization/deserialization.
|
@@ -18,6 +18,14 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
18
18
|
# @return [String] The secondary access key.
|
19
19
|
attr_accessor :secondary_key
|
20
20
|
|
21
|
+
# @return [String] SignalR connection string constructed via the
|
22
|
+
# primaryKey
|
23
|
+
attr_accessor :primary_connection_string
|
24
|
+
|
25
|
+
# @return [String] SignalR connection string constructed via the
|
26
|
+
# secondaryKey
|
27
|
+
attr_accessor :secondary_connection_string
|
28
|
+
|
21
29
|
|
22
30
|
#
|
23
31
|
# Mapper for SignalRKeys class as Ruby Hash.
|
@@ -47,6 +55,22 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
47
55
|
type: {
|
48
56
|
name: 'String'
|
49
57
|
}
|
58
|
+
},
|
59
|
+
primary_connection_string: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'primaryConnectionString',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
secondary_connection_string: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'secondaryConnectionString',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
50
74
|
}
|
51
75
|
}
|
52
76
|
}
|
@@ -41,6 +41,10 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
41
41
|
# which is designed for customer server side usage.
|
42
42
|
attr_accessor :server_port
|
43
43
|
|
44
|
+
# @return [String] Version of the SignalR resource. Probably you need the
|
45
|
+
# same or higher version of client SDKs.
|
46
|
+
attr_accessor :version
|
47
|
+
|
44
48
|
|
45
49
|
#
|
46
50
|
# Mapper for SignalRResource class as Ruby Hash.
|
@@ -167,6 +171,14 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
167
171
|
type: {
|
168
172
|
name: 'Number'
|
169
173
|
}
|
174
|
+
},
|
175
|
+
version: {
|
176
|
+
client_side_validation: true,
|
177
|
+
required: false,
|
178
|
+
serialized_name: 'properties.version',
|
179
|
+
type: {
|
180
|
+
name: 'String'
|
181
|
+
}
|
170
182
|
}
|
171
183
|
}
|
172
184
|
}
|
@@ -33,7 +33,7 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
33
33
|
def get_all_items
|
34
34
|
items = @value
|
35
35
|
page = self
|
36
|
-
while page.next_link != nil do
|
36
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
37
37
|
page = page.get_next_page
|
38
38
|
items.concat(page.value)
|
39
39
|
end
|
@@ -0,0 +1,95 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Object that describes a specific usage of SignalR resources.
|
10
|
+
#
|
11
|
+
class SignalRUsage
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Fully qualified ARM resource id
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [Integer] Current value for the usage quota.
|
19
|
+
attr_accessor :current_value
|
20
|
+
|
21
|
+
# @return [Integer] The maximum permitted value for the usage quota. If
|
22
|
+
# there is no limit, this value will be -1.
|
23
|
+
attr_accessor :limit
|
24
|
+
|
25
|
+
# @return [SignalRUsageName] Localizable String object containing the
|
26
|
+
# name and a localized value.
|
27
|
+
attr_accessor :name
|
28
|
+
|
29
|
+
# @return [String] Representing the units of the usage quota. Possible
|
30
|
+
# values are: Count, Bytes, Seconds, Percent, CountPerSecond,
|
31
|
+
# BytesPerSecond.
|
32
|
+
attr_accessor :unit
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for SignalRUsage class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'SignalRUsage',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'SignalRUsage',
|
47
|
+
model_properties: {
|
48
|
+
id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
current_value: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'currentValue',
|
60
|
+
type: {
|
61
|
+
name: 'Number'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
limit: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'limit',
|
68
|
+
type: {
|
69
|
+
name: 'Number'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
name: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'name',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'SignalRUsageName'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
unit: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'unit',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,101 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Object that includes an array of SignalR resource usages and a possible
|
10
|
+
# link for next set.
|
11
|
+
#
|
12
|
+
class SignalRUsageList
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<SignalRUsage>] List of SignalR usages
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL the client should use to fetch the next page
|
21
|
+
# (per server side paging).
|
22
|
+
# It's null for now, added for future use.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<SignalRUsage>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [SignalRUsageList] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for SignalRUsageList class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'SignalRUsageList',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'SignalRUsageList',
|
69
|
+
model_properties: {
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'value',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'SignalRUsageElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'SignalRUsage'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
next_link: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|