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
@@ -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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ServiceKind
|
10
|
+
#
|
11
|
+
module ServiceKind
|
12
|
+
SignalR = "SignalR"
|
13
|
+
RawWebSockets = "RawWebSockets"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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
|
+
# An object that describes a specification.
|
10
|
+
#
|
11
|
+
class ServiceSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<MetricSpecification>] Specifications of the Metrics for
|
16
|
+
# Azure Monitoring.
|
17
|
+
attr_accessor :metric_specifications
|
18
|
+
|
19
|
+
# @return [Array<LogSpecification>] Specifications of the Logs for Azure
|
20
|
+
# Monitoring.
|
21
|
+
attr_accessor :log_specifications
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ServiceSpecification 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: 'ServiceSpecification',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ServiceSpecification',
|
36
|
+
model_properties: {
|
37
|
+
metric_specifications: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'metricSpecifications',
|
41
|
+
type: {
|
42
|
+
name: 'Sequence',
|
43
|
+
element: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'MetricSpecificationElementType',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'MetricSpecification'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
log_specifications: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'logSpecifications',
|
58
|
+
type: {
|
59
|
+
name: 'Sequence',
|
60
|
+
element: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'LogSpecificationElementType',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'LogSpecification'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Cross-Origin Resource Sharing (CORS) settings.
|
10
|
+
#
|
11
|
+
class SignalRCorsSettings
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] Gets or sets the list of origins that should be
|
16
|
+
# allowed to make cross-origin calls (for example:
|
17
|
+
# http://example.com:12345). Use "*" to allow all. If omitted, allow all
|
18
|
+
# by default.
|
19
|
+
attr_accessor :allowed_origins
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for SignalRCorsSettings 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: 'SignalRCorsSettings',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'SignalRCorsSettings',
|
34
|
+
model_properties: {
|
35
|
+
allowed_origins: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'allowedOrigins',
|
39
|
+
type: {
|
40
|
+
name: 'Sequence',
|
41
|
+
element: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'StringElementType',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb
ADDED
@@ -0,0 +1,117 @@
|
|
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
|
+
# Settings used to provision or configure the resource.
|
10
|
+
#
|
11
|
+
class SignalRCreateOrUpdateProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Prefix for the hostName of the SignalR service.
|
16
|
+
# Retained for future use.
|
17
|
+
# The hostname will be of format:
|
18
|
+
# <hostNamePrefix>.service.signalr.net.
|
19
|
+
attr_accessor :host_name_prefix
|
20
|
+
|
21
|
+
# @return [Array<SignalRFeature>] List of SignalR featureFlags. e.g.
|
22
|
+
# ServiceMode.
|
23
|
+
#
|
24
|
+
# FeatureFlags that are not included in the parameters for the update
|
25
|
+
# operation will not be modified.
|
26
|
+
# And the response will only include featureFlags that are explicitly
|
27
|
+
# set.
|
28
|
+
# When a featureFlag is not explicitly set, SignalR service will use its
|
29
|
+
# globally default value.
|
30
|
+
# But keep in mind, the default value doesn't mean "false". It varies in
|
31
|
+
# terms of different FeatureFlags.
|
32
|
+
attr_accessor :features
|
33
|
+
|
34
|
+
# @return [SignalRCorsSettings] Cross-Origin Resource Sharing (CORS)
|
35
|
+
# settings.
|
36
|
+
attr_accessor :cors
|
37
|
+
|
38
|
+
# @return [ServerlessUpstreamSettings] Upstream settings when the Azure
|
39
|
+
# SignalR is in server-less mode.
|
40
|
+
attr_accessor :upstream
|
41
|
+
|
42
|
+
# @return [SignalRNetworkACLs] Network ACLs
|
43
|
+
attr_accessor :network_acls
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for SignalRCreateOrUpdateProperties class as Ruby Hash.
|
48
|
+
# This will be used for serialization/deserialization.
|
49
|
+
#
|
50
|
+
def self.mapper()
|
51
|
+
{
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'SignalRCreateOrUpdateProperties',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'SignalRCreateOrUpdateProperties',
|
58
|
+
model_properties: {
|
59
|
+
host_name_prefix: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'hostNamePrefix',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
features: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'features',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'SignalRFeatureElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'SignalRFeature'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
cors: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'cors',
|
88
|
+
type: {
|
89
|
+
name: 'Composite',
|
90
|
+
class_name: 'SignalRCorsSettings'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
upstream: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'upstream',
|
97
|
+
type: {
|
98
|
+
name: 'Composite',
|
99
|
+
class_name: 'ServerlessUpstreamSettings'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
network_acls: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'networkACLs',
|
106
|
+
type: {
|
107
|
+
name: 'Composite',
|
108
|
+
class_name: 'SignalRNetworkACLs'
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
@@ -0,0 +1,93 @@
|
|
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
|
+
# Feature of a SignalR resource, which controls the SignalR runtime
|
10
|
+
# behavior.
|
11
|
+
#
|
12
|
+
class SignalRFeature
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [FeatureFlags] FeatureFlags is the supported features of Azure
|
17
|
+
# SignalR service.
|
18
|
+
# - ServiceMode: Flag for backend server for SignalR service. Values
|
19
|
+
# allowed: "Default": have your own backend server; "Serverless": your
|
20
|
+
# application doesn't have a backend server; "Classic": for backward
|
21
|
+
# compatibility. Support both Default and Serverless mode but not
|
22
|
+
# recommended; "PredefinedOnly": for future use.
|
23
|
+
# - EnableConnectivityLogs: "true"/"false", to enable/disable the
|
24
|
+
# connectivity log category respectively. Possible values include:
|
25
|
+
# 'ServiceMode', 'EnableConnectivityLogs', 'EnableMessagingLogs'
|
26
|
+
attr_accessor :flag
|
27
|
+
|
28
|
+
# @return [String] Value of the feature flag. See Azure SignalR service
|
29
|
+
# document https://docs.microsoft.com/azure/azure-signalr/ for allowed
|
30
|
+
# values.
|
31
|
+
attr_accessor :value
|
32
|
+
|
33
|
+
# @return [Hash{String => String}] Optional properties related to this
|
34
|
+
# feature.
|
35
|
+
attr_accessor :properties
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for SignalRFeature class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'SignalRFeature',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'SignalRFeature',
|
50
|
+
model_properties: {
|
51
|
+
flag: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: true,
|
54
|
+
serialized_name: 'flag',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
value: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: true,
|
62
|
+
serialized_name: 'value',
|
63
|
+
constraints: {
|
64
|
+
MaxLength: 128,
|
65
|
+
MinLength: 1
|
66
|
+
},
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
properties: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'properties',
|
75
|
+
type: {
|
76
|
+
name: 'Dictionary',
|
77
|
+
value: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'StringElementType',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
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
|
+
# A class represents the access keys of SignalR service.
|
10
|
+
#
|
11
|
+
class SignalRKeys
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The primary access key.
|
16
|
+
attr_accessor :primary_key
|
17
|
+
|
18
|
+
# @return [String] The secondary access key.
|
19
|
+
attr_accessor :secondary_key
|
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
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for SignalRKeys class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'SignalRKeys',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'SignalRKeys',
|
42
|
+
model_properties: {
|
43
|
+
primary_key: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'primaryKey',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
secondary_key: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'secondaryKey',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
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
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -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::V2020_05_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Network ACLs for SignalR
|
10
|
+
#
|
11
|
+
class SignalRNetworkACLs
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ACLAction] Default action when no other rule matches. Possible
|
16
|
+
# values include: 'Allow', 'Deny'
|
17
|
+
attr_accessor :default_action
|
18
|
+
|
19
|
+
# @return [NetworkACL] ACL for requests from public network
|
20
|
+
attr_accessor :public_network
|
21
|
+
|
22
|
+
# @return [Array<PrivateEndpointACL>] ACLs for requests from private
|
23
|
+
# endpoints
|
24
|
+
attr_accessor :private_endpoints
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for SignalRNetworkACLs 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: 'SignalRNetworkACLs',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'SignalRNetworkACLs',
|
39
|
+
model_properties: {
|
40
|
+
default_action: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'defaultAction',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
public_network: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'publicNetwork',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'NetworkACL'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
private_endpoints: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'privateEndpoints',
|
61
|
+
type: {
|
62
|
+
name: 'Sequence',
|
63
|
+
element: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'PrivateEndpointACLElementType',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'PrivateEndpointACL'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|