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
@@ -134,7 +134,7 @@ module Azure::Signalr::Mgmt::V2018_10_01
|
|
134
134
|
#
|
135
135
|
def add_telemetry
|
136
136
|
sdk_information = 'azure_mgmt_signalr'
|
137
|
-
sdk_information = "#{sdk_information}/0.17.
|
137
|
+
sdk_information = "#{sdk_information}/0.17.5"
|
138
138
|
add_user_agent_information(sdk_information)
|
139
139
|
end
|
140
140
|
end
|
@@ -88,7 +88,7 @@ module Azure::Signalr::Mgmt::V2018_10_01
|
|
88
88
|
response_content = http_response.body
|
89
89
|
unless status_code == 200
|
90
90
|
error_model = JSON.load(response_content)
|
91
|
-
fail
|
91
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
92
92
|
end
|
93
93
|
|
94
94
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -178,7 +178,7 @@ module Azure::Signalr::Mgmt::V2018_10_01
|
|
178
178
|
response_content = http_response.body
|
179
179
|
unless status_code == 200
|
180
180
|
error_model = JSON.load(response_content)
|
181
|
-
fail
|
181
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
182
182
|
end
|
183
183
|
|
184
184
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
@@ -0,0 +1,76 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2020-05-01/generated/azure_mgmt_signalr/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Signalr::Mgmt::V2020_05_01
|
23
|
+
autoload :Operations, '2020-05-01/generated/azure_mgmt_signalr/operations.rb'
|
24
|
+
autoload :SignalR, '2020-05-01/generated/azure_mgmt_signalr/signal_r.rb'
|
25
|
+
autoload :SignalRPrivateEndpointConnections, '2020-05-01/generated/azure_mgmt_signalr/signal_rprivate_endpoint_connections.rb'
|
26
|
+
autoload :SignalRPrivateLinkResources, '2020-05-01/generated/azure_mgmt_signalr/signal_rprivate_link_resources.rb'
|
27
|
+
autoload :Usages, '2020-05-01/generated/azure_mgmt_signalr/usages.rb'
|
28
|
+
autoload :SignalRManagementClient, '2020-05-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb'
|
29
|
+
|
30
|
+
module Models
|
31
|
+
autoload :SignalRKeys, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb'
|
32
|
+
autoload :OperationDisplay, '2020-05-01/generated/azure_mgmt_signalr/models/operation_display.rb'
|
33
|
+
autoload :MetricSpecification, '2020-05-01/generated/azure_mgmt_signalr/models/metric_specification.rb'
|
34
|
+
autoload :SignalRResourceList, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb'
|
35
|
+
autoload :ServiceSpecification, '2020-05-01/generated/azure_mgmt_signalr/models/service_specification.rb'
|
36
|
+
autoload :SignalRUsageList, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb'
|
37
|
+
autoload :Operation, '2020-05-01/generated/azure_mgmt_signalr/models/operation.rb'
|
38
|
+
autoload :Resource, '2020-05-01/generated/azure_mgmt_signalr/models/resource.rb'
|
39
|
+
autoload :ErrorResponseBody, '2020-05-01/generated/azure_mgmt_signalr/models/error_response_body.rb'
|
40
|
+
autoload :SignalRFeature, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb'
|
41
|
+
autoload :NameAvailabilityParameters, '2020-05-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb'
|
42
|
+
autoload :SignalRCorsSettings, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb'
|
43
|
+
autoload :ResourceSku, '2020-05-01/generated/azure_mgmt_signalr/models/resource_sku.rb'
|
44
|
+
autoload :UpstreamTemplate, '2020-05-01/generated/azure_mgmt_signalr/models/upstream_template.rb'
|
45
|
+
autoload :PrivateLinkServiceConnectionState, '2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_state.rb'
|
46
|
+
autoload :ServerlessUpstreamSettings, '2020-05-01/generated/azure_mgmt_signalr/models/serverless_upstream_settings.rb'
|
47
|
+
autoload :LogSpecification, '2020-05-01/generated/azure_mgmt_signalr/models/log_specification.rb'
|
48
|
+
autoload :NetworkACL, '2020-05-01/generated/azure_mgmt_signalr/models/network_acl.rb'
|
49
|
+
autoload :OperationList, '2020-05-01/generated/azure_mgmt_signalr/models/operation_list.rb'
|
50
|
+
autoload :SignalRUsage, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage.rb'
|
51
|
+
autoload :NameAvailability, '2020-05-01/generated/azure_mgmt_signalr/models/name_availability.rb'
|
52
|
+
autoload :SignalRNetworkACLs, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rnetwork_acls.rb'
|
53
|
+
autoload :Dimension, '2020-05-01/generated/azure_mgmt_signalr/models/dimension.rb'
|
54
|
+
autoload :SignalRCreateOrUpdateProperties, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb'
|
55
|
+
autoload :ErrorResponse, '2020-05-01/generated/azure_mgmt_signalr/models/error_response.rb'
|
56
|
+
autoload :SignalRUsageName, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb'
|
57
|
+
autoload :OperationProperties, '2020-05-01/generated/azure_mgmt_signalr/models/operation_properties.rb'
|
58
|
+
autoload :RegenerateKeyParameters, '2020-05-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb'
|
59
|
+
autoload :PrivateEndpoint, '2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint.rb'
|
60
|
+
autoload :PrivateLinkResourceList, '2020-05-01/generated/azure_mgmt_signalr/models/private_link_resource_list.rb'
|
61
|
+
autoload :PrivateEndpointConnection, '2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint_connection.rb'
|
62
|
+
autoload :TrackedResource, '2020-05-01/generated/azure_mgmt_signalr/models/tracked_resource.rb'
|
63
|
+
autoload :SignalRResource, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rresource.rb'
|
64
|
+
autoload :PrivateEndpointACL, '2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint_acl.rb'
|
65
|
+
autoload :ProxyResource, '2020-05-01/generated/azure_mgmt_signalr/models/proxy_resource.rb'
|
66
|
+
autoload :PrivateLinkResource, '2020-05-01/generated/azure_mgmt_signalr/models/private_link_resource.rb'
|
67
|
+
autoload :SignalRSkuTier, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb'
|
68
|
+
autoload :ProvisioningState, '2020-05-01/generated/azure_mgmt_signalr/models/provisioning_state.rb'
|
69
|
+
autoload :PrivateLinkServiceConnectionStatus, '2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_status.rb'
|
70
|
+
autoload :ServiceKind, '2020-05-01/generated/azure_mgmt_signalr/models/service_kind.rb'
|
71
|
+
autoload :FeatureFlags, '2020-05-01/generated/azure_mgmt_signalr/models/feature_flags.rb'
|
72
|
+
autoload :ACLAction, '2020-05-01/generated/azure_mgmt_signalr/models/aclaction.rb'
|
73
|
+
autoload :SignalRRequestType, '2020-05-01/generated/azure_mgmt_signalr/models/signal_rrequest_type.rb'
|
74
|
+
autoload :KeyType, '2020-05-01/generated/azure_mgmt_signalr/models/key_type.rb'
|
75
|
+
end
|
76
|
+
end
|
@@ -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 ACLAction
|
10
|
+
#
|
11
|
+
module ACLAction
|
12
|
+
Allow = "Allow"
|
13
|
+
Deny = "Deny"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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
|
+
# 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
|
@@ -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
|
+
# Contains information about an API error.
|
10
|
+
#
|
11
|
+
class ErrorResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ErrorResponseBody] Describes a particular API error with an
|
16
|
+
# error code and a message.
|
17
|
+
attr_accessor :error
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ErrorResponse',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ErrorResponse',
|
32
|
+
model_properties: {
|
33
|
+
error: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'error',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ErrorResponseBody'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
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
|
+
# Describes a particular API error with an error code and a message.
|
10
|
+
#
|
11
|
+
class ErrorResponseBody
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] An error code that describes the error condition more
|
16
|
+
# precisely than an HTTP status code.
|
17
|
+
# Can be used to programmatically handle specific error cases.
|
18
|
+
attr_accessor :code
|
19
|
+
|
20
|
+
# @return [String] A message that describes the error in detail and
|
21
|
+
# provides debugging information.
|
22
|
+
attr_accessor :message
|
23
|
+
|
24
|
+
# @return [String] The target of the particular error (for example, the
|
25
|
+
# name of the property in error).
|
26
|
+
attr_accessor :target
|
27
|
+
|
28
|
+
# @return [Array<ErrorResponseBody>] Contains nested errors that are
|
29
|
+
# related to this error.
|
30
|
+
attr_accessor :details
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for ErrorResponseBody class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ErrorResponseBody',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'ErrorResponseBody',
|
45
|
+
model_properties: {
|
46
|
+
code: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'code',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
message: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'message',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
target: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'target',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
details: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'details',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'ErrorResponseBodyElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'ErrorResponseBody'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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 FeatureFlags
|
10
|
+
#
|
11
|
+
module FeatureFlags
|
12
|
+
ServiceMode = "ServiceMode"
|
13
|
+
EnableConnectivityLogs = "EnableConnectivityLogs"
|
14
|
+
EnableMessagingLogs = "EnableMessagingLogs"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -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 KeyType
|
10
|
+
#
|
11
|
+
module KeyType
|
12
|
+
Primary = "Primary"
|
13
|
+
Secondary = "Secondary"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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
|
+
# Specifications of the Logs for Azure Monitoring.
|
10
|
+
#
|
11
|
+
class LogSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the log.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Localized friendly display name of the log.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for LogSpecification 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: 'LogSpecification',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'LogSpecification',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
display_name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'displayName',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,139 @@
|
|
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
|
+
# 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
|
+
# @return [Array<Dimension>] The dimensions of the metrics.
|
44
|
+
attr_accessor :dimensions
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for MetricSpecification class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'MetricSpecification',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'MetricSpecification',
|
59
|
+
model_properties: {
|
60
|
+
name: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
display_name: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'displayName',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
display_description: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'displayDescription',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
unit: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'unit',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
aggregation_type: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'aggregationType',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
fill_gap_with_zero: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'fillGapWithZero',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
category: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'category',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
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
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|