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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb +1 -1
  3. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +1 -1
  4. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb +4 -0
  5. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb +22 -0
  6. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
  7. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/usages.rb +4 -0
  8. data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +57 -0
  9. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
  10. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
  11. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb +139 -0
  12. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
  13. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
  14. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation.rb +84 -0
  15. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
  16. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
  17. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
  18. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
  19. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
  20. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource.rb +81 -0
  21. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb +101 -0
  22. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb +56 -0
  23. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb +57 -0
  24. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +92 -0
  25. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb +85 -0
  26. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +87 -0
  27. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb +81 -0
  28. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource.rb +232 -0
  29. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
  30. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +18 -0
  31. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb +81 -0
  32. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
  33. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
  34. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
  35. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
  36. data/lib/2018-10-01/generated/azure_mgmt_signalr/module_definition.rb +9 -0
  37. data/lib/2018-10-01/generated/azure_mgmt_signalr/operations.rb +225 -0
  38. data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_r.rb +1488 -0
  39. data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +141 -0
  40. data/lib/2018-10-01/generated/azure_mgmt_signalr/usages.rb +226 -0
  41. data/lib/azure_mgmt_signalr.rb +1 -0
  42. data/lib/profiles/latest/modules/signalr_profile_module.rb +71 -63
  43. data/lib/version.rb +1 -1
  44. metadata +38 -5
@@ -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_10_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::V2018_10_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 service - 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::V2018_10_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,56 @@
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
+ # 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
+
20
+ #
21
+ # Mapper for ServiceSpecification 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: 'ServiceSpecification',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ServiceSpecification',
32
+ model_properties: {
33
+ metric_specifications: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'metricSpecifications',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'MetricSpecificationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'MetricSpecification'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ 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
+ # 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
@@ -0,0 +1,92 @@
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
+ # 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
+ # &lt;hostNamePrefix&gt;.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
+
39
+ #
40
+ # Mapper for SignalRCreateOrUpdateProperties class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'SignalRCreateOrUpdateProperties',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'SignalRCreateOrUpdateProperties',
51
+ model_properties: {
52
+ host_name_prefix: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'hostNamePrefix',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ features: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'features',
64
+ type: {
65
+ name: 'Sequence',
66
+ element: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'SignalRFeatureElementType',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'SignalRFeature'
73
+ }
74
+ }
75
+ }
76
+ },
77
+ cors: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'cors',
81
+ type: {
82
+ name: 'Composite',
83
+ class_name: 'SignalRCorsSettings'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,85 @@
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 create/update operation.
10
+ #
11
+ # Keep the same schema as AzSignalR.Models.SignalRResource
12
+ #
13
+ class SignalRCreateParameters < SignalRUpdateParameters
14
+
15
+ include MsRestAzure
16
+
17
+ # @return [String] Azure GEO region: e.g. West US | East US | North
18
+ # Central US | South Central US | West Europe | North Europe | East Asia
19
+ # | Southeast Asia | etc.
20
+ # The geo region of a resource never changes after it is created.
21
+ attr_accessor :location
22
+
23
+
24
+ #
25
+ # Mapper for SignalRCreateParameters 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: 'SignalRCreateParameters',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'SignalRCreateParameters',
36
+ model_properties: {
37
+ tags: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'tags',
41
+ type: {
42
+ name: 'Dictionary',
43
+ value: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'StringElementType',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ },
53
+ sku: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'sku',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'ResourceSku'
60
+ }
61
+ },
62
+ properties: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'properties',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'SignalRCreateOrUpdateProperties'
69
+ }
70
+ },
71
+ location: {
72
+ client_side_validation: true,
73
+ required: true,
74
+ serialized_name: 'location',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end