azure_mgmt_adhybridhealth_service 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service.rb +143 -0
  4. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/ad_domain_service_members.rb +259 -0
  5. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_service.rb +131 -0
  6. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_service_members_operations.rb +535 -0
  7. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services.rb +2287 -0
  8. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services_replication_status.rb +117 -0
  9. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services_service_members.rb +356 -0
  10. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services_user_preference.rb +293 -0
  11. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adhybrid_health_service.rb +185 -0
  12. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/alerts_operations.rb +240 -0
  13. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/configuration.rb +500 -0
  14. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/dimensions_operations.rb +229 -0
  15. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/additional_information.rb +80 -0
  16. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/adds_configuration.rb +120 -0
  17. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/adds_service_member.rb +499 -0
  18. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/adds_service_members.rb +120 -0
  19. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/agent.rb +113 -0
  20. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert.rb +290 -0
  21. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb +127 -0
  22. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedbacks.rb +55 -0
  23. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alerts.rb +120 -0
  24. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/algorithm_step_type.rb +27 -0
  25. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/associated_object.rb +167 -0
  26. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_delta.rb +103 -0
  27. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_delta_operation_type.rb +19 -0
  28. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mapping.rb +81 -0
  29. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mapping_type.rb +18 -0
  30. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mpping_source.rb +87 -0
  31. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/change_not_reimported.rb +61 -0
  32. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/change_not_reimported_delta.rb +100 -0
  33. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/change_not_reimported_entry.rb +139 -0
  34. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector.rb +236 -0
  35. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_connection_error.rb +123 -0
  36. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_connection_errors.rb +56 -0
  37. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_metadata.rb +74 -0
  38. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_metadata_details.rb +57 -0
  39. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_object_error.rb +197 -0
  40. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_object_errors.rb +56 -0
  41. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connectors.rb +55 -0
  42. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb +76 -0
  43. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credentials.rb +55 -0
  44. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/data_freshness_details.rb +55 -0
  45. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/delta_operation_type.rb +22 -0
  46. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/dimension.rb +142 -0
  47. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/dimensions.rb +120 -0
  48. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/display.rb +69 -0
  49. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_count.rb +68 -0
  50. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_counts.rb +55 -0
  51. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_detail.rb +93 -0
  52. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_report_users_entries.rb +56 -0
  53. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_report_users_entry.rb +91 -0
  54. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_error.rb +444 -0
  55. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_errors.rb +55 -0
  56. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_status.rb +80 -0
  57. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_statuses.rb +120 -0
  58. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/extension_error_info.rb +68 -0
  59. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/forest_summary.rb +129 -0
  60. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/global_configuration.rb +99 -0
  61. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/global_configurations.rb +56 -0
  62. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/health_status.rb +19 -0
  63. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/help_link.rb +57 -0
  64. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/hotfix.rb +69 -0
  65. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/hotfixes.rb +55 -0
  66. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/import_error.rb +186 -0
  67. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/import_errors.rb +55 -0
  68. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/inbound_replication_neighbor.rb +179 -0
  69. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/inbound_replication_neighbors.rb +57 -0
  70. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/item.rb +57 -0
  71. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/items.rb +55 -0
  72. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/level.rb +17 -0
  73. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/merged_export_error.rb +280 -0
  74. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/merged_export_errors.rb +55 -0
  75. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_group.rb +69 -0
  76. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_metadata.rb +169 -0
  77. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_metadata_list.rb +120 -0
  78. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_set.rb +66 -0
  79. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_sets.rb +75 -0
  80. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metrics.rb +120 -0
  81. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb +78 -0
  82. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configurations.rb +56 -0
  83. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/monitoring_level.rb +17 -0
  84. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/object_with_sync_error.rb +211 -0
  85. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/operation.rb +57 -0
  86. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/operation_list_response.rb +125 -0
  87. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb +136 -0
  88. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb +103 -0
  89. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/password_hash_sync_configuration.rb +58 -0
  90. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/password_management_settings.rb +148 -0
  91. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/password_operation_types.rb +17 -0
  92. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_details_list.rb +89 -0
  93. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_status.rb +70 -0
  94. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_summary.rb +124 -0
  95. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_summary_list.rb +56 -0
  96. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/result.rb +46 -0
  97. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/risky_ipblob_uri.rb +102 -0
  98. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/risky_ipblob_uris.rb +55 -0
  99. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/rule_error_info.rb +91 -0
  100. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/run_profile.rb +77 -0
  101. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/run_profiles.rb +55 -0
  102. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/run_step.rb +113 -0
  103. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_configuration.rb +134 -0
  104. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_member.rb +336 -0
  105. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_members.rb +120 -0
  106. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_properties.rb +331 -0
  107. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/services.rb +120 -0
  108. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/state.rb +19 -0
  109. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tabular_export_error.rb +79 -0
  110. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tenant.rb +292 -0
  111. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tenant_onboarding_details.rb +60 -0
  112. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/user_preference.rb +54 -0
  113. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/value_delta.rb +58 -0
  114. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/value_delta_operation_type.rb +18 -0
  115. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/value_type.rb +20 -0
  116. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/module_definition.rb +9 -0
  117. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/operations.rb +219 -0
  118. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/reports.rb +109 -0
  119. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/service.rb +131 -0
  120. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/service_members_operations.rb +1736 -0
  121. data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/services_operations.rb +3162 -0
  122. data/lib/azure_mgmt_adhybridhealth_service.rb +6 -0
  123. data/lib/module_definition.rb +7 -0
  124. data/lib/profiles/latest/adhybridhealthservice_latest_profile_client.rb +40 -0
  125. data/lib/profiles/latest/adhybridhealthservice_module_definition.rb +8 -0
  126. data/lib/profiles/latest/modules/adhybridhealthservice_profile_module.rb +493 -0
  127. data/lib/version.rb +7 -0
  128. metadata +243 -0
@@ -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
+ module Azure::ADHybridHealthService::Mgmt::V2014_01_01
7
+ module Models
8
+ #
9
+ # The credential for a given server.
10
+ #
11
+ class Credential
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The credential identifier.
16
+ attr_accessor :identifier
17
+
18
+ # @return [String] The type of credential.
19
+ attr_accessor :type
20
+
21
+ # @return [Array<String>] The credential data.
22
+ attr_accessor :credential_data
23
+
24
+
25
+ #
26
+ # Mapper for Credential class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'Credential',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'Credential',
37
+ model_properties: {
38
+ identifier: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'identifier',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ type: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'type',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ credential_data: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'credentialData',
58
+ type: {
59
+ name: 'Sequence',
60
+ element: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'StringElementType',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ end
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,55 @@
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::ADHybridHealthService::Mgmt::V2014_01_01
7
+ module Models
8
+ #
9
+ # The list of agent credentials.
10
+ #
11
+ class Credentials
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Credential>] The value returned by the operation.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for Credentials 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: 'Credentials',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'Credentials',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'CredentialElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Credential'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,55 @@
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::ADHybridHealthService::Mgmt::V2014_01_01
7
+ module Models
8
+ #
9
+ # The data freshness details for the server.
10
+ #
11
+ class DataFreshnessDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Item>] The value returned by the operation.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for DataFreshnessDetails 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: 'DataFreshnessDetails',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DataFreshnessDetails',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'ItemElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Item'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,22 @@
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::ADHybridHealthService::Mgmt::V2014_01_01
7
+ module Models
8
+ #
9
+ # Defines values for DeltaOperationType
10
+ #
11
+ module DeltaOperationType
12
+ Undefined = "Undefined"
13
+ None = "None"
14
+ Add = "Add"
15
+ Replace = "Replace"
16
+ Update = "Update"
17
+ Delete = "Delete"
18
+ Obsolete = "Obsolete"
19
+ DeleteAdd = "DeleteAdd"
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,142 @@
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::ADHybridHealthService::Mgmt::V2014_01_01
7
+ module Models
8
+ #
9
+ # The connector object error.
10
+ #
11
+ class Dimension
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [HealthStatus] The health status for the domain controller.
16
+ # Possible values include: 'Healthy', 'Warning', 'Error', 'NotMonitored',
17
+ # 'Missing'
18
+ attr_accessor :health
19
+
20
+ # @return List of service specific configuration properties.
21
+ attr_accessor :simple_properties
22
+
23
+ # @return [Integer] The count of alerts that are currently active for the
24
+ # service.
25
+ attr_accessor :active_alerts
26
+
27
+ # @return [String] The additional information related to the service.
28
+ attr_accessor :additional_information
29
+
30
+ # @return [DateTime] The date or time , in UTC, when the service
31
+ # properties were last updated.
32
+ attr_accessor :last_updated
33
+
34
+ # @return [String] The display name of the service.
35
+ attr_accessor :display_name
36
+
37
+ # @return [Integer] The total count of alerts that has been resolved for
38
+ # the service.
39
+ attr_accessor :resolved_alerts
40
+
41
+ # @return [String] The signature of the service.
42
+ attr_accessor :signature
43
+
44
+ # @return [String] The service type for the services onboarded to Azure
45
+ # Active Directory Connect Health. Depending on whether the service is
46
+ # monitoring, ADFS, Sync or ADDS roles, the service type can either be
47
+ # AdFederationService or AadSyncService or AdDomainService.
48
+ attr_accessor :type
49
+
50
+
51
+ #
52
+ # Mapper for Dimension class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'Dimension',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'Dimension',
63
+ model_properties: {
64
+ health: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'health',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ simple_properties: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'simpleProperties',
76
+ type: {
77
+ name: 'Object'
78
+ }
79
+ },
80
+ active_alerts: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'activeAlerts',
84
+ type: {
85
+ name: 'Number'
86
+ }
87
+ },
88
+ additional_information: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'additionalInformation',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ last_updated: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'lastUpdated',
100
+ type: {
101
+ name: 'DateTime'
102
+ }
103
+ },
104
+ display_name: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'displayName',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ resolved_alerts: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'resolvedAlerts',
116
+ type: {
117
+ name: 'Number'
118
+ }
119
+ },
120
+ signature: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'signature',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ type: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'type',
132
+ type: {
133
+ name: 'String'
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ end
140
+ end
141
+ end
142
+ end
@@ -0,0 +1,120 @@
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::ADHybridHealthService::Mgmt::V2014_01_01
7
+ module Models
8
+ #
9
+ # The list of dimensions.
10
+ #
11
+ class Dimensions
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The link used to get the next page of operations.
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<Dimension>] The value returned by the operation.
20
+ attr_accessor :value
21
+
22
+ # @return [Integer] The total count of dimensions.
23
+ attr_accessor :total_count
24
+
25
+ # @return [String] The continuation token for paginated calls.
26
+ attr_accessor :continuation_token
27
+
28
+ # return [Proc] with next page method call.
29
+ attr_accessor :next_method
30
+
31
+ #
32
+ # Gets the rest of the items for the request, enabling auto-pagination.
33
+ #
34
+ # @return [Array<Dimension>] operation results.
35
+ #
36
+ def get_all_items
37
+ items = @value
38
+ page = self
39
+ while page.next_link != nil && !page.next_link.strip.empty? do
40
+ page = page.get_next_page
41
+ items.concat(page.value)
42
+ end
43
+ items
44
+ end
45
+
46
+ #
47
+ # Gets the next page of results.
48
+ #
49
+ # @return [Dimensions] with next page content.
50
+ #
51
+ def get_next_page
52
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
53
+ unless response.nil?
54
+ @next_link = response.body.next_link
55
+ @value = response.body.value
56
+ self
57
+ end
58
+ end
59
+
60
+ #
61
+ # Mapper for Dimensions class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'Dimensions',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'Dimensions',
72
+ model_properties: {
73
+ next_link: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'nextLink',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ value: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'value',
85
+ type: {
86
+ name: 'Sequence',
87
+ element: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'DimensionElementType',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'Dimension'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ total_count: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'totalCount',
102
+ type: {
103
+ name: 'Number'
104
+ }
105
+ },
106
+ continuation_token: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'continuationToken',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ end
118
+ end
119
+ end
120
+ end