Class: MicrosoftGraph::Models::Windows10EndpointProtectionConfiguration

Inherits:
DeviceConfiguration show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/windows10_endpoint_protection_configuration.rb

Overview

This topic provides descriptions of the declared methods, properties and relationships exposed by the Windows10EndpointProtectionConfiguration resource.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from DeviceConfiguration

#assignments, #assignments=, #created_date_time, #created_date_time=, #description, #description=, #device_setting_state_summaries, #device_setting_state_summaries=, #device_status_overview, #device_status_overview=, #device_statuses, #device_statuses=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #user_status_overview, #user_status_overview=, #user_statuses, #user_statuses=, #version, #version=

Methods inherited from Entity

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

Constructor Details

#initializeObject

Instantiates a new windows10EndpointProtectionConfiguration and sets the default values.



348
349
350
351
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 348

def initialize()
    super
    @odata_type = "#microsoft.graph.windows10EndpointProtectionConfiguration"
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 windows10_endpoint_protection_configuration

Raises:

  • (StandardError)


357
358
359
360
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 357

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

Instance Method Details

#app_locker_application_controlObject

Gets the appLockerApplicationControl property value. Possible values of AppLocker Application Control Types

Returns:

  • a app_locker_application_control_type



123
124
125
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 123

def app_locker_application_control
    return @app_locker_application_control
end

#app_locker_application_control=(value) ⇒ Object

Sets the appLockerApplicationControl property value. Possible values of AppLocker Application Control Types

Parameters:

  • value

    Value to set for the appLockerApplicationControl property.

Returns:

  • a void



131
132
133
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 131

def app_locker_application_control=(value)
    @app_locker_application_control = value
end

#application_guard_allow_persistenceObject

Gets the applicationGuardAllowPersistence property value. Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.)

Returns:

  • a boolean



138
139
140
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 138

def application_guard_allow_persistence
    return @application_guard_allow_persistence
end

#application_guard_allow_persistence=(value) ⇒ Object

Sets the applicationGuardAllowPersistence property value. Allow persisting user generated data inside the App Guard Containter (favorites, cookies, web passwords, etc.)

Parameters:

  • value

    Value to set for the applicationGuardAllowPersistence property.

Returns:

  • a void



146
147
148
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 146

def application_guard_allow_persistence=(value)
    @application_guard_allow_persistence = value
end

#application_guard_allow_print_to_local_printersObject

Gets the applicationGuardAllowPrintToLocalPrinters property value. Allow printing to Local Printers from Container

Returns:

  • a boolean



153
154
155
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 153

def application_guard_allow_print_to_local_printers
    return @application_guard_allow_print_to_local_printers
end

#application_guard_allow_print_to_local_printers=(value) ⇒ Object

Sets the applicationGuardAllowPrintToLocalPrinters property value. Allow printing to Local Printers from Container

Parameters:

  • value

    Value to set for the applicationGuardAllowPrintToLocalPrinters property.

Returns:

  • a void



161
162
163
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 161

def application_guard_allow_print_to_local_printers=(value)
    @application_guard_allow_print_to_local_printers = value
end

#application_guard_allow_print_to_network_printersObject

Gets the applicationGuardAllowPrintToNetworkPrinters property value. Allow printing to Network Printers from Container

Returns:

  • a boolean



168
169
170
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 168

def application_guard_allow_print_to_network_printers
    return @application_guard_allow_print_to_network_printers
end

#application_guard_allow_print_to_network_printers=(value) ⇒ Object

Sets the applicationGuardAllowPrintToNetworkPrinters property value. Allow printing to Network Printers from Container

Parameters:

  • value

    Value to set for the applicationGuardAllowPrintToNetworkPrinters property.

Returns:

  • a void



176
177
178
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 176

def application_guard_allow_print_to_network_printers=(value)
    @application_guard_allow_print_to_network_printers = value
end

#application_guard_allow_print_to_p_d_fObject

Gets the applicationGuardAllowPrintToPDF property value. Allow printing to PDF from Container

Returns:

  • a boolean



183
184
185
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 183

def application_guard_allow_print_to_p_d_f
    return @application_guard_allow_print_to_p_d_f
end

#application_guard_allow_print_to_p_d_f=(value) ⇒ Object

Sets the applicationGuardAllowPrintToPDF property value. Allow printing to PDF from Container

Parameters:

  • value

    Value to set for the applicationGuardAllowPrintToPDF property.

Returns:

  • a void



191
192
193
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 191

def application_guard_allow_print_to_p_d_f=(value)
    @application_guard_allow_print_to_p_d_f = value
end

#application_guard_allow_print_to_x_p_sObject

Gets the applicationGuardAllowPrintToXPS property value. Allow printing to XPS from Container

Returns:

  • a boolean



198
199
200
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 198

def application_guard_allow_print_to_x_p_s
    return @application_guard_allow_print_to_x_p_s
end

#application_guard_allow_print_to_x_p_s=(value) ⇒ Object

Sets the applicationGuardAllowPrintToXPS property value. Allow printing to XPS from Container

Parameters:

  • value

    Value to set for the applicationGuardAllowPrintToXPS property.

Returns:

  • a void



206
207
208
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 206

def application_guard_allow_print_to_x_p_s=(value)
    @application_guard_allow_print_to_x_p_s = value
end

#application_guard_block_clipboard_sharingObject

Gets the applicationGuardBlockClipboardSharing property value. Possible values for applicationGuardBlockClipboardSharingType

Returns:

  • a application_guard_block_clipboard_sharing_type



213
214
215
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 213

def application_guard_block_clipboard_sharing
    return @application_guard_block_clipboard_sharing
end

#application_guard_block_clipboard_sharing=(value) ⇒ Object

Sets the applicationGuardBlockClipboardSharing property value. Possible values for applicationGuardBlockClipboardSharingType

Parameters:

  • value

    Value to set for the applicationGuardBlockClipboardSharing property.

Returns:

  • a void



221
222
223
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 221

def application_guard_block_clipboard_sharing=(value)
    @application_guard_block_clipboard_sharing = value
end

#application_guard_block_file_transferObject

Gets the applicationGuardBlockFileTransfer property value. Possible values for applicationGuardBlockFileTransfer

Returns:

  • a application_guard_block_file_transfer_type



228
229
230
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 228

def application_guard_block_file_transfer
    return @application_guard_block_file_transfer
end

#application_guard_block_file_transfer=(value) ⇒ Object

Sets the applicationGuardBlockFileTransfer property value. Possible values for applicationGuardBlockFileTransfer

Parameters:

  • value

    Value to set for the applicationGuardBlockFileTransfer property.

Returns:

  • a void



236
237
238
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 236

def application_guard_block_file_transfer=(value)
    @application_guard_block_file_transfer = value
end

#application_guard_block_non_enterprise_contentObject

Gets the applicationGuardBlockNonEnterpriseContent property value. Block enterprise sites to load non-enterprise content, such as third party plug-ins

Returns:

  • a boolean



243
244
245
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 243

def application_guard_block_non_enterprise_content
    return @application_guard_block_non_enterprise_content
end

#application_guard_block_non_enterprise_content=(value) ⇒ Object

Sets the applicationGuardBlockNonEnterpriseContent property value. Block enterprise sites to load non-enterprise content, such as third party plug-ins

Parameters:

  • value

    Value to set for the applicationGuardBlockNonEnterpriseContent property.

Returns:

  • a void



251
252
253
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 251

def application_guard_block_non_enterprise_content=(value)
    @application_guard_block_non_enterprise_content = value
end

#application_guard_enabledObject

Gets the applicationGuardEnabled property value. Enable Windows Defender Application Guard

Returns:

  • a boolean



258
259
260
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 258

def application_guard_enabled
    return @application_guard_enabled
end

#application_guard_enabled=(value) ⇒ Object

Sets the applicationGuardEnabled property value. Enable Windows Defender Application Guard

Parameters:

  • value

    Value to set for the applicationGuardEnabled property.

Returns:

  • a void



266
267
268
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 266

def application_guard_enabled=(value)
    @application_guard_enabled = value
end

#application_guard_force_auditingObject

Gets the applicationGuardForceAuditing property value. Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.)

Returns:

  • a boolean



273
274
275
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 273

def application_guard_force_auditing
    return @application_guard_force_auditing
end

#application_guard_force_auditing=(value) ⇒ Object

Sets the applicationGuardForceAuditing property value. Force auditing will persist Windows logs and events to meet security/compliance criteria (sample events are user login-logoff, use of privilege rights, software installation, system changes, etc.)

Parameters:

  • value

    Value to set for the applicationGuardForceAuditing property.

Returns:

  • a void



281
282
283
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 281

def application_guard_force_auditing=(value)
    @application_guard_force_auditing = value
end

#bit_locker_disable_warning_for_other_disk_encryptionObject

Gets the bitLockerDisableWarningForOtherDiskEncryption property value. Allows the Admin to disable the warning prompt for other disk encryption on the user machines.

Returns:

  • a boolean



288
289
290
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 288

def bit_locker_disable_warning_for_other_disk_encryption
    return @bit_locker_disable_warning_for_other_disk_encryption
end

#bit_locker_disable_warning_for_other_disk_encryption=(value) ⇒ Object

Sets the bitLockerDisableWarningForOtherDiskEncryption property value. Allows the Admin to disable the warning prompt for other disk encryption on the user machines.

Parameters:

  • value

    Value to set for the bitLockerDisableWarningForOtherDiskEncryption property.

Returns:

  • a void



296
297
298
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 296

def bit_locker_disable_warning_for_other_disk_encryption=(value)
    @bit_locker_disable_warning_for_other_disk_encryption = value
end

#bit_locker_enable_storage_card_encryption_on_mobileObject

Gets the bitLockerEnableStorageCardEncryptionOnMobile property value. Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU.

Returns:

  • a boolean



303
304
305
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 303

def bit_locker_enable_storage_card_encryption_on_mobile
    return @bit_locker_enable_storage_card_encryption_on_mobile
end

#bit_locker_enable_storage_card_encryption_on_mobile=(value) ⇒ Object

Sets the bitLockerEnableStorageCardEncryptionOnMobile property value. Allows the admin to require encryption to be turned on using BitLocker. This policy is valid only for a mobile SKU.

Parameters:

  • value

    Value to set for the bitLockerEnableStorageCardEncryptionOnMobile property.

Returns:

  • a void



311
312
313
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 311

def bit_locker_enable_storage_card_encryption_on_mobile=(value)
    @bit_locker_enable_storage_card_encryption_on_mobile = value
end

#bit_locker_encrypt_deviceObject

Gets the bitLockerEncryptDevice property value. Allows the admin to require encryption to be turned on using BitLocker.

Returns:

  • a boolean



318
319
320
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 318

def bit_locker_encrypt_device
    return @bit_locker_encrypt_device
end

#bit_locker_encrypt_device=(value) ⇒ Object

Sets the bitLockerEncryptDevice property value. Allows the admin to require encryption to be turned on using BitLocker.

Parameters:

  • value

    Value to set for the bitLockerEncryptDevice property.

Returns:

  • a void



326
327
328
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 326

def bit_locker_encrypt_device=(value)
    @bit_locker_encrypt_device = value
end

#bit_locker_removable_drive_policyObject

Gets the bitLockerRemovableDrivePolicy property value. BitLocker Removable Drive Policy.

Returns:

  • a bit_locker_removable_drive_policy



333
334
335
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 333

def bit_locker_removable_drive_policy
    return @bit_locker_removable_drive_policy
end

#bit_locker_removable_drive_policy=(value) ⇒ Object

Sets the bitLockerRemovableDrivePolicy property value. BitLocker Removable Drive Policy.

Parameters:

  • value

    Value to set for the bitLockerRemovableDrivePolicy property.

Returns:

  • a void



341
342
343
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 341

def bit_locker_removable_drive_policy=(value)
    @bit_locker_removable_drive_policy = value
end

#defender_additional_guarded_foldersObject

Gets the defenderAdditionalGuardedFolders property value. List of folder paths to be added to the list of protected folders

Returns:

  • a string



365
366
367
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 365

def defender_additional_guarded_folders
    return @defender_additional_guarded_folders
end

#defender_additional_guarded_folders=(value) ⇒ Object

Sets the defenderAdditionalGuardedFolders property value. List of folder paths to be added to the list of protected folders

Parameters:

  • value

    Value to set for the defenderAdditionalGuardedFolders property.

Returns:

  • a void



373
374
375
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 373

def defender_additional_guarded_folders=(value)
    @defender_additional_guarded_folders = value
end

#defender_attack_surface_reduction_excluded_pathsObject

Gets the defenderAttackSurfaceReductionExcludedPaths property value. List of exe files and folders to be excluded from attack surface reduction rules

Returns:

  • a string



380
381
382
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 380

def defender_attack_surface_reduction_excluded_paths
    return @defender_attack_surface_reduction_excluded_paths
end

#defender_attack_surface_reduction_excluded_paths=(value) ⇒ Object

Sets the defenderAttackSurfaceReductionExcludedPaths property value. List of exe files and folders to be excluded from attack surface reduction rules

Parameters:

  • value

    Value to set for the defenderAttackSurfaceReductionExcludedPaths property.

Returns:

  • a void



388
389
390
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 388

def defender_attack_surface_reduction_excluded_paths=(value)
    @defender_attack_surface_reduction_excluded_paths = value
end

#defender_exploit_protection_xmlObject

Gets the defenderExploitProtectionXml property value. Xml content containing information regarding exploit protection details.

Returns:

  • a base64url



395
396
397
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 395

def defender_exploit_protection_xml
    return @defender_exploit_protection_xml
end

#defender_exploit_protection_xml=(value) ⇒ Object

Sets the defenderExploitProtectionXml property value. Xml content containing information regarding exploit protection details.

Parameters:

  • value

    Value to set for the defenderExploitProtectionXml property.

Returns:

  • a void



403
404
405
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 403

def defender_exploit_protection_xml=(value)
    @defender_exploit_protection_xml = value
end

#defender_exploit_protection_xml_file_nameObject

Gets the defenderExploitProtectionXmlFileName property value. Name of the file from which DefenderExploitProtectionXml was obtained.

Returns:

  • a string



410
411
412
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 410

def defender_exploit_protection_xml_file_name
    return @defender_exploit_protection_xml_file_name
end

#defender_exploit_protection_xml_file_name=(value) ⇒ Object

Sets the defenderExploitProtectionXmlFileName property value. Name of the file from which DefenderExploitProtectionXml was obtained.

Parameters:

  • value

    Value to set for the defenderExploitProtectionXmlFileName property.

Returns:

  • a void



418
419
420
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 418

def defender_exploit_protection_xml_file_name=(value)
    @defender_exploit_protection_xml_file_name = value
end

#defender_guarded_folders_allowed_app_pathsObject

Gets the defenderGuardedFoldersAllowedAppPaths property value. List of paths to exe that are allowed to access protected folders

Returns:

  • a string



425
426
427
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 425

def defender_guarded_folders_allowed_app_paths
    return @defender_guarded_folders_allowed_app_paths
end

#defender_guarded_folders_allowed_app_paths=(value) ⇒ Object

Sets the defenderGuardedFoldersAllowedAppPaths property value. List of paths to exe that are allowed to access protected folders

Parameters:

  • value

    Value to set for the defenderGuardedFoldersAllowedAppPaths property.

Returns:

  • a void



433
434
435
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 433

def defender_guarded_folders_allowed_app_paths=(value)
    @defender_guarded_folders_allowed_app_paths = value
end

#defender_security_center_block_exploit_protection_overrideObject

Gets the defenderSecurityCenterBlockExploitProtectionOverride property value. Indicates whether or not to block user from overriding Exploit Protection settings.

Returns:

  • a boolean



440
441
442
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 440

def defender_security_center_block_exploit_protection_override
    return @defender_security_center_block_exploit_protection_override
end

#defender_security_center_block_exploit_protection_override=(value) ⇒ Object

Sets the defenderSecurityCenterBlockExploitProtectionOverride property value. Indicates whether or not to block user from overriding Exploit Protection settings.

Parameters:

  • value

    Value to set for the defenderSecurityCenterBlockExploitProtectionOverride property.

Returns:

  • a void



448
449
450
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 448

def defender_security_center_block_exploit_protection_override=(value)
    @defender_security_center_block_exploit_protection_override = value
end

#firewall_block_stateful_f_t_pObject

Gets the firewallBlockStatefulFTP property value. Blocks stateful FTP connections to the device

Returns:

  • a boolean



455
456
457
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 455

def firewall_block_stateful_f_t_p
    return @firewall_block_stateful_f_t_p
end

#firewall_block_stateful_f_t_p=(value) ⇒ Object

Sets the firewallBlockStatefulFTP property value. Blocks stateful FTP connections to the device

Parameters:

  • value

    Value to set for the firewallBlockStatefulFTP property.

Returns:

  • a void



463
464
465
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 463

def firewall_block_stateful_f_t_p=(value)
    @firewall_block_stateful_f_t_p = value
end

#firewall_certificate_revocation_list_check_methodObject

Gets the firewallCertificateRevocationListCheckMethod property value. Possible values for firewallCertificateRevocationListCheckMethod

Returns:

  • a firewall_certificate_revocation_list_check_method_type



470
471
472
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 470

def firewall_certificate_revocation_list_check_method
    return @firewall_certificate_revocation_list_check_method
end

#firewall_certificate_revocation_list_check_method=(value) ⇒ Object

Sets the firewallCertificateRevocationListCheckMethod property value. Possible values for firewallCertificateRevocationListCheckMethod

Parameters:

  • value

    Value to set for the firewallCertificateRevocationListCheckMethod property.

Returns:

  • a void



478
479
480
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 478

def firewall_certificate_revocation_list_check_method=(value)
    @firewall_certificate_revocation_list_check_method = value
end

#firewall_i_p_sec_exemptions_allow_d_h_c_pObject

Gets the firewallIPSecExemptionsAllowDHCP property value. Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic

Returns:

  • a boolean



485
486
487
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 485

def firewall_i_p_sec_exemptions_allow_d_h_c_p
    return @firewall_i_p_sec_exemptions_allow_d_h_c_p
end

#firewall_i_p_sec_exemptions_allow_d_h_c_p=(value) ⇒ Object

Sets the firewallIPSecExemptionsAllowDHCP property value. Configures IPSec exemptions to allow both IPv4 and IPv6 DHCP traffic

Parameters:

  • value

    Value to set for the firewallIPSecExemptionsAllowDHCP property.

Returns:

  • a void



493
494
495
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 493

def firewall_i_p_sec_exemptions_allow_d_h_c_p=(value)
    @firewall_i_p_sec_exemptions_allow_d_h_c_p = value
end

#firewall_i_p_sec_exemptions_allow_i_c_m_pObject

Gets the firewallIPSecExemptionsAllowICMP property value. Configures IPSec exemptions to allow ICMP

Returns:

  • a boolean



500
501
502
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 500

def firewall_i_p_sec_exemptions_allow_i_c_m_p
    return @firewall_i_p_sec_exemptions_allow_i_c_m_p
end

#firewall_i_p_sec_exemptions_allow_i_c_m_p=(value) ⇒ Object

Sets the firewallIPSecExemptionsAllowICMP property value. Configures IPSec exemptions to allow ICMP

Parameters:

  • value

    Value to set for the firewallIPSecExemptionsAllowICMP property.

Returns:

  • a void



508
509
510
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 508

def firewall_i_p_sec_exemptions_allow_i_c_m_p=(value)
    @firewall_i_p_sec_exemptions_allow_i_c_m_p = value
end

#firewall_i_p_sec_exemptions_allow_neighbor_discoveryObject

Gets the firewallIPSecExemptionsAllowNeighborDiscovery property value. Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes

Returns:

  • a boolean



515
516
517
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 515

def firewall_i_p_sec_exemptions_allow_neighbor_discovery
    return @firewall_i_p_sec_exemptions_allow_neighbor_discovery
end

#firewall_i_p_sec_exemptions_allow_neighbor_discovery=(value) ⇒ Object

Sets the firewallIPSecExemptionsAllowNeighborDiscovery property value. Configures IPSec exemptions to allow neighbor discovery IPv6 ICMP type-codes

Parameters:

  • value

    Value to set for the firewallIPSecExemptionsAllowNeighborDiscovery property.

Returns:

  • a void



523
524
525
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 523

def firewall_i_p_sec_exemptions_allow_neighbor_discovery=(value)
    @firewall_i_p_sec_exemptions_allow_neighbor_discovery = value
end

#firewall_i_p_sec_exemptions_allow_router_discoveryObject

Gets the firewallIPSecExemptionsAllowRouterDiscovery property value. Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes

Returns:

  • a boolean



530
531
532
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 530

def firewall_i_p_sec_exemptions_allow_router_discovery
    return @firewall_i_p_sec_exemptions_allow_router_discovery
end

#firewall_i_p_sec_exemptions_allow_router_discovery=(value) ⇒ Object

Sets the firewallIPSecExemptionsAllowRouterDiscovery property value. Configures IPSec exemptions to allow router discovery IPv6 ICMP type-codes

Parameters:

  • value

    Value to set for the firewallIPSecExemptionsAllowRouterDiscovery property.

Returns:

  • a void



538
539
540
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 538

def firewall_i_p_sec_exemptions_allow_router_discovery=(value)
    @firewall_i_p_sec_exemptions_allow_router_discovery = value
end

#firewall_idle_timeout_for_security_association_in_secondsObject

Gets the firewallIdleTimeoutForSecurityAssociationInSeconds property value. Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600

Returns:

  • a integer



545
546
547
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 545

def firewall_idle_timeout_for_security_association_in_seconds
    return @firewall_idle_timeout_for_security_association_in_seconds
end

#firewall_idle_timeout_for_security_association_in_seconds=(value) ⇒ Object

Sets the firewallIdleTimeoutForSecurityAssociationInSeconds property value. Configures the idle timeout for security associations, in seconds, from 300 to 3600 inclusive. This is the period after which security associations will expire and be deleted. Valid values 300 to 3600

Parameters:

  • value

    Value to set for the firewallIdleTimeoutForSecurityAssociationInSeconds property.

Returns:

  • a void



553
554
555
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 553

def firewall_idle_timeout_for_security_association_in_seconds=(value)
    @firewall_idle_timeout_for_security_association_in_seconds = value
end

#firewall_merge_keying_module_settingsObject

Gets the firewallMergeKeyingModuleSettings property value. If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set

Returns:

  • a boolean



560
561
562
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 560

def firewall_merge_keying_module_settings
    return @firewall_merge_keying_module_settings
end

#firewall_merge_keying_module_settings=(value) ⇒ Object

Sets the firewallMergeKeyingModuleSettings property value. If an authentication set is not fully supported by a keying module, direct the module to ignore only unsupported authentication suites rather than the entire set

Parameters:

  • value

    Value to set for the firewallMergeKeyingModuleSettings property.

Returns:

  • a void



568
569
570
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 568

def firewall_merge_keying_module_settings=(value)
    @firewall_merge_keying_module_settings = value
end

#firewall_packet_queueing_methodObject

Gets the firewallPacketQueueingMethod property value. Possible values for firewallPacketQueueingMethod

Returns:

  • a firewall_packet_queueing_method_type



575
576
577
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 575

def firewall_packet_queueing_method
    return @firewall_packet_queueing_method
end

#firewall_packet_queueing_method=(value) ⇒ Object

Sets the firewallPacketQueueingMethod property value. Possible values for firewallPacketQueueingMethod

Parameters:

  • value

    Value to set for the firewallPacketQueueingMethod property.

Returns:

  • a void



583
584
585
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 583

def firewall_packet_queueing_method=(value)
    @firewall_packet_queueing_method = value
end

#firewall_pre_shared_key_encoding_methodObject

Gets the firewallPreSharedKeyEncodingMethod property value. Possible values for firewallPreSharedKeyEncodingMethod

Returns:

  • a firewall_pre_shared_key_encoding_method_type



590
591
592
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 590

def firewall_pre_shared_key_encoding_method
    return @firewall_pre_shared_key_encoding_method
end

#firewall_pre_shared_key_encoding_method=(value) ⇒ Object

Sets the firewallPreSharedKeyEncodingMethod property value. Possible values for firewallPreSharedKeyEncodingMethod

Parameters:

  • value

    Value to set for the firewallPreSharedKeyEncodingMethod property.

Returns:

  • a void



598
599
600
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 598

def firewall_pre_shared_key_encoding_method=(value)
    @firewall_pre_shared_key_encoding_method = value
end

#firewall_profile_domainObject

Gets the firewallProfileDomain property value. Configures the firewall profile settings for domain networks

Returns:

  • a windows_firewall_network_profile



605
606
607
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 605

def firewall_profile_domain
    return @firewall_profile_domain
end

#firewall_profile_domain=(value) ⇒ Object

Sets the firewallProfileDomain property value. Configures the firewall profile settings for domain networks

Parameters:

  • value

    Value to set for the firewallProfileDomain property.

Returns:

  • a void



613
614
615
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 613

def firewall_profile_domain=(value)
    @firewall_profile_domain = value
end

#firewall_profile_privateObject

Gets the firewallProfilePrivate property value. Configures the firewall profile settings for private networks

Returns:

  • a windows_firewall_network_profile



620
621
622
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 620

def firewall_profile_private
    return @firewall_profile_private
end

#firewall_profile_private=(value) ⇒ Object

Sets the firewallProfilePrivate property value. Configures the firewall profile settings for private networks

Parameters:

  • value

    Value to set for the firewallProfilePrivate property.

Returns:

  • a void



628
629
630
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 628

def firewall_profile_private=(value)
    @firewall_profile_private = value
end

#firewall_profile_publicObject

Gets the firewallProfilePublic property value. Configures the firewall profile settings for public networks

Returns:

  • a windows_firewall_network_profile



635
636
637
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 635

def firewall_profile_public
    return @firewall_profile_public
end

#firewall_profile_public=(value) ⇒ Object

Sets the firewallProfilePublic property value. Configures the firewall profile settings for public networks

Parameters:

  • value

    Value to set for the firewallProfilePublic property.

Returns:

  • a void



643
644
645
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 643

def firewall_profile_public=(value)
    @firewall_profile_public = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 650

def get_field_deserializers()
    return super.merge({
        "appLockerApplicationControl" => lambda {|n| @app_locker_application_control = n.get_enum_value(MicrosoftGraph::Models::AppLockerApplicationControlType) },
        "applicationGuardAllowPersistence" => lambda {|n| @application_guard_allow_persistence = n.get_boolean_value() },
        "applicationGuardAllowPrintToLocalPrinters" => lambda {|n| @application_guard_allow_print_to_local_printers = n.get_boolean_value() },
        "applicationGuardAllowPrintToNetworkPrinters" => lambda {|n| @application_guard_allow_print_to_network_printers = n.get_boolean_value() },
        "applicationGuardAllowPrintToPDF" => lambda {|n| @application_guard_allow_print_to_p_d_f = n.get_boolean_value() },
        "applicationGuardAllowPrintToXPS" => lambda {|n| @application_guard_allow_print_to_x_p_s = n.get_boolean_value() },
        "applicationGuardBlockClipboardSharing" => lambda {|n| @application_guard_block_clipboard_sharing = n.get_enum_value(MicrosoftGraph::Models::ApplicationGuardBlockClipboardSharingType) },
        "applicationGuardBlockFileTransfer" => lambda {|n| @application_guard_block_file_transfer = n.get_enum_value(MicrosoftGraph::Models::ApplicationGuardBlockFileTransferType) },
        "applicationGuardBlockNonEnterpriseContent" => lambda {|n| @application_guard_block_non_enterprise_content = n.get_boolean_value() },
        "applicationGuardEnabled" => lambda {|n| @application_guard_enabled = n.get_boolean_value() },
        "applicationGuardForceAuditing" => lambda {|n| @application_guard_force_auditing = n.get_boolean_value() },
        "bitLockerDisableWarningForOtherDiskEncryption" => lambda {|n| @bit_locker_disable_warning_for_other_disk_encryption = n.get_boolean_value() },
        "bitLockerEnableStorageCardEncryptionOnMobile" => lambda {|n| @bit_locker_enable_storage_card_encryption_on_mobile = n.get_boolean_value() },
        "bitLockerEncryptDevice" => lambda {|n| @bit_locker_encrypt_device = n.get_boolean_value() },
        "bitLockerRemovableDrivePolicy" => lambda {|n| @bit_locker_removable_drive_policy = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::BitLockerRemovableDrivePolicy.create_from_discriminator_value(pn) }) },
        "defenderAdditionalGuardedFolders" => lambda {|n| @defender_additional_guarded_folders = n.get_collection_of_primitive_values(String) },
        "defenderAttackSurfaceReductionExcludedPaths" => lambda {|n| @defender_attack_surface_reduction_excluded_paths = n.get_collection_of_primitive_values(String) },
        "defenderExploitProtectionXml" => lambda {|n| @defender_exploit_protection_xml = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
        "defenderExploitProtectionXmlFileName" => lambda {|n| @defender_exploit_protection_xml_file_name = n.get_string_value() },
        "defenderGuardedFoldersAllowedAppPaths" => lambda {|n| @defender_guarded_folders_allowed_app_paths = n.get_collection_of_primitive_values(String) },
        "defenderSecurityCenterBlockExploitProtectionOverride" => lambda {|n| @defender_security_center_block_exploit_protection_override = n.get_boolean_value() },
        "firewallBlockStatefulFTP" => lambda {|n| @firewall_block_stateful_f_t_p = n.get_boolean_value() },
        "firewallCertificateRevocationListCheckMethod" => lambda {|n| @firewall_certificate_revocation_list_check_method = n.get_enum_value(MicrosoftGraph::Models::FirewallCertificateRevocationListCheckMethodType) },
        "firewallIPSecExemptionsAllowDHCP" => lambda {|n| @firewall_i_p_sec_exemptions_allow_d_h_c_p = n.get_boolean_value() },
        "firewallIPSecExemptionsAllowICMP" => lambda {|n| @firewall_i_p_sec_exemptions_allow_i_c_m_p = n.get_boolean_value() },
        "firewallIPSecExemptionsAllowNeighborDiscovery" => lambda {|n| @firewall_i_p_sec_exemptions_allow_neighbor_discovery = n.get_boolean_value() },
        "firewallIPSecExemptionsAllowRouterDiscovery" => lambda {|n| @firewall_i_p_sec_exemptions_allow_router_discovery = n.get_boolean_value() },
        "firewallIdleTimeoutForSecurityAssociationInSeconds" => lambda {|n| @firewall_idle_timeout_for_security_association_in_seconds = n.get_number_value() },
        "firewallMergeKeyingModuleSettings" => lambda {|n| @firewall_merge_keying_module_settings = n.get_boolean_value() },
        "firewallPacketQueueingMethod" => lambda {|n| @firewall_packet_queueing_method = n.get_enum_value(MicrosoftGraph::Models::FirewallPacketQueueingMethodType) },
        "firewallPreSharedKeyEncodingMethod" => lambda {|n| @firewall_pre_shared_key_encoding_method = n.get_enum_value(MicrosoftGraph::Models::FirewallPreSharedKeyEncodingMethodType) },
        "firewallProfileDomain" => lambda {|n| @firewall_profile_domain = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsFirewallNetworkProfile.create_from_discriminator_value(pn) }) },
        "firewallProfilePrivate" => lambda {|n| @firewall_profile_private = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsFirewallNetworkProfile.create_from_discriminator_value(pn) }) },
        "firewallProfilePublic" => lambda {|n| @firewall_profile_public = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsFirewallNetworkProfile.create_from_discriminator_value(pn) }) },
        "smartScreenBlockOverrideForFiles" => lambda {|n| @smart_screen_block_override_for_files = n.get_boolean_value() },
        "smartScreenEnableInShell" => lambda {|n| @smart_screen_enable_in_shell = n.get_boolean_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)


695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 695

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_enum_value("appLockerApplicationControl", @app_locker_application_control)
    writer.write_boolean_value("applicationGuardAllowPersistence", @application_guard_allow_persistence)
    writer.write_boolean_value("applicationGuardAllowPrintToLocalPrinters", @application_guard_allow_print_to_local_printers)
    writer.write_boolean_value("applicationGuardAllowPrintToNetworkPrinters", @application_guard_allow_print_to_network_printers)
    writer.write_boolean_value("applicationGuardAllowPrintToPDF", @application_guard_allow_print_to_p_d_f)
    writer.write_boolean_value("applicationGuardAllowPrintToXPS", @application_guard_allow_print_to_x_p_s)
    writer.write_enum_value("applicationGuardBlockClipboardSharing", @application_guard_block_clipboard_sharing)
    writer.write_enum_value("applicationGuardBlockFileTransfer", @application_guard_block_file_transfer)
    writer.write_boolean_value("applicationGuardBlockNonEnterpriseContent", @application_guard_block_non_enterprise_content)
    writer.write_boolean_value("applicationGuardEnabled", @application_guard_enabled)
    writer.write_boolean_value("applicationGuardForceAuditing", @application_guard_force_auditing)
    writer.write_boolean_value("bitLockerDisableWarningForOtherDiskEncryption", @bit_locker_disable_warning_for_other_disk_encryption)
    writer.write_boolean_value("bitLockerEnableStorageCardEncryptionOnMobile", @bit_locker_enable_storage_card_encryption_on_mobile)
    writer.write_boolean_value("bitLockerEncryptDevice", @bit_locker_encrypt_device)
    writer.write_object_value("bitLockerRemovableDrivePolicy", @bit_locker_removable_drive_policy)
    writer.write_collection_of_primitive_values("defenderAdditionalGuardedFolders", @defender_additional_guarded_folders)
    writer.write_collection_of_primitive_values("defenderAttackSurfaceReductionExcludedPaths", @defender_attack_surface_reduction_excluded_paths)
    writer.write_object_value("defenderExploitProtectionXml", @defender_exploit_protection_xml)
    writer.write_string_value("defenderExploitProtectionXmlFileName", @defender_exploit_protection_xml_file_name)
    writer.write_collection_of_primitive_values("defenderGuardedFoldersAllowedAppPaths", @defender_guarded_folders_allowed_app_paths)
    writer.write_boolean_value("defenderSecurityCenterBlockExploitProtectionOverride", @defender_security_center_block_exploit_protection_override)
    writer.write_boolean_value("firewallBlockStatefulFTP", @firewall_block_stateful_f_t_p)
    writer.write_enum_value("firewallCertificateRevocationListCheckMethod", @firewall_certificate_revocation_list_check_method)
    writer.write_boolean_value("firewallIPSecExemptionsAllowDHCP", @firewall_i_p_sec_exemptions_allow_d_h_c_p)
    writer.write_boolean_value("firewallIPSecExemptionsAllowICMP", @firewall_i_p_sec_exemptions_allow_i_c_m_p)
    writer.write_boolean_value("firewallIPSecExemptionsAllowNeighborDiscovery", @firewall_i_p_sec_exemptions_allow_neighbor_discovery)
    writer.write_boolean_value("firewallIPSecExemptionsAllowRouterDiscovery", @firewall_i_p_sec_exemptions_allow_router_discovery)
    writer.write_number_value("firewallIdleTimeoutForSecurityAssociationInSeconds", @firewall_idle_timeout_for_security_association_in_seconds)
    writer.write_boolean_value("firewallMergeKeyingModuleSettings", @firewall_merge_keying_module_settings)
    writer.write_enum_value("firewallPacketQueueingMethod", @firewall_packet_queueing_method)
    writer.write_enum_value("firewallPreSharedKeyEncodingMethod", @firewall_pre_shared_key_encoding_method)
    writer.write_object_value("firewallProfileDomain", @firewall_profile_domain)
    writer.write_object_value("firewallProfilePrivate", @firewall_profile_private)
    writer.write_object_value("firewallProfilePublic", @firewall_profile_public)
    writer.write_boolean_value("smartScreenBlockOverrideForFiles", @smart_screen_block_override_for_files)
    writer.write_boolean_value("smartScreenEnableInShell", @smart_screen_enable_in_shell)
end

#smart_screen_block_override_for_filesObject

Gets the smartScreenBlockOverrideForFiles property value. Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files.

Returns:

  • a boolean



739
740
741
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 739

def smart_screen_block_override_for_files
    return @smart_screen_block_override_for_files
end

#smart_screen_block_override_for_files=(value) ⇒ Object

Sets the smartScreenBlockOverrideForFiles property value. Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files.

Parameters:

  • value

    Value to set for the smartScreenBlockOverrideForFiles property.

Returns:

  • a void



747
748
749
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 747

def smart_screen_block_override_for_files=(value)
    @smart_screen_block_override_for_files = value
end

#smart_screen_enable_in_shellObject

Gets the smartScreenEnableInShell property value. Allows IT Admins to configure SmartScreen for Windows.

Returns:

  • a boolean



754
755
756
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 754

def smart_screen_enable_in_shell
    return @smart_screen_enable_in_shell
end

#smart_screen_enable_in_shell=(value) ⇒ Object

Sets the smartScreenEnableInShell property value. Allows IT Admins to configure SmartScreen for Windows.

Parameters:

  • value

    Value to set for the smartScreenEnableInShell property.

Returns:

  • a void



762
763
764
# File 'lib/models/windows10_endpoint_protection_configuration.rb', line 762

def smart_screen_enable_in_shell=(value)
    @smart_screen_enable_in_shell = value
end