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,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_10_01
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
@@ -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_10_01
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_10_01
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_10_01
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_10_01
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 && !page.next_link.strip.empty? 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_10_01
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_10_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