Class: MicrosoftGraph::Models::DeviceManagement

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/device_management.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new DeviceManagement and sets the default values.



181
182
183
# File 'lib/models/device_management.rb', line 181

def initialize()
    super
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a device_management

Raises:

  • (StandardError)


189
190
191
192
# File 'lib/models/device_management.rb', line 189

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return DeviceManagement.new
end

Instance Method Details

#apple_push_notification_certificateObject

Gets the applePushNotificationCertificate property value. Apple push notification certificate.

Returns:

  • a apple_push_notification_certificate



121
122
123
# File 'lib/models/device_management.rb', line 121

def apple_push_notification_certificate
    return @apple_push_notification_certificate
end

#apple_push_notification_certificate=(value) ⇒ Object

Sets the applePushNotificationCertificate property value. Apple push notification certificate.

Parameters:

  • value

    Value to set for the apple_push_notification_certificate property.

Returns:

  • a void



129
130
131
# File 'lib/models/device_management.rb', line 129

def apple_push_notification_certificate=(value)
    @apple_push_notification_certificate = value
end

#audit_eventsObject

Gets the auditEvents property value. The Audit Events

Returns:

  • a audit_event



136
137
138
# File 'lib/models/device_management.rb', line 136

def audit_events
    return @audit_events
end

#audit_events=(value) ⇒ Object

Sets the auditEvents property value. The Audit Events

Parameters:

  • value

    Value to set for the audit_events property.

Returns:

  • a void



144
145
146
# File 'lib/models/device_management.rb', line 144

def audit_events=(value)
    @audit_events = value
end

#compliance_management_partnersObject

Gets the complianceManagementPartners property value. The list of Compliance Management Partners configured by the tenant.

Returns:

  • a compliance_management_partner



151
152
153
# File 'lib/models/device_management.rb', line 151

def compliance_management_partners
    return @compliance_management_partners
end

#compliance_management_partners=(value) ⇒ Object

Sets the complianceManagementPartners property value. The list of Compliance Management Partners configured by the tenant.

Parameters:

  • value

    Value to set for the compliance_management_partners property.

Returns:

  • a void



159
160
161
# File 'lib/models/device_management.rb', line 159

def compliance_management_partners=(value)
    @compliance_management_partners = value
end

#conditional_access_settingsObject

Gets the conditionalAccessSettings property value. The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access

Returns:

  • a on_premises_conditional_access_settings



166
167
168
# File 'lib/models/device_management.rb', line 166

def conditional_access_settings
    return @conditional_access_settings
end

#conditional_access_settings=(value) ⇒ Object

Sets the conditionalAccessSettings property value. The Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access

Parameters:

  • value

    Value to set for the conditional_access_settings property.

Returns:

  • a void



174
175
176
# File 'lib/models/device_management.rb', line 174

def conditional_access_settings=(value)
    @conditional_access_settings = value
end

#detected_appsObject

Gets the detectedApps property value. The list of detected apps associated with a device.

Returns:

  • a detected_app



197
198
199
# File 'lib/models/device_management.rb', line 197

def detected_apps
    return @detected_apps
end

#detected_apps=(value) ⇒ Object

Sets the detectedApps property value. The list of detected apps associated with a device.

Parameters:

  • value

    Value to set for the detected_apps property.

Returns:

  • a void



205
206
207
# File 'lib/models/device_management.rb', line 205

def detected_apps=(value)
    @detected_apps = value
end

#device_categoriesObject

Gets the deviceCategories property value. The list of device categories with the tenant.

Returns:

  • a device_category



212
213
214
# File 'lib/models/device_management.rb', line 212

def device_categories
    return @device_categories
end

#device_categories=(value) ⇒ Object

Sets the deviceCategories property value. The list of device categories with the tenant.

Parameters:

  • value

    Value to set for the device_categories property.

Returns:

  • a void



220
221
222
# File 'lib/models/device_management.rb', line 220

def device_categories=(value)
    @device_categories = value
end

#device_compliance_policiesObject

Gets the deviceCompliancePolicies property value. The device compliance policies.

Returns:

  • a device_compliance_policy



227
228
229
# File 'lib/models/device_management.rb', line 227

def device_compliance_policies
    return @device_compliance_policies
end

#device_compliance_policies=(value) ⇒ Object

Sets the deviceCompliancePolicies property value. The device compliance policies.

Parameters:

  • value

    Value to set for the device_compliance_policies property.

Returns:

  • a void



235
236
237
# File 'lib/models/device_management.rb', line 235

def device_compliance_policies=(value)
    @device_compliance_policies = value
end

#device_compliance_policy_device_state_summaryObject

Gets the deviceCompliancePolicyDeviceStateSummary property value. The device compliance state summary for this account.

Returns:

  • a device_compliance_policy_device_state_summary



242
243
244
# File 'lib/models/device_management.rb', line 242

def device_compliance_policy_device_state_summary
    return @device_compliance_policy_device_state_summary
end

#device_compliance_policy_device_state_summary=(value) ⇒ Object

Sets the deviceCompliancePolicyDeviceStateSummary property value. The device compliance state summary for this account.

Parameters:

  • value

    Value to set for the device_compliance_policy_device_state_summary property.

Returns:

  • a void



250
251
252
# File 'lib/models/device_management.rb', line 250

def device_compliance_policy_device_state_summary=(value)
    @device_compliance_policy_device_state_summary = value
end

#device_compliance_policy_setting_state_summariesObject

Gets the deviceCompliancePolicySettingStateSummaries property value. The summary states of compliance policy settings for this account.

Returns:

  • a device_compliance_policy_setting_state_summary



257
258
259
# File 'lib/models/device_management.rb', line 257

def device_compliance_policy_setting_state_summaries
    return @device_compliance_policy_setting_state_summaries
end

#device_compliance_policy_setting_state_summaries=(value) ⇒ Object

Sets the deviceCompliancePolicySettingStateSummaries property value. The summary states of compliance policy settings for this account.

Parameters:

  • value

    Value to set for the device_compliance_policy_setting_state_summaries property.

Returns:

  • a void



265
266
267
# File 'lib/models/device_management.rb', line 265

def device_compliance_policy_setting_state_summaries=(value)
    @device_compliance_policy_setting_state_summaries = value
end

#device_configuration_device_state_summariesObject

Gets the deviceConfigurationDeviceStateSummaries property value. The device configuration device state summary for this account.

Returns:

  • a device_configuration_device_state_summary



272
273
274
# File 'lib/models/device_management.rb', line 272

def device_configuration_device_state_summaries
    return @device_configuration_device_state_summaries
end

#device_configuration_device_state_summaries=(value) ⇒ Object

Sets the deviceConfigurationDeviceStateSummaries property value. The device configuration device state summary for this account.

Parameters:

  • value

    Value to set for the device_configuration_device_state_summaries property.

Returns:

  • a void



280
281
282
# File 'lib/models/device_management.rb', line 280

def device_configuration_device_state_summaries=(value)
    @device_configuration_device_state_summaries = value
end

#device_configurationsObject

Gets the deviceConfigurations property value. The device configurations.

Returns:

  • a device_configuration



287
288
289
# File 'lib/models/device_management.rb', line 287

def device_configurations
    return @device_configurations
end

#device_configurations=(value) ⇒ Object

Sets the deviceConfigurations property value. The device configurations.

Parameters:

  • value

    Value to set for the device_configurations property.

Returns:

  • a void



295
296
297
# File 'lib/models/device_management.rb', line 295

def device_configurations=(value)
    @device_configurations = value
end

#device_enrollment_configurationsObject

Gets the deviceEnrollmentConfigurations property value. The list of device enrollment configurations

Returns:

  • a device_enrollment_configuration



302
303
304
# File 'lib/models/device_management.rb', line 302

def device_enrollment_configurations
    return @device_enrollment_configurations
end

#device_enrollment_configurations=(value) ⇒ Object

Sets the deviceEnrollmentConfigurations property value. The list of device enrollment configurations

Parameters:

  • value

    Value to set for the device_enrollment_configurations property.

Returns:

  • a void



310
311
312
# File 'lib/models/device_management.rb', line 310

def device_enrollment_configurations=(value)
    @device_enrollment_configurations = value
end

#device_management_partnersObject

Gets the deviceManagementPartners property value. The list of Device Management Partners configured by the tenant.

Returns:

  • a device_management_partner



317
318
319
# File 'lib/models/device_management.rb', line 317

def device_management_partners
    return @device_management_partners
end

#device_management_partners=(value) ⇒ Object

Sets the deviceManagementPartners property value. The list of Device Management Partners configured by the tenant.

Parameters:

  • value

    Value to set for the device_management_partners property.

Returns:

  • a void



325
326
327
# File 'lib/models/device_management.rb', line 325

def device_management_partners=(value)
    @device_management_partners = value
end

#exchange_connectorsObject

Gets the exchangeConnectors property value. The list of Exchange Connectors configured by the tenant.

Returns:

  • a device_management_exchange_connector



332
333
334
# File 'lib/models/device_management.rb', line 332

def exchange_connectors
    return @exchange_connectors
end

#exchange_connectors=(value) ⇒ Object

Sets the exchangeConnectors property value. The list of Exchange Connectors configured by the tenant.

Parameters:

  • value

    Value to set for the exchange_connectors property.

Returns:

  • a void



340
341
342
# File 'lib/models/device_management.rb', line 340

def exchange_connectors=(value)
    @exchange_connectors = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
# File 'lib/models/device_management.rb', line 347

def get_field_deserializers()
    return super.merge({
        "applePushNotificationCertificate" => lambda {|n| @apple_push_notification_certificate = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ApplePushNotificationCertificate.create_from_discriminator_value(pn) }) },
        "auditEvents" => lambda {|n| @audit_events = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AuditEvent.create_from_discriminator_value(pn) }) },
        "complianceManagementPartners" => lambda {|n| @compliance_management_partners = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ComplianceManagementPartner.create_from_discriminator_value(pn) }) },
        "conditionalAccessSettings" => lambda {|n| @conditional_access_settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::OnPremisesConditionalAccessSettings.create_from_discriminator_value(pn) }) },
        "detectedApps" => lambda {|n| @detected_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DetectedApp.create_from_discriminator_value(pn) }) },
        "deviceCategories" => lambda {|n| @device_categories = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceCategory.create_from_discriminator_value(pn) }) },
        "deviceCompliancePolicies" => lambda {|n| @device_compliance_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceCompliancePolicy.create_from_discriminator_value(pn) }) },
        "deviceCompliancePolicyDeviceStateSummary" => lambda {|n| @device_compliance_policy_device_state_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DeviceCompliancePolicyDeviceStateSummary.create_from_discriminator_value(pn) }) },
        "deviceCompliancePolicySettingStateSummaries" => lambda {|n| @device_compliance_policy_setting_state_summaries = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceCompliancePolicySettingStateSummary.create_from_discriminator_value(pn) }) },
        "deviceConfigurationDeviceStateSummaries" => lambda {|n| @device_configuration_device_state_summaries = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DeviceConfigurationDeviceStateSummary.create_from_discriminator_value(pn) }) },
        "deviceConfigurations" => lambda {|n| @device_configurations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceConfiguration.create_from_discriminator_value(pn) }) },
        "deviceEnrollmentConfigurations" => lambda {|n| @device_enrollment_configurations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceEnrollmentConfiguration.create_from_discriminator_value(pn) }) },
        "deviceManagementPartners" => lambda {|n| @device_management_partners = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceManagementPartner.create_from_discriminator_value(pn) }) },
        "exchangeConnectors" => lambda {|n| @exchange_connectors = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceManagementExchangeConnector.create_from_discriminator_value(pn) }) },
        "importedWindowsAutopilotDeviceIdentities" => lambda {|n| @imported_windows_autopilot_device_identities = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ImportedWindowsAutopilotDeviceIdentity.create_from_discriminator_value(pn) }) },
        "intuneAccountId" => lambda {|n| @intune_account_id = n.get_guid_value() },
        "intuneBrand" => lambda {|n| @intune_brand = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IntuneBrand.create_from_discriminator_value(pn) }) },
        "iosUpdateStatuses" => lambda {|n| @ios_update_statuses = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IosUpdateDeviceStatus.create_from_discriminator_value(pn) }) },
        "managedDeviceOverview" => lambda {|n| @managed_device_overview = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ManagedDeviceOverview.create_from_discriminator_value(pn) }) },
        "managedDevices" => lambda {|n| @managed_devices = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedDevice.create_from_discriminator_value(pn) }) },
        "mobileThreatDefenseConnectors" => lambda {|n| @mobile_threat_defense_connectors = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileThreatDefenseConnector.create_from_discriminator_value(pn) }) },
        "notificationMessageTemplates" => lambda {|n| @notification_message_templates = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::NotificationMessageTemplate.create_from_discriminator_value(pn) }) },
        "remoteAssistancePartners" => lambda {|n| @remote_assistance_partners = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::RemoteAssistancePartner.create_from_discriminator_value(pn) }) },
        "reports" => lambda {|n| @reports = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DeviceManagementReports.create_from_discriminator_value(pn) }) },
        "resourceOperations" => lambda {|n| @resource_operations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ResourceOperation.create_from_discriminator_value(pn) }) },
        "roleAssignments" => lambda {|n| @role_assignments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceAndAppManagementRoleAssignment.create_from_discriminator_value(pn) }) },
        "roleDefinitions" => lambda {|n| @role_definitions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::RoleDefinition.create_from_discriminator_value(pn) }) },
        "settings" => lambda {|n| @settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DeviceManagementSettings.create_from_discriminator_value(pn) }) },
        "softwareUpdateStatusSummary" => lambda {|n| @software_update_status_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SoftwareUpdateStatusSummary.create_from_discriminator_value(pn) }) },
        "subscriptionState" => lambda {|n| @subscription_state = n.get_enum_value(MicrosoftGraph::Models::DeviceManagementSubscriptionState) },
        "telecomExpenseManagementPartners" => lambda {|n| @telecom_expense_management_partners = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TelecomExpenseManagementPartner.create_from_discriminator_value(pn) }) },
        "termsAndConditions" => lambda {|n| @terms_and_conditions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TermsAndConditions.create_from_discriminator_value(pn) }) },
        "troubleshootingEvents" => lambda {|n| @troubleshooting_events = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DeviceManagementTroubleshootingEvent.create_from_discriminator_value(pn) }) },
        "windowsAutopilotDeviceIdentities" => lambda {|n| @windows_autopilot_device_identities = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsAutopilotDeviceIdentity.create_from_discriminator_value(pn) }) },
        "windowsInformationProtectionAppLearningSummaries" => lambda {|n| @windows_information_protection_app_learning_summaries = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionAppLearningSummary.create_from_discriminator_value(pn) }) },
        "windowsInformationProtectionNetworkLearningSummaries" => lambda {|n| @windows_information_protection_network_learning_summaries = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionNetworkLearningSummary.create_from_discriminator_value(pn) }) },
    })
end

#imported_windows_autopilot_device_identitiesObject

Gets the importedWindowsAutopilotDeviceIdentities property value. Collection of imported Windows autopilot devices.

Returns:

  • a imported_windows_autopilot_device_identity



391
392
393
# File 'lib/models/device_management.rb', line 391

def imported_windows_autopilot_device_identities
    return @imported_windows_autopilot_device_identities
end

#imported_windows_autopilot_device_identities=(value) ⇒ Object

Sets the importedWindowsAutopilotDeviceIdentities property value. Collection of imported Windows autopilot devices.

Parameters:

  • value

    Value to set for the imported_windows_autopilot_device_identities property.

Returns:

  • a void



399
400
401
# File 'lib/models/device_management.rb', line 399

def imported_windows_autopilot_device_identities=(value)
    @imported_windows_autopilot_device_identities = value
end

#intune_account_idObject

Gets the intuneAccountId property value. Intune Account Id for given tenant

Returns:

  • a guid



406
407
408
# File 'lib/models/device_management.rb', line 406

def 
    return @intune_account_id
end

#intune_account_id=(value) ⇒ Object

Sets the intuneAccountId property value. Intune Account Id for given tenant

Parameters:

  • value

    Value to set for the intune_account_id property.

Returns:

  • a void



414
415
416
# File 'lib/models/device_management.rb', line 414

def (value)
    @intune_account_id = value
end

#intune_brandObject

Gets the intuneBrand property value. intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.

Returns:

  • a intune_brand



421
422
423
# File 'lib/models/device_management.rb', line 421

def intune_brand
    return @intune_brand
end

#intune_brand=(value) ⇒ Object

Sets the intuneBrand property value. intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.

Parameters:

  • value

    Value to set for the intune_brand property.

Returns:

  • a void



429
430
431
# File 'lib/models/device_management.rb', line 429

def intune_brand=(value)
    @intune_brand = value
end

#ios_update_statusesObject

Gets the iosUpdateStatuses property value. The IOS software update installation statuses for this account.

Returns:

  • a ios_update_device_status



436
437
438
# File 'lib/models/device_management.rb', line 436

def ios_update_statuses
    return @ios_update_statuses
end

#ios_update_statuses=(value) ⇒ Object

Sets the iosUpdateStatuses property value. The IOS software update installation statuses for this account.

Parameters:

  • value

    Value to set for the ios_update_statuses property.

Returns:

  • a void



444
445
446
# File 'lib/models/device_management.rb', line 444

def ios_update_statuses=(value)
    @ios_update_statuses = value
end

#managed_device_overviewObject

Gets the managedDeviceOverview property value. Device overview

Returns:

  • a managed_device_overview



451
452
453
# File 'lib/models/device_management.rb', line 451

def managed_device_overview
    return @managed_device_overview
end

#managed_device_overview=(value) ⇒ Object

Sets the managedDeviceOverview property value. Device overview

Parameters:

  • value

    Value to set for the managed_device_overview property.

Returns:

  • a void



459
460
461
# File 'lib/models/device_management.rb', line 459

def managed_device_overview=(value)
    @managed_device_overview = value
end

#managed_devicesObject

Gets the managedDevices property value. The list of managed devices.

Returns:

  • a managed_device



466
467
468
# File 'lib/models/device_management.rb', line 466

def managed_devices
    return @managed_devices
end

#managed_devices=(value) ⇒ Object

Sets the managedDevices property value. The list of managed devices.

Parameters:

  • value

    Value to set for the managed_devices property.

Returns:

  • a void



474
475
476
# File 'lib/models/device_management.rb', line 474

def managed_devices=(value)
    @managed_devices = value
end

#mobile_threat_defense_connectorsObject

Gets the mobileThreatDefenseConnectors property value. The list of Mobile threat Defense connectors configured by the tenant.

Returns:

  • a mobile_threat_defense_connector



481
482
483
# File 'lib/models/device_management.rb', line 481

def mobile_threat_defense_connectors
    return @mobile_threat_defense_connectors
end

#mobile_threat_defense_connectors=(value) ⇒ Object

Sets the mobileThreatDefenseConnectors property value. The list of Mobile threat Defense connectors configured by the tenant.

Parameters:

  • value

    Value to set for the mobile_threat_defense_connectors property.

Returns:

  • a void



489
490
491
# File 'lib/models/device_management.rb', line 489

def mobile_threat_defense_connectors=(value)
    @mobile_threat_defense_connectors = value
end

#notification_message_templatesObject

Gets the notificationMessageTemplates property value. The Notification Message Templates.

Returns:

  • a notification_message_template



496
497
498
# File 'lib/models/device_management.rb', line 496

def notification_message_templates
    return @notification_message_templates
end

#notification_message_templates=(value) ⇒ Object

Sets the notificationMessageTemplates property value. The Notification Message Templates.

Parameters:

  • value

    Value to set for the notification_message_templates property.

Returns:

  • a void



504
505
506
# File 'lib/models/device_management.rb', line 504

def notification_message_templates=(value)
    @notification_message_templates = value
end

#remote_assistance_partnersObject

Gets the remoteAssistancePartners property value. The remote assist partners.

Returns:

  • a remote_assistance_partner



511
512
513
# File 'lib/models/device_management.rb', line 511

def remote_assistance_partners
    return @remote_assistance_partners
end

#remote_assistance_partners=(value) ⇒ Object

Sets the remoteAssistancePartners property value. The remote assist partners.

Parameters:

  • value

    Value to set for the remote_assistance_partners property.

Returns:

  • a void



519
520
521
# File 'lib/models/device_management.rb', line 519

def remote_assistance_partners=(value)
    @remote_assistance_partners = value
end

#reportsObject

Gets the reports property value. Reports singleton

Returns:

  • a device_management_reports



526
527
528
# File 'lib/models/device_management.rb', line 526

def reports
    return @reports
end

#reports=(value) ⇒ Object

Sets the reports property value. Reports singleton

Parameters:

  • value

    Value to set for the reports property.

Returns:

  • a void



534
535
536
# File 'lib/models/device_management.rb', line 534

def reports=(value)
    @reports = value
end

#resource_operationsObject

Gets the resourceOperations property value. The Resource Operations.

Returns:

  • a resource_operation



541
542
543
# File 'lib/models/device_management.rb', line 541

def resource_operations
    return @resource_operations
end

#resource_operations=(value) ⇒ Object

Sets the resourceOperations property value. The Resource Operations.

Parameters:

  • value

    Value to set for the resource_operations property.

Returns:

  • a void



549
550
551
# File 'lib/models/device_management.rb', line 549

def resource_operations=(value)
    @resource_operations = value
end

#role_assignmentsObject

Gets the roleAssignments property value. The Role Assignments.

Returns:

  • a device_and_app_management_role_assignment



556
557
558
# File 'lib/models/device_management.rb', line 556

def role_assignments
    return @role_assignments
end

#role_assignments=(value) ⇒ Object

Sets the roleAssignments property value. The Role Assignments.

Parameters:

  • value

    Value to set for the role_assignments property.

Returns:

  • a void



564
565
566
# File 'lib/models/device_management.rb', line 564

def role_assignments=(value)
    @role_assignments = value
end

#role_definitionsObject

Gets the roleDefinitions property value. The Role Definitions.

Returns:

  • a role_definition



571
572
573
# File 'lib/models/device_management.rb', line 571

def role_definitions
    return @role_definitions
end

#role_definitions=(value) ⇒ Object

Sets the roleDefinitions property value. The Role Definitions.

Parameters:

  • value

    Value to set for the role_definitions property.

Returns:

  • a void



579
580
581
# File 'lib/models/device_management.rb', line 579

def role_definitions=(value)
    @role_definitions = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
# File 'lib/models/device_management.rb', line 587

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_object_value("applePushNotificationCertificate", @apple_push_notification_certificate)
    writer.write_collection_of_object_values("auditEvents", @audit_events)
    writer.write_collection_of_object_values("complianceManagementPartners", @compliance_management_partners)
    writer.write_object_value("conditionalAccessSettings", @conditional_access_settings)
    writer.write_collection_of_object_values("detectedApps", @detected_apps)
    writer.write_collection_of_object_values("deviceCategories", @device_categories)
    writer.write_collection_of_object_values("deviceCompliancePolicies", @device_compliance_policies)
    writer.write_object_value("deviceCompliancePolicyDeviceStateSummary", @device_compliance_policy_device_state_summary)
    writer.write_collection_of_object_values("deviceCompliancePolicySettingStateSummaries", @device_compliance_policy_setting_state_summaries)
    writer.write_object_value("deviceConfigurationDeviceStateSummaries", @device_configuration_device_state_summaries)
    writer.write_collection_of_object_values("deviceConfigurations", @device_configurations)
    writer.write_collection_of_object_values("deviceEnrollmentConfigurations", @device_enrollment_configurations)
    writer.write_collection_of_object_values("deviceManagementPartners", @device_management_partners)
    writer.write_collection_of_object_values("exchangeConnectors", @exchange_connectors)
    writer.write_collection_of_object_values("importedWindowsAutopilotDeviceIdentities", @imported_windows_autopilot_device_identities)
    writer.write_guid_value("intuneAccountId", @intune_account_id)
    writer.write_object_value("intuneBrand", @intune_brand)
    writer.write_collection_of_object_values("iosUpdateStatuses", @ios_update_statuses)
    writer.write_object_value("managedDeviceOverview", @managed_device_overview)
    writer.write_collection_of_object_values("managedDevices", @managed_devices)
    writer.write_collection_of_object_values("mobileThreatDefenseConnectors", @mobile_threat_defense_connectors)
    writer.write_collection_of_object_values("notificationMessageTemplates", @notification_message_templates)
    writer.write_collection_of_object_values("remoteAssistancePartners", @remote_assistance_partners)
    writer.write_object_value("reports", @reports)
    writer.write_collection_of_object_values("resourceOperations", @resource_operations)
    writer.write_collection_of_object_values("roleAssignments", @role_assignments)
    writer.write_collection_of_object_values("roleDefinitions", @role_definitions)
    writer.write_object_value("settings", @settings)
    writer.write_object_value("softwareUpdateStatusSummary", @software_update_status_summary)
    writer.write_enum_value("subscriptionState", @subscription_state)
    writer.write_collection_of_object_values("telecomExpenseManagementPartners", @telecom_expense_management_partners)
    writer.write_collection_of_object_values("termsAndConditions", @terms_and_conditions)
    writer.write_collection_of_object_values("troubleshootingEvents", @troubleshooting_events)
    writer.write_collection_of_object_values("windowsAutopilotDeviceIdentities", @windows_autopilot_device_identities)
    writer.write_collection_of_object_values("windowsInformationProtectionAppLearningSummaries", @windows_information_protection_app_learning_summaries)
    writer.write_collection_of_object_values("windowsInformationProtectionNetworkLearningSummaries", @windows_information_protection_network_learning_summaries)
end

#settingsObject

Gets the settings property value. Account level settings.

Returns:

  • a device_management_settings



631
632
633
# File 'lib/models/device_management.rb', line 631

def settings
    return @settings
end

#settings=(value) ⇒ Object

Sets the settings property value. Account level settings.

Parameters:

  • value

    Value to set for the settings property.

Returns:

  • a void



639
640
641
# File 'lib/models/device_management.rb', line 639

def settings=(value)
    @settings = value
end

#software_update_status_summaryObject

Gets the softwareUpdateStatusSummary property value. The software update status summary.

Returns:

  • a software_update_status_summary



646
647
648
# File 'lib/models/device_management.rb', line 646

def software_update_status_summary
    return @software_update_status_summary
end

#software_update_status_summary=(value) ⇒ Object

Sets the softwareUpdateStatusSummary property value. The software update status summary.

Parameters:

  • value

    Value to set for the software_update_status_summary property.

Returns:

  • a void



654
655
656
# File 'lib/models/device_management.rb', line 654

def software_update_status_summary=(value)
    @software_update_status_summary = value
end

#subscription_stateObject

Gets the subscriptionState property value. Tenant mobile device management subscription state.

Returns:

  • a device_management_subscription_state



661
662
663
# File 'lib/models/device_management.rb', line 661

def subscription_state
    return @subscription_state
end

#subscription_state=(value) ⇒ Object

Sets the subscriptionState property value. Tenant mobile device management subscription state.

Parameters:

  • value

    Value to set for the subscription_state property.

Returns:

  • a void



669
670
671
# File 'lib/models/device_management.rb', line 669

def subscription_state=(value)
    @subscription_state = value
end

#telecom_expense_management_partnersObject

Gets the telecomExpenseManagementPartners property value. The telecom expense management partners.

Returns:

  • a telecom_expense_management_partner



676
677
678
# File 'lib/models/device_management.rb', line 676

def telecom_expense_management_partners
    return @telecom_expense_management_partners
end

#telecom_expense_management_partners=(value) ⇒ Object

Sets the telecomExpenseManagementPartners property value. The telecom expense management partners.

Parameters:

  • value

    Value to set for the telecom_expense_management_partners property.

Returns:

  • a void



684
685
686
# File 'lib/models/device_management.rb', line 684

def telecom_expense_management_partners=(value)
    @telecom_expense_management_partners = value
end

#terms_and_conditionsObject

Gets the termsAndConditions property value. The terms and conditions associated with device management of the company.

Returns:

  • a terms_and_conditions



691
692
693
# File 'lib/models/device_management.rb', line 691

def terms_and_conditions
    return @terms_and_conditions
end

#terms_and_conditions=(value) ⇒ Object

Sets the termsAndConditions property value. The terms and conditions associated with device management of the company.

Parameters:

  • value

    Value to set for the terms_and_conditions property.

Returns:

  • a void



699
700
701
# File 'lib/models/device_management.rb', line 699

def terms_and_conditions=(value)
    @terms_and_conditions = value
end

#troubleshooting_eventsObject

Gets the troubleshootingEvents property value. The list of troubleshooting events for the tenant.

Returns:

  • a device_management_troubleshooting_event



706
707
708
# File 'lib/models/device_management.rb', line 706

def troubleshooting_events
    return @troubleshooting_events
end

#troubleshooting_events=(value) ⇒ Object

Sets the troubleshootingEvents property value. The list of troubleshooting events for the tenant.

Parameters:

  • value

    Value to set for the troubleshooting_events property.

Returns:

  • a void



714
715
716
# File 'lib/models/device_management.rb', line 714

def troubleshooting_events=(value)
    @troubleshooting_events = value
end

#windows_autopilot_device_identitiesObject

Gets the windowsAutopilotDeviceIdentities property value. The Windows autopilot device identities contained collection.

Returns:

  • a windows_autopilot_device_identity



721
722
723
# File 'lib/models/device_management.rb', line 721

def windows_autopilot_device_identities
    return @windows_autopilot_device_identities
end

#windows_autopilot_device_identities=(value) ⇒ Object

Sets the windowsAutopilotDeviceIdentities property value. The Windows autopilot device identities contained collection.

Parameters:

  • value

    Value to set for the windows_autopilot_device_identities property.

Returns:

  • a void



729
730
731
# File 'lib/models/device_management.rb', line 729

def windows_autopilot_device_identities=(value)
    @windows_autopilot_device_identities = value
end

#windows_information_protection_app_learning_summariesObject

Gets the windowsInformationProtectionAppLearningSummaries property value. The windows information protection app learning summaries.

Returns:

  • a windows_information_protection_app_learning_summary



736
737
738
# File 'lib/models/device_management.rb', line 736

def windows_information_protection_app_learning_summaries
    return @windows_information_protection_app_learning_summaries
end

#windows_information_protection_app_learning_summaries=(value) ⇒ Object

Sets the windowsInformationProtectionAppLearningSummaries property value. The windows information protection app learning summaries.

Parameters:

  • value

    Value to set for the windows_information_protection_app_learning_summaries property.

Returns:

  • a void



744
745
746
# File 'lib/models/device_management.rb', line 744

def windows_information_protection_app_learning_summaries=(value)
    @windows_information_protection_app_learning_summaries = value
end

#windows_information_protection_network_learning_summariesObject

Gets the windowsInformationProtectionNetworkLearningSummaries property value. The windows information protection network learning summaries.

Returns:

  • a windows_information_protection_network_learning_summary



751
752
753
# File 'lib/models/device_management.rb', line 751

def windows_information_protection_network_learning_summaries
    return @windows_information_protection_network_learning_summaries
end

#windows_information_protection_network_learning_summaries=(value) ⇒ Object

Sets the windowsInformationProtectionNetworkLearningSummaries property value. The windows information protection network learning summaries.

Parameters:

  • value

    Value to set for the windows_information_protection_network_learning_summaries property.

Returns:

  • a void



759
760
761
# File 'lib/models/device_management.rb', line 759

def windows_information_protection_network_learning_summaries=(value)
    @windows_information_protection_network_learning_summaries = value
end