azure_mgmt_signalr 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +1 -1
- 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 +22 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/usages.rb +4 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +57 -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/key_type.rb +16 -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 +56 -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 +87 -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 +1488 -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/azure_mgmt_signalr.rb +1 -0
- data/lib/profiles/latest/modules/signalr_profile_module.rb +71 -63
- data/lib/version.rb +1 -1
- metadata +38 -5
@@ -0,0 +1,18 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for SignalRSkuTier
|
10
|
+
#
|
11
|
+
module SignalRSkuTier
|
12
|
+
Free = "Free"
|
13
|
+
Basic = "Basic"
|
14
|
+
Standard = "Standard"
|
15
|
+
Premium = "Premium"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,81 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters for SignalR service update operation
|
10
|
+
#
|
11
|
+
class SignalRUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] A list of key value pairs that
|
16
|
+
# describe the resource.
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
# @return [ResourceSku] The billing information of the resource.(e.g.
|
20
|
+
# basic vs. standard)
|
21
|
+
attr_accessor :sku
|
22
|
+
|
23
|
+
# @return [SignalRCreateOrUpdateProperties] Settings used to provision or
|
24
|
+
# configure the resource
|
25
|
+
attr_accessor :properties
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for SignalRUpdateParameters class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'SignalRUpdateParameters',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'SignalRUpdateParameters',
|
40
|
+
model_properties: {
|
41
|
+
tags: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'tags',
|
45
|
+
type: {
|
46
|
+
name: 'Dictionary',
|
47
|
+
value: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'StringElementType',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
},
|
57
|
+
sku: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'sku',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'ResourceSku'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
properties: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'properties',
|
70
|
+
type: {
|
71
|
+
name: 'Composite',
|
72
|
+
class_name: 'SignalRCreateOrUpdateProperties'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
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_10_01
|
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_10_01
|
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
|
@@ -0,0 +1,57 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Localizable String object containing the name and a localized value.
|
10
|
+
#
|
11
|
+
class SignalRUsageName
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The identifier of the usage.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [String] Localized name of the usage.
|
19
|
+
attr_accessor :localized_value
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for SignalRUsageName class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'SignalRUsageName',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'SignalRUsageName',
|
34
|
+
model_properties: {
|
35
|
+
value: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'value',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
localized_value: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'localizedValue',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,94 @@
|
|
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_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM tracked top level resource.
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The GEO location of the SignalR service. e.g. West US
|
16
|
+
# | East US | North Central US | South Central US.
|
17
|
+
attr_accessor :location
|
18
|
+
|
19
|
+
# @return [Hash{String => String}] Tags of the service which is a list of
|
20
|
+
# key value pairs that describe the resource.
|
21
|
+
attr_accessor :tags
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for TrackedResource class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'TrackedResource',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'TrackedResource',
|
36
|
+
model_properties: {
|
37
|
+
id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'name',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
type: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'type',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
location: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'location',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
tags: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'tags',
|
76
|
+
type: {
|
77
|
+
name: 'Dictionary',
|
78
|
+
value: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'StringElementType',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|