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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cb6f8dc9f67ec2599246027c9567b0588f44290a
|
4
|
+
data.tar.gz: 73d12de6f4f5c1b29dfa6af9cff0210112cad764
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9d119542721110e5962ec8db8eb28a2f7a28e9dfe2688ae49eae9b7c44ba329d802023de65c4300072eaa9f1a25691520ddb962f4b4fd1fc639231bf543208ec
|
7
|
+
data.tar.gz: 0e26b3d0475a3b484552d7fa2bac45faddda7447466b8ffecec42602d048aae63091c110620a406392aa0b35ac0af1a7bc38ce91c33def5356a4af8a110b3e85
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Microsoft Corporation
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -0,0 +1,16 @@
|
|
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
|
+
# Defines values for KeyType
|
10
|
+
#
|
11
|
+
module KeyType
|
12
|
+
Primary = "Primary"
|
13
|
+
Secondary = "Secondary"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,119 @@
|
|
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 Metrics for Azure Monitoring.
|
10
|
+
#
|
11
|
+
class MetricSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the metric.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Localized friendly display name of the metric.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Localized friendly description of the metric.
|
22
|
+
attr_accessor :display_description
|
23
|
+
|
24
|
+
# @return [String] The unit that makes sense for the metric.
|
25
|
+
attr_accessor :unit
|
26
|
+
|
27
|
+
# @return [String] Only provide one value for this field. Valid values:
|
28
|
+
# Average, Minimum, Maximum, Total, Count.
|
29
|
+
attr_accessor :aggregation_type
|
30
|
+
|
31
|
+
# @return [String] Optional. If set to true, then zero will be returned
|
32
|
+
# for time duration where no metric is emitted/published.
|
33
|
+
# Ex. a metric that returns the number of times a particular error code
|
34
|
+
# was emitted. The error code may not appear
|
35
|
+
# often, instead of the RP publishing 0, Shoebox can auto fill in 0s for
|
36
|
+
# time periods where nothing was emitted.
|
37
|
+
attr_accessor :fill_gap_with_zero
|
38
|
+
|
39
|
+
# @return [String] The name of the metric category that the metric
|
40
|
+
# belongs to. A metric can only belong to a single category.
|
41
|
+
attr_accessor :category
|
42
|
+
|
43
|
+
|
44
|
+
#
|
45
|
+
# Mapper for MetricSpecification class as Ruby Hash.
|
46
|
+
# This will be used for serialization/deserialization.
|
47
|
+
#
|
48
|
+
def self.mapper()
|
49
|
+
{
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'MetricSpecification',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'MetricSpecification',
|
56
|
+
model_properties: {
|
57
|
+
name: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'name',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
display_name: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'displayName',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
display_description: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'displayDescription',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
unit: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'unit',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
aggregation_type: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'aggregationType',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
fill_gap_with_zero: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'fillGapWithZero',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
category: {
|
106
|
+
client_side_validation: true,
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'category',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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
|
+
# Result of the request to check name availability. It contains a flag and
|
10
|
+
# possible reason of failure.
|
11
|
+
#
|
12
|
+
class NameAvailability
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Boolean] Indicates whether the name is available or not.
|
17
|
+
attr_accessor :name_available
|
18
|
+
|
19
|
+
# @return [String] The reason of the availability. Required if name is
|
20
|
+
# not available.
|
21
|
+
attr_accessor :reason
|
22
|
+
|
23
|
+
# @return [String] The message of the operation.
|
24
|
+
attr_accessor :message
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for NameAvailability class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'NameAvailability',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'NameAvailability',
|
39
|
+
model_properties: {
|
40
|
+
name_available: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'nameAvailable',
|
44
|
+
type: {
|
45
|
+
name: 'Boolean'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
reason: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'reason',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
message: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'message',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/name_availability_parameters.rb
ADDED
@@ -0,0 +1,59 @@
|
|
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
|
+
# Data POST-ed to the nameAvailability action
|
10
|
+
#
|
11
|
+
class NameAvailabilityParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The resource type. Should be always
|
16
|
+
# "Microsoft.SignalRService/SignalR".
|
17
|
+
attr_accessor :type
|
18
|
+
|
19
|
+
# @return [String] The SignalR service name to validate.
|
20
|
+
# e.g."my-signalR-name-here"
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for NameAvailabilityParameters 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: 'NameAvailabilityParameters',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'NameAvailabilityParameters',
|
36
|
+
model_properties: {
|
37
|
+
type: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'type',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
name: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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
|
+
# REST API operation supported by SignalR resource provider.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the operation with format:
|
16
|
+
# {provider}/{resource}/{operation}
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [OperationDisplay] The object that describes the operation.
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
# @return [String] Optional. The intended executor of the operation;
|
23
|
+
# governs the display of the operation in the RBAC UX and the audit logs
|
24
|
+
# UX.
|
25
|
+
attr_accessor :origin
|
26
|
+
|
27
|
+
# @return [OperationProperties] Extra properties for the operation.
|
28
|
+
attr_accessor :properties
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for Operation class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'Operation',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'Operation',
|
43
|
+
model_properties: {
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
display: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'display',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'OperationDisplay'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
origin: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'origin',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
properties: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'properties',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'OperationProperties'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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
|
+
# The object that describes a operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Friendly name of the resource provider
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource type on which the operation is performed.
|
19
|
+
attr_accessor :resource
|
20
|
+
|
21
|
+
# @return [String] The localized friendly name for the operation.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] The localized friendly description for the operation
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for OperationDisplay 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: 'OperationDisplay',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'OperationDisplay',
|
40
|
+
model_properties: {
|
41
|
+
provider: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'provider',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
resource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'resource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
operation: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'operation',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
description: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'description',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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
|
+
# Result of the request to list REST API operations. It contains a list of
|
10
|
+
# operations.
|
11
|
+
#
|
12
|
+
class OperationList
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<Operation>] List of operations supported by the resource
|
18
|
+
# provider.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] The URL the client should use to fetch the next page
|
22
|
+
# (per server side paging).
|
23
|
+
# It's null for now, added for future use.
|
24
|
+
attr_accessor :next_link
|
25
|
+
|
26
|
+
# return [Proc] with next page method call.
|
27
|
+
attr_accessor :next_method
|
28
|
+
|
29
|
+
#
|
30
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
31
|
+
#
|
32
|
+
# @return [Array<Operation>] operation results.
|
33
|
+
#
|
34
|
+
def get_all_items
|
35
|
+
items = @value
|
36
|
+
page = self
|
37
|
+
while page.next_link != nil do
|
38
|
+
page = page.get_next_page
|
39
|
+
items.concat(page.value)
|
40
|
+
end
|
41
|
+
items
|
42
|
+
end
|
43
|
+
|
44
|
+
#
|
45
|
+
# Gets the next page of results.
|
46
|
+
#
|
47
|
+
# @return [OperationList] with next page content.
|
48
|
+
#
|
49
|
+
def get_next_page
|
50
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
51
|
+
unless response.nil?
|
52
|
+
@next_link = response.body.next_link
|
53
|
+
@value = response.body.value
|
54
|
+
self
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
#
|
59
|
+
# Mapper for OperationList class as Ruby Hash.
|
60
|
+
# This will be used for serialization/deserialization.
|
61
|
+
#
|
62
|
+
def self.mapper()
|
63
|
+
{
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'OperationList',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'OperationList',
|
70
|
+
model_properties: {
|
71
|
+
value: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'value',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'OperationElementType',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'Operation'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
next_link: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'nextLink',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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
|
+
# Extra Operation properties.
|
10
|
+
#
|
11
|
+
class OperationProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ServiceSpecification] The service specifications.
|
16
|
+
attr_accessor :service_specification
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for OperationProperties class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'OperationProperties',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'OperationProperties',
|
31
|
+
model_properties: {
|
32
|
+
service_specification: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'serviceSpecification',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'ServiceSpecification'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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
|
+
# Defines values for ProvisioningState
|
10
|
+
#
|
11
|
+
module ProvisioningState
|
12
|
+
Unknown = "Unknown"
|
13
|
+
Succeeded = "Succeeded"
|
14
|
+
Failed = "Failed"
|
15
|
+
Canceled = "Canceled"
|
16
|
+
Running = "Running"
|
17
|
+
Creating = "Creating"
|
18
|
+
Updating = "Updating"
|
19
|
+
Deleting = "Deleting"
|
20
|
+
Moving = "Moving"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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
|
+
# Parameters describes the request to regenerate access keys
|
10
|
+
#
|
11
|
+
class RegenerateKeyParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [KeyType] The keyType to regenerate. Must be either 'primary'
|
16
|
+
# or 'secondary'(case-insensitive). Possible values include: 'Primary',
|
17
|
+
# 'Secondary'
|
18
|
+
attr_accessor :key_type
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for RegenerateKeyParameters class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'RegenerateKeyParameters',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'RegenerateKeyParameters',
|
33
|
+
model_properties: {
|
34
|
+
key_type: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'keyType',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|