azure_mgmt_signalr 0.17.4 → 0.17.5
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/signal_r.rb +11 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +13 -9
- 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/log_specification.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb +21 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +12 -6
- data/lib/2018-10-01/generated/azure_mgmt_signalr/operations.rb +2 -2
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_r.rb +23 -13
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_signalr/usages.rb +2 -2
- 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 +1 -0
- data/lib/profiles/latest/modules/signalr_profile_module.rb +143 -71
- data/lib/version.rb +1 -1
- metadata +60 -4
data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_state.rb
ADDED
@@ -0,0 +1,72 @@
|
|
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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Connection state of the private endpoint connection
|
10
|
+
#
|
11
|
+
class PrivateLinkServiceConnectionState
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [PrivateLinkServiceConnectionStatus] Indicates whether the
|
16
|
+
# connection has been Approved/Rejected/Removed by the owner of the
|
17
|
+
# service. Possible values include: 'Pending', 'Approved', 'Rejected',
|
18
|
+
# 'Disconnected'
|
19
|
+
attr_accessor :status
|
20
|
+
|
21
|
+
# @return [String] The reason for approval/rejection of the connection.
|
22
|
+
attr_accessor :description
|
23
|
+
|
24
|
+
# @return [String] A message indicating if changes on the service
|
25
|
+
# provider require any updates on the consumer.
|
26
|
+
attr_accessor :actions_required
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for PrivateLinkServiceConnectionState 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: 'PrivateLinkServiceConnectionState',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'PrivateLinkServiceConnectionState',
|
41
|
+
model_properties: {
|
42
|
+
status: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'status',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
description: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'description',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
actions_required: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'actionsRequired',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_status.rb
ADDED
@@ -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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for PrivateLinkServiceConnectionStatus
|
10
|
+
#
|
11
|
+
module PrivateLinkServiceConnectionStatus
|
12
|
+
Pending = "Pending"
|
13
|
+
Approved = "Approved"
|
14
|
+
Rejected = "Rejected"
|
15
|
+
Disconnected = "Disconnected"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
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::V2020_05_01
|
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,63 @@
|
|
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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM proxy resource. It will have
|
10
|
+
# everything other than required location and tags
|
11
|
+
#
|
12
|
+
class ProxyResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'ProxyResource',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'ProxyResource',
|
29
|
+
model_properties: {
|
30
|
+
id: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'type',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
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::V2020_05_01
|
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
|
@@ -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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The core properties of ARM resources.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Fully qualified resource Id for the resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the resource.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The type of the resource - e.g.
|
22
|
+
# "Microsoft.SignalRService/SignalR"
|
23
|
+
attr_accessor :type
|
24
|
+
|
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
|
+
|
35
|
+
#
|
36
|
+
# Mapper for Resource 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: 'Resource',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'Resource',
|
47
|
+
model_properties: {
|
48
|
+
id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'id',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
name: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'name',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
type: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'type',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The billing information of the SignalR resource.
|
10
|
+
#
|
11
|
+
class ResourceSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the SKU. Required.
|
16
|
+
#
|
17
|
+
# Allowed values: Standard_S1, Free_F1
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
# @return [SignalRSkuTier] Optional tier of this particular SKU.
|
21
|
+
# 'Standard' or 'Free'.
|
22
|
+
#
|
23
|
+
# `Basic` is deprecated, use `Standard` instead. Possible values include:
|
24
|
+
# 'Free', 'Basic', 'Standard', 'Premium'
|
25
|
+
attr_accessor :tier
|
26
|
+
|
27
|
+
# @return [String] Optional string. For future use.
|
28
|
+
attr_accessor :size
|
29
|
+
|
30
|
+
# @return [String] Optional string. For future use.
|
31
|
+
attr_accessor :family
|
32
|
+
|
33
|
+
# @return [Integer] Optional, integer. The unit count of SignalR
|
34
|
+
# resource. 1 by default.
|
35
|
+
#
|
36
|
+
# If present, following values are allowed:
|
37
|
+
# Free: 1
|
38
|
+
# Standard: 1,2,5,10,20,50,100
|
39
|
+
attr_accessor :capacity
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for ResourceSku class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'ResourceSku',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ResourceSku',
|
54
|
+
model_properties: {
|
55
|
+
name: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'name',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
tier: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'tier',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
size: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'size',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
family: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'family',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
capacity: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'capacity',
|
91
|
+
type: {
|
92
|
+
name: 'Number'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,58 @@
|
|
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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The settings for the Upstream when the Azure SignalR is in server-less
|
10
|
+
# mode.
|
11
|
+
#
|
12
|
+
class ServerlessUpstreamSettings
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<UpstreamTemplate>] Gets or sets the list of Upstream URL
|
17
|
+
# templates. Order matters, and the first matching template takes
|
18
|
+
# effects.
|
19
|
+
attr_accessor :templates
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ServerlessUpstreamSettings 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: 'ServerlessUpstreamSettings',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ServerlessUpstreamSettings',
|
34
|
+
model_properties: {
|
35
|
+
templates: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'templates',
|
39
|
+
type: {
|
40
|
+
name: 'Sequence',
|
41
|
+
element: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'UpstreamTemplateElementType',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'UpstreamTemplate'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|