azure_mgmt_monitor 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  3. data/lib/2016-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  4. data/lib/2016-09-01/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
  5. data/lib/2017-04-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  6. data/lib/2017-05-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  7. data/lib/2017-11-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  8. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor.rb +32 -0
  9. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/metric_namespaces.rb +118 -0
  10. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  11. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb +81 -0
  12. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_collection.rb +55 -0
  13. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace_name.rb +46 -0
  14. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  15. data/lib/2017-12-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
  16. data/lib/2018-01-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  17. data/lib/2018-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +1 -1
  18. data/lib/2018-04-16/generated/azure_mgmt_monitor/monitor_client.rb +1 -1
  19. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor.rb +44 -0
  20. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings.rb +602 -0
  21. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb +622 -0
  22. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source.rb +80 -0
  23. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/data_source_configuration.rb +98 -0
  24. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  25. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_event_configuration.rb +69 -0
  26. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/etw_provider_configuration.rb +67 -0
  27. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/event_log_configuration.rb +58 -0
  28. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_list.rb +68 -0
  29. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource.rb +98 -0
  30. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_association_resource_patch.rb +66 -0
  31. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_list.rb +68 -0
  32. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_patch_resource.rb +98 -0
  33. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/guest_diagnostic_settings_resource.rb +130 -0
  34. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/performance_counter_configuration.rb +69 -0
  35. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  36. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/models/sink_configuration.rb +48 -0
  37. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  38. data/lib/2018-06-01-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +136 -0
  39. data/lib/2018-09-01/generated/azure_mgmt_monitor.rb +54 -0
  40. data/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb +693 -0
  41. data/lib/2018-09-01/generated/azure_mgmt_monitor/metric_baseline.rb +290 -0
  42. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  43. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  44. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  45. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +58 -0
  46. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +102 -0
  47. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  48. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +80 -0
  49. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline.rb +86 -0
  50. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_metadata_value.rb +58 -0
  51. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/baseline_response.rb +171 -0
  52. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/calculate_baseline_response.rb +85 -0
  53. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/email_receiver.rb +72 -0
  54. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  55. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  56. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  57. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/localizable_string.rb +57 -0
  58. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +69 -0
  59. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  60. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  61. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/result_type.rb +16 -0
  62. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sensitivity.rb +17 -0
  63. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  64. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/time_series_information.rb +93 -0
  65. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  66. data/lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +58 -0
  67. data/lib/2018-09-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  68. data/lib/2018-09-01/generated/azure_mgmt_monitor/monitor_management_client.rb +135 -0
  69. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor.rb +36 -0
  70. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_container.rb +47 -0
  71. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/data_status.rb +16 -0
  72. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/error.rb +57 -0
  73. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/onboarding_status.rb +17 -0
  74. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/proxy_resource.rb +71 -0
  75. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/response_with_error.rb +47 -0
  76. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb +123 -0
  77. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/workspace_info.rb +69 -0
  78. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  79. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/monitor_management_client.rb +128 -0
  80. data/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb +118 -0
  81. data/lib/2019-03-01/generated/azure_mgmt_monitor.rb +45 -0
  82. data/lib/2019-03-01/generated/azure_mgmt_monitor/action_groups.rb +693 -0
  83. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_list.rb +67 -0
  84. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_patch_body.rb +68 -0
  85. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/action_group_resource.rb +326 -0
  86. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/arm_role_receiver.rb +69 -0
  87. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/automation_runbook_receiver.rb +113 -0
  88. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_app_push_receiver.rb +58 -0
  89. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/azure_function_receiver.rb +91 -0
  90. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/email_receiver.rb +83 -0
  91. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/enable_request.rb +46 -0
  92. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/error_response.rb +57 -0
  93. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/itsm_receiver.rb +94 -0
  94. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/logic_app_receiver.rb +80 -0
  95. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/receiver_status.rb +17 -0
  96. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/resource.rb +110 -0
  97. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/sms_receiver.rb +83 -0
  98. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb +69 -0
  99. data/lib/2019-03-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb +69 -0
  100. data/lib/2019-03-01/generated/azure_mgmt_monitor/module_definition.rb +9 -0
  101. data/lib/2019-03-01/generated/azure_mgmt_monitor/monitor_management_client.rb +131 -0
  102. data/lib/azure_mgmt_monitor.rb +5 -0
  103. data/lib/profiles/latest/modules/monitor_profile_module.rb +332 -106
  104. data/lib/version.rb +1 -1
  105. metadata +92 -1
@@ -0,0 +1,69 @@
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::Monitor::Mgmt::V2019_03_01
7
+ module Models
8
+ #
9
+ # An arm role receiver.
10
+ #
11
+ class ArmRoleReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the arm role receiver. Names must be
16
+ # unique across all receivers within an action group.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The arm role id.
20
+ attr_accessor :role_id
21
+
22
+ # @return [Boolean] Indicates whether to use common alert schema.
23
+ attr_accessor :use_common_alert_schema
24
+
25
+
26
+ #
27
+ # Mapper for ArmRoleReceiver class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ArmRoleReceiver',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ArmRoleReceiver',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ role_id: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'roleId',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ use_common_alert_schema: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'useCommonAlertSchema',
59
+ type: {
60
+ name: 'Boolean'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,113 @@
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::Monitor::Mgmt::V2019_03_01
7
+ module Models
8
+ #
9
+ # The Azure Automation Runbook notification receiver.
10
+ #
11
+ class AutomationRunbookReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Azure automation account Id which holds this
16
+ # runbook and authenticate to Azure resource.
17
+ attr_accessor :automation_account_id
18
+
19
+ # @return [String] The name for this runbook.
20
+ attr_accessor :runbook_name
21
+
22
+ # @return [String] The resource id for webhook linked to this runbook.
23
+ attr_accessor :webhook_resource_id
24
+
25
+ # @return [Boolean] Indicates whether this instance is global runbook.
26
+ attr_accessor :is_global_runbook
27
+
28
+ # @return [String] Indicates name of the webhook.
29
+ attr_accessor :name
30
+
31
+ # @return [String] The URI where webhooks should be sent.
32
+ attr_accessor :service_uri
33
+
34
+ # @return [Boolean] Indicates whether to use common alert schema.
35
+ attr_accessor :use_common_alert_schema
36
+
37
+
38
+ #
39
+ # Mapper for AutomationRunbookReceiver 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: 'AutomationRunbookReceiver',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'AutomationRunbookReceiver',
50
+ model_properties: {
51
+ automation_account_id: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'automationAccountId',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ runbook_name: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'runbookName',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ webhook_resource_id: {
68
+ client_side_validation: true,
69
+ required: true,
70
+ serialized_name: 'webhookResourceId',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ is_global_runbook: {
76
+ client_side_validation: true,
77
+ required: true,
78
+ serialized_name: 'isGlobalRunbook',
79
+ type: {
80
+ name: 'Boolean'
81
+ }
82
+ },
83
+ name: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'name',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ service_uri: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'serviceUri',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ use_common_alert_schema: {
100
+ client_side_validation: true,
101
+ required: true,
102
+ serialized_name: 'useCommonAlertSchema',
103
+ type: {
104
+ name: 'Boolean'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ end
111
+ end
112
+ end
113
+ 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::Monitor::Mgmt::V2019_03_01
7
+ module Models
8
+ #
9
+ # The Azure mobile App push notification receiver.
10
+ #
11
+ class AzureAppPushReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the Azure mobile app push receiver. Names
16
+ # must be unique across all receivers within an action group.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The email address registered for the Azure mobile app.
20
+ attr_accessor :email_address
21
+
22
+
23
+ #
24
+ # Mapper for AzureAppPushReceiver class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'AzureAppPushReceiver',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AzureAppPushReceiver',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ email_address: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'emailAddress',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,91 @@
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::Monitor::Mgmt::V2019_03_01
7
+ module Models
8
+ #
9
+ # An azure function receiver.
10
+ #
11
+ class AzureFunctionReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the azure function receiver. Names must be
16
+ # unique across all receivers within an action group.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The azure resource id of the function app.
20
+ attr_accessor :function_app_resource_id
21
+
22
+ # @return [String] The function name in the function app.
23
+ attr_accessor :function_name
24
+
25
+ # @return [String] The http trigger url where http request sent to.
26
+ attr_accessor :http_trigger_url
27
+
28
+ # @return [Boolean] Indicates whether to use common alert schema.
29
+ attr_accessor :use_common_alert_schema
30
+
31
+
32
+ #
33
+ # Mapper for AzureFunctionReceiver class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'AzureFunctionReceiver',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'AzureFunctionReceiver',
44
+ model_properties: {
45
+ name: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ function_app_resource_id: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'functionAppResourceId',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ function_name: {
62
+ client_side_validation: true,
63
+ required: true,
64
+ serialized_name: 'functionName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ http_trigger_url: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'httpTriggerUrl',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ use_common_alert_schema: {
78
+ client_side_validation: true,
79
+ required: true,
80
+ serialized_name: 'useCommonAlertSchema',
81
+ type: {
82
+ name: 'Boolean'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,83 @@
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::Monitor::Mgmt::V2019_03_01
7
+ module Models
8
+ #
9
+ # An email receiver.
10
+ #
11
+ class EmailReceiver
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the email receiver. Names must be unique
16
+ # across all receivers within an action group.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The email address of this receiver.
20
+ attr_accessor :email_address
21
+
22
+ # @return [Boolean] Indicates whether to use common alert schema.
23
+ attr_accessor :use_common_alert_schema
24
+
25
+ # @return [ReceiverStatus] The receiver status of the e-mail. Possible
26
+ # values include: 'NotSpecified', 'Enabled', 'Disabled'
27
+ attr_accessor :status
28
+
29
+
30
+ #
31
+ # Mapper for EmailReceiver 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: 'EmailReceiver',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'EmailReceiver',
42
+ model_properties: {
43
+ name: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ email_address: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'emailAddress',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ use_common_alert_schema: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'useCommonAlertSchema',
63
+ type: {
64
+ name: 'Boolean'
65
+ }
66
+ },
67
+ status: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'status',
72
+ type: {
73
+ name: 'Enum',
74
+ module: 'ReceiverStatus'
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,46 @@
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::Monitor::Mgmt::V2019_03_01
7
+ module Models
8
+ #
9
+ # Describes a receiver that should be resubscribed.
10
+ #
11
+ class EnableRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the receiver to resubscribe.
16
+ attr_accessor :receiver_name
17
+
18
+
19
+ #
20
+ # Mapper for EnableRequest 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: 'EnableRequest',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'EnableRequest',
31
+ model_properties: {
32
+ receiver_name: {
33
+ client_side_validation: true,
34
+ required: true,
35
+ serialized_name: 'receiverName',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end