azure_mgmt_adhybridhealth_service 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service.rb +143 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/ad_domain_service_members.rb +259 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_service.rb +131 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_service_members_operations.rb +535 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services.rb +2287 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services_replication_status.rb +117 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services_service_members.rb +356 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adds_services_user_preference.rb +293 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/adhybrid_health_service.rb +185 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/alerts_operations.rb +240 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/configuration.rb +500 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/dimensions_operations.rb +229 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/additional_information.rb +80 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/adds_configuration.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/adds_service_member.rb +499 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/adds_service_members.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/agent.rb +113 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert.rb +290 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedback.rb +127 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alert_feedbacks.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/alerts.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/algorithm_step_type.rb +27 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/associated_object.rb +167 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_delta.rb +103 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_delta_operation_type.rb +19 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mapping.rb +81 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mapping_type.rb +18 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mpping_source.rb +87 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/change_not_reimported.rb +61 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/change_not_reimported_delta.rb +100 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/change_not_reimported_entry.rb +139 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector.rb +236 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_connection_error.rb +123 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_connection_errors.rb +56 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_metadata.rb +74 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_metadata_details.rb +57 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_object_error.rb +197 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connector_object_errors.rb +56 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/connectors.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb +76 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credentials.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/data_freshness_details.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/delta_operation_type.rb +22 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/dimension.rb +142 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/dimensions.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/display.rb +69 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_count.rb +68 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_counts.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_detail.rb +93 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_report_users_entries.rb +56 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/error_report_users_entry.rb +91 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_error.rb +444 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_errors.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_status.rb +80 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/export_statuses.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/extension_error_info.rb +68 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/forest_summary.rb +129 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/global_configuration.rb +99 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/global_configurations.rb +56 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/health_status.rb +19 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/help_link.rb +57 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/hotfix.rb +69 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/hotfixes.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/import_error.rb +186 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/import_errors.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/inbound_replication_neighbor.rb +179 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/inbound_replication_neighbors.rb +57 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/item.rb +57 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/items.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/level.rb +17 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/merged_export_error.rb +280 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/merged_export_errors.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_group.rb +69 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_metadata.rb +169 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_metadata_list.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_set.rb +66 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metric_sets.rb +75 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/metrics.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configuration.rb +78 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/module_configurations.rb +56 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/monitoring_level.rb +17 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/object_with_sync_error.rb +211 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/operation.rb +57 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/operation_list_response.rb +125 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb +136 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition_scope.rb +103 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/password_hash_sync_configuration.rb +58 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/password_management_settings.rb +148 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/password_operation_types.rb +17 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_details_list.rb +89 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_status.rb +70 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_summary.rb +124 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/replication_summary_list.rb +56 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/result.rb +46 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/risky_ipblob_uri.rb +102 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/risky_ipblob_uris.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/rule_error_info.rb +91 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/run_profile.rb +77 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/run_profiles.rb +55 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/run_step.rb +113 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_configuration.rb +134 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_member.rb +336 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_members.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_properties.rb +331 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/services.rb +120 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/state.rb +19 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tabular_export_error.rb +79 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tenant.rb +292 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tenant_onboarding_details.rb +60 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/user_preference.rb +54 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/value_delta.rb +58 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/value_delta_operation_type.rb +18 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/value_type.rb +20 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/module_definition.rb +9 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/operations.rb +219 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/reports.rb +109 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/service.rb +131 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/service_members_operations.rb +1736 -0
- data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/services_operations.rb +3162 -0
- data/lib/azure_mgmt_adhybridhealth_service.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/adhybridhealthservice_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/adhybridhealthservice_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/adhybridhealthservice_profile_module.rb +493 -0
- data/lib/version.rb +7 -0
- metadata +243 -0
@@ -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 services for a given onboarded tenant.
|
10
|
+
#
|
11
|
+
class Services
|
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<ServiceProperties>] The value returned by the operation.
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
# @return [Integer] The total count of service elements.
|
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<ServiceProperties>] 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 [Services] 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 Services 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: 'Services',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'Services',
|
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: 'ServicePropertiesElementType',
|
91
|
+
type: {
|
92
|
+
name: 'Composite',
|
93
|
+
class_name: 'ServiceProperties'
|
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
|
@@ -0,0 +1,19 @@
|
|
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 State
|
10
|
+
#
|
11
|
+
module State
|
12
|
+
Active = "Active"
|
13
|
+
ResolvedByPositiveResult = "ResolvedByPositiveResult"
|
14
|
+
ResolvedManually = "ResolvedManually"
|
15
|
+
ResolvedByTimer = "ResolvedByTimer"
|
16
|
+
ResolvedByStateChange = "ResolvedByStateChange"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/tabular_export_error.rb
ADDED
@@ -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::ADHybridHealthService::Mgmt::V2014_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The details for export error.
|
10
|
+
#
|
11
|
+
class TabularExportError
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The service Id.
|
16
|
+
attr_accessor :service_id
|
17
|
+
|
18
|
+
# @return The server Id.
|
19
|
+
attr_accessor :service_member_id
|
20
|
+
|
21
|
+
# @return The merged entity Id.
|
22
|
+
attr_accessor :merged_entity_id
|
23
|
+
|
24
|
+
# @return [String] The export error data.
|
25
|
+
attr_accessor :tabular_export_error_data
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for TabularExportError 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: 'TabularExportError',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'TabularExportError',
|
40
|
+
model_properties: {
|
41
|
+
service_id: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'serviceId',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
service_member_id: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'serviceMemberId',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
merged_entity_id: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'mergedEntityId',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
tabular_export_error_data: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'tabularExportErrorData',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,292 @@
|
|
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 details of the onboarded tenant.
|
10
|
+
#
|
11
|
+
class Tenant
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The Id of the tenant.
|
16
|
+
attr_accessor :tenant_id
|
17
|
+
|
18
|
+
# @return [String] The Azure Active Directory license of the tenant.
|
19
|
+
attr_accessor :aad_license
|
20
|
+
|
21
|
+
# @return [Boolean] Indicate if the tenant has Azure Active Directory
|
22
|
+
# Premium license or not.
|
23
|
+
attr_accessor :aad_premium
|
24
|
+
|
25
|
+
# @return [Boolean] Indicates if the tenant is configured to
|
26
|
+
# automatically receive updates for Azure Active Directory Connect Health
|
27
|
+
# client side features.
|
28
|
+
attr_accessor :agent_auto_update
|
29
|
+
|
30
|
+
# @return [Integer] The time in minutes after which an alert will be
|
31
|
+
# auto-suppressed.
|
32
|
+
attr_accessor :alert_suppression_time_in_mins
|
33
|
+
|
34
|
+
# @return [Boolean] Indicates if the tenant data can be seen by Microsoft
|
35
|
+
# through Azure portal.
|
36
|
+
attr_accessor :consented_to_microsoft_dev_ops
|
37
|
+
|
38
|
+
# @return [String] The country letter code of the tenant.
|
39
|
+
attr_accessor :country_letter_code
|
40
|
+
|
41
|
+
# @return [DateTime] The date, in UTC, when the tenant was onboarded to
|
42
|
+
# Azure Active Directory Connect Health.
|
43
|
+
attr_accessor :created_date
|
44
|
+
|
45
|
+
# @return [DateTime] The date and time, in UTC, till when the tenant data
|
46
|
+
# can be seen by Microsoft through Azure portal.
|
47
|
+
attr_accessor :dev_ops_ttl
|
48
|
+
|
49
|
+
# @return [Boolean] Indicates if the tenant is disabled in Azure Active
|
50
|
+
# Directory Connect Health.
|
51
|
+
attr_accessor :disabled
|
52
|
+
|
53
|
+
# @return [Integer] The reason due to which the tenant was disabled in
|
54
|
+
# Azure Active Directory Connect Health.
|
55
|
+
attr_accessor :disabled_reason
|
56
|
+
|
57
|
+
# @return [Array<String>] The list of global administrators for the
|
58
|
+
# tenant.
|
59
|
+
attr_accessor :global_admins_email
|
60
|
+
|
61
|
+
# @return [String] The initial domain of the tenant.
|
62
|
+
attr_accessor :initial_domain
|
63
|
+
|
64
|
+
# @return [DateTime] The date and time, in UTC, when the tenant was last
|
65
|
+
# disabled in Azure Active Directory Connect Health.
|
66
|
+
attr_accessor :last_disabled
|
67
|
+
|
68
|
+
# @return [DateTime] The date and time, in UTC, when the tenant
|
69
|
+
# onboarding status in Azure Active Directory Connect Health was last
|
70
|
+
# verified.
|
71
|
+
attr_accessor :last_verified
|
72
|
+
|
73
|
+
# @return [Boolean] Indicates if the tenant is allowed to onboard to
|
74
|
+
# Azure Active Directory Connect Health.
|
75
|
+
attr_accessor :onboarding_allowed
|
76
|
+
|
77
|
+
# @return [Boolean] Indicates if the tenant is already onboarded to Azure
|
78
|
+
# Active Directory Connect Health.
|
79
|
+
attr_accessor :onboarded
|
80
|
+
|
81
|
+
# @return The certificate associated with the tenant to onboard data to
|
82
|
+
# Azure Active Directory Connect Health.
|
83
|
+
attr_accessor :pks_certificate
|
84
|
+
|
85
|
+
# @return [Boolean] Indicates if the tenant has signed up for private
|
86
|
+
# preview of Azure Active Directory Connect Health features.
|
87
|
+
attr_accessor :private_preview_tenant
|
88
|
+
|
89
|
+
# @return [Boolean] Indicates if data collection for this tenant is
|
90
|
+
# disabled or not.
|
91
|
+
attr_accessor :tenant_in_quarantine
|
92
|
+
|
93
|
+
# @return [String] The name of the tenant.
|
94
|
+
attr_accessor :tenant_name
|
95
|
+
|
96
|
+
|
97
|
+
#
|
98
|
+
# Mapper for Tenant class as Ruby Hash.
|
99
|
+
# This will be used for serialization/deserialization.
|
100
|
+
#
|
101
|
+
def self.mapper()
|
102
|
+
{
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'Tenant',
|
106
|
+
type: {
|
107
|
+
name: 'Composite',
|
108
|
+
class_name: 'Tenant',
|
109
|
+
model_properties: {
|
110
|
+
tenant_id: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'tenantId',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
aad_license: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'aadLicense',
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
aad_premium: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'aadPremium',
|
130
|
+
type: {
|
131
|
+
name: 'Boolean'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
agent_auto_update: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'agentAutoUpdate',
|
138
|
+
type: {
|
139
|
+
name: 'Boolean'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
alert_suppression_time_in_mins: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'alertSuppressionTimeInMins',
|
146
|
+
type: {
|
147
|
+
name: 'Number'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
consented_to_microsoft_dev_ops: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'consentedToMicrosoftDevOps',
|
154
|
+
type: {
|
155
|
+
name: 'Boolean'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
country_letter_code: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'countryLetterCode',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
created_date: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'createdDate',
|
170
|
+
type: {
|
171
|
+
name: 'DateTime'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
dev_ops_ttl: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'devOpsTtl',
|
178
|
+
type: {
|
179
|
+
name: 'DateTime'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
disabled: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'disabled',
|
186
|
+
type: {
|
187
|
+
name: 'Boolean'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
disabled_reason: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'disabledReason',
|
194
|
+
type: {
|
195
|
+
name: 'Number'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
global_admins_email: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
serialized_name: 'globalAdminsEmail',
|
202
|
+
type: {
|
203
|
+
name: 'Sequence',
|
204
|
+
element: {
|
205
|
+
client_side_validation: true,
|
206
|
+
required: false,
|
207
|
+
serialized_name: 'StringElementType',
|
208
|
+
type: {
|
209
|
+
name: 'String'
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
},
|
214
|
+
initial_domain: {
|
215
|
+
client_side_validation: true,
|
216
|
+
required: false,
|
217
|
+
serialized_name: 'initialDomain',
|
218
|
+
type: {
|
219
|
+
name: 'String'
|
220
|
+
}
|
221
|
+
},
|
222
|
+
last_disabled: {
|
223
|
+
client_side_validation: true,
|
224
|
+
required: false,
|
225
|
+
serialized_name: 'lastDisabled',
|
226
|
+
type: {
|
227
|
+
name: 'DateTime'
|
228
|
+
}
|
229
|
+
},
|
230
|
+
last_verified: {
|
231
|
+
client_side_validation: true,
|
232
|
+
required: false,
|
233
|
+
serialized_name: 'lastVerified',
|
234
|
+
type: {
|
235
|
+
name: 'DateTime'
|
236
|
+
}
|
237
|
+
},
|
238
|
+
onboarding_allowed: {
|
239
|
+
client_side_validation: true,
|
240
|
+
required: false,
|
241
|
+
serialized_name: 'onboardingAllowed',
|
242
|
+
type: {
|
243
|
+
name: 'Boolean'
|
244
|
+
}
|
245
|
+
},
|
246
|
+
onboarded: {
|
247
|
+
client_side_validation: true,
|
248
|
+
required: false,
|
249
|
+
serialized_name: 'onboarded',
|
250
|
+
type: {
|
251
|
+
name: 'Boolean'
|
252
|
+
}
|
253
|
+
},
|
254
|
+
pks_certificate: {
|
255
|
+
client_side_validation: true,
|
256
|
+
required: false,
|
257
|
+
serialized_name: 'pksCertificate',
|
258
|
+
type: {
|
259
|
+
name: 'Object'
|
260
|
+
}
|
261
|
+
},
|
262
|
+
private_preview_tenant: {
|
263
|
+
client_side_validation: true,
|
264
|
+
required: false,
|
265
|
+
serialized_name: 'privatePreviewTenant',
|
266
|
+
type: {
|
267
|
+
name: 'Boolean'
|
268
|
+
}
|
269
|
+
},
|
270
|
+
tenant_in_quarantine: {
|
271
|
+
client_side_validation: true,
|
272
|
+
required: false,
|
273
|
+
serialized_name: 'tenantInQuarantine',
|
274
|
+
type: {
|
275
|
+
name: 'Boolean'
|
276
|
+
}
|
277
|
+
},
|
278
|
+
tenant_name: {
|
279
|
+
client_side_validation: true,
|
280
|
+
required: false,
|
281
|
+
serialized_name: 'tenantName',
|
282
|
+
type: {
|
283
|
+
name: 'String'
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
end
|
290
|
+
end
|
291
|
+
end
|
292
|
+
end
|