Class: MicrosoftGraph::Models::WindowsInformationProtection

Inherits:
ManagedAppPolicy show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/windows_information_protection.rb

Overview

Policy for Windows information protection to configure detailed management settings

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ManagedAppPolicy

#created_date_time, #created_date_time=, #description, #description=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #version, #version=

Methods inherited from Entity

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

Constructor Details

#initializeObject

Instantiates a new windowsInformationProtection and sets the default values.



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

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

Raises:

  • (StandardError)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/models/windows_information_protection.rb', line 129

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    mapping_value_node = parse_node.get_child_node("@odata.type")
    unless mapping_value_node.nil? then
        mapping_value = mapping_value_node.get_string_value
        case mapping_value
            when "#microsoft.graph.mdmWindowsInformationProtectionPolicy"
                return MdmWindowsInformationProtectionPolicy.new
            when "#microsoft.graph.windowsInformationProtectionPolicy"
                return WindowsInformationProtectionPolicy.new
        end
    end
    return WindowsInformationProtection.new
end

Instance Method Details

#assignmentsObject

Gets the assignments property value. Navigation property to list of security groups targeted for policy.

Returns:

  • a targeted_managed_app_policy_assignment



90
91
92
# File 'lib/models/windows_information_protection.rb', line 90

def assignments
    return @assignments
end

#assignments=(value) ⇒ Object

Sets the assignments property value. Navigation property to list of security groups targeted for policy.

Parameters:

  • value

    Value to set for the assignments property.

Returns:

  • a void



98
99
100
# File 'lib/models/windows_information_protection.rb', line 98

def assignments=(value)
    @assignments = value
end

#azure_rights_management_services_allowedObject

Gets the azureRightsManagementServicesAllowed property value. Specifies whether to allow Azure RMS encryption for WIP

Returns:

  • a boolean



105
106
107
# File 'lib/models/windows_information_protection.rb', line 105

def azure_rights_management_services_allowed
    return @azure_rights_management_services_allowed
end

#azure_rights_management_services_allowed=(value) ⇒ Object

Sets the azureRightsManagementServicesAllowed property value. Specifies whether to allow Azure RMS encryption for WIP

Parameters:

  • value

    Value to set for the azureRightsManagementServicesAllowed property.

Returns:

  • a void



113
114
115
# File 'lib/models/windows_information_protection.rb', line 113

def azure_rights_management_services_allowed=(value)
    @azure_rights_management_services_allowed = value
end

#data_recovery_certificateObject

Gets the dataRecoveryCertificate property value. Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS)

Returns:

  • a windows_information_protection_data_recovery_certificate



147
148
149
# File 'lib/models/windows_information_protection.rb', line 147

def data_recovery_certificate
    return @data_recovery_certificate
end

#data_recovery_certificate=(value) ⇒ Object

Sets the dataRecoveryCertificate property value. Specifies a recovery certificate that can be used for data recovery of encrypted files. This is the same as the data recovery agent(DRA) certificate for encrypting file system(EFS)

Parameters:

  • value

    Value to set for the dataRecoveryCertificate property.

Returns:

  • a void



155
156
157
# File 'lib/models/windows_information_protection.rb', line 155

def data_recovery_certificate=(value)
    @data_recovery_certificate = value
end

#enforcement_levelObject

Gets the enforcementLevel property value. Possible values for WIP Protection enforcement levels

Returns:

  • a windows_information_protection_enforcement_level



162
163
164
# File 'lib/models/windows_information_protection.rb', line 162

def enforcement_level
    return @enforcement_level
end

#enforcement_level=(value) ⇒ Object

Sets the enforcementLevel property value. Possible values for WIP Protection enforcement levels

Parameters:

  • value

    Value to set for the enforcementLevel property.

Returns:

  • a void



170
171
172
# File 'lib/models/windows_information_protection.rb', line 170

def enforcement_level=(value)
    @enforcement_level = value
end

#enterprise_domainObject

Gets the enterpriseDomain property value. Primary enterprise domain

Returns:

  • a string



177
178
179
# File 'lib/models/windows_information_protection.rb', line 177

def enterprise_domain
    return @enterprise_domain
end

#enterprise_domain=(value) ⇒ Object

Sets the enterpriseDomain property value. Primary enterprise domain

Parameters:

  • value

    Value to set for the enterpriseDomain property.

Returns:

  • a void



185
186
187
# File 'lib/models/windows_information_protection.rb', line 185

def enterprise_domain=(value)
    @enterprise_domain = value
end

#enterprise_i_p_rangesObject

Gets the enterpriseIPRanges property value. Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to

Returns:

  • a windows_information_protection_i_p_range_collection



192
193
194
# File 'lib/models/windows_information_protection.rb', line 192

def enterprise_i_p_ranges
    return @enterprise_i_p_ranges
end

#enterprise_i_p_ranges=(value) ⇒ Object

Sets the enterpriseIPRanges property value. Sets the enterprise IP ranges that define the computers in the enterprise network. Data that comes from those computers will be considered part of the enterprise and protected. These locations will be considered a safe destination for enterprise data to be shared to

Parameters:

  • value

    Value to set for the enterpriseIPRanges property.

Returns:

  • a void



200
201
202
# File 'lib/models/windows_information_protection.rb', line 200

def enterprise_i_p_ranges=(value)
    @enterprise_i_p_ranges = value
end

#enterprise_i_p_ranges_are_authoritativeObject

Gets the enterpriseIPRangesAreAuthoritative property value. Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false

Returns:

  • a boolean



207
208
209
# File 'lib/models/windows_information_protection.rb', line 207

def enterprise_i_p_ranges_are_authoritative
    return @enterprise_i_p_ranges_are_authoritative
end

#enterprise_i_p_ranges_are_authoritative=(value) ⇒ Object

Sets the enterpriseIPRangesAreAuthoritative property value. Boolean value that tells the client to accept the configured list and not to use heuristics to attempt to find other subnets. Default is false

Parameters:

  • value

    Value to set for the enterpriseIPRangesAreAuthoritative property.

Returns:

  • a void



215
216
217
# File 'lib/models/windows_information_protection.rb', line 215

def enterprise_i_p_ranges_are_authoritative=(value)
    @enterprise_i_p_ranges_are_authoritative = value
end

#enterprise_internal_proxy_serversObject

Gets the enterpriseInternalProxyServers property value. This is the comma-separated list of internal proxy servers. For example, ‘157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59’. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies

Returns:

  • a windows_information_protection_resource_collection



222
223
224
# File 'lib/models/windows_information_protection.rb', line 222

def enterprise_internal_proxy_servers
    return @enterprise_internal_proxy_servers
end

#enterprise_internal_proxy_servers=(value) ⇒ Object

Sets the enterpriseInternalProxyServers property value. This is the comma-separated list of internal proxy servers. For example, ‘157.54.14.28, 157.54.11.118, 10.202.14.167, 157.53.14.163, 157.69.210.59’. These proxies have been configured by the admin to connect to specific resources on the Internet. They are considered to be enterprise network locations. The proxies are only leveraged in configuring the EnterpriseProxiedDomains policy to force traffic to the matched domains through these proxies

Parameters:

  • value

    Value to set for the enterpriseInternalProxyServers property.

Returns:

  • a void



230
231
232
# File 'lib/models/windows_information_protection.rb', line 230

def enterprise_internal_proxy_servers=(value)
    @enterprise_internal_proxy_servers = value
end

#enterprise_network_domain_namesObject

Gets the enterpriseNetworkDomainNames property value. This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to

Returns:

  • a windows_information_protection_resource_collection



237
238
239
# File 'lib/models/windows_information_protection.rb', line 237

def enterprise_network_domain_names
    return @enterprise_network_domain_names
end

#enterprise_network_domain_names=(value) ⇒ Object

Sets the enterpriseNetworkDomainNames property value. This is the list of domains that comprise the boundaries of the enterprise. Data from one of these domains that is sent to a device will be considered enterprise data and protected These locations will be considered a safe destination for enterprise data to be shared to

Parameters:

  • value

    Value to set for the enterpriseNetworkDomainNames property.

Returns:

  • a void



245
246
247
# File 'lib/models/windows_information_protection.rb', line 245

def enterprise_network_domain_names=(value)
    @enterprise_network_domain_names = value
end

#enterprise_protected_domain_namesObject

Gets the enterpriseProtectedDomainNames property value. List of enterprise domains to be protected

Returns:

  • a windows_information_protection_resource_collection



252
253
254
# File 'lib/models/windows_information_protection.rb', line 252

def enterprise_protected_domain_names
    return @enterprise_protected_domain_names
end

#enterprise_protected_domain_names=(value) ⇒ Object

Sets the enterpriseProtectedDomainNames property value. List of enterprise domains to be protected

Parameters:

  • value

    Value to set for the enterpriseProtectedDomainNames property.

Returns:

  • a void



260
261
262
# File 'lib/models/windows_information_protection.rb', line 260

def enterprise_protected_domain_names=(value)
    @enterprise_protected_domain_names = value
end

#enterprise_proxied_domainsObject

Gets the enterpriseProxiedDomains property value. Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy

Returns:

  • a windows_information_protection_proxied_domain_collection



267
268
269
# File 'lib/models/windows_information_protection.rb', line 267

def enterprise_proxied_domains
    return @enterprise_proxied_domains
end

#enterprise_proxied_domains=(value) ⇒ Object

Sets the enterpriseProxiedDomains property value. Contains a list of Enterprise resource domains hosted in the cloud that need to be protected. Connections to these resources are considered enterprise data. If a proxy is paired with a cloud resource, traffic to the cloud resource will be routed through the enterprise network via the denoted proxy server (on Port 80). A proxy server used for this purpose must also be configured using the EnterpriseInternalProxyServers policy

Parameters:

  • value

    Value to set for the enterpriseProxiedDomains property.

Returns:

  • a void



275
276
277
# File 'lib/models/windows_information_protection.rb', line 275

def enterprise_proxied_domains=(value)
    @enterprise_proxied_domains = value
end

#enterprise_proxy_serversObject

Gets the enterpriseProxyServers property value. This is a list of proxy servers. Any server not on this list is considered non-enterprise

Returns:

  • a windows_information_protection_resource_collection



282
283
284
# File 'lib/models/windows_information_protection.rb', line 282

def enterprise_proxy_servers
    return @enterprise_proxy_servers
end

#enterprise_proxy_servers=(value) ⇒ Object

Sets the enterpriseProxyServers property value. This is a list of proxy servers. Any server not on this list is considered non-enterprise

Parameters:

  • value

    Value to set for the enterpriseProxyServers property.

Returns:

  • a void



290
291
292
# File 'lib/models/windows_information_protection.rb', line 290

def enterprise_proxy_servers=(value)
    @enterprise_proxy_servers = value
end

#enterprise_proxy_servers_are_authoritativeObject

Gets the enterpriseProxyServersAreAuthoritative property value. Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false

Returns:

  • a boolean



297
298
299
# File 'lib/models/windows_information_protection.rb', line 297

def enterprise_proxy_servers_are_authoritative
    return @enterprise_proxy_servers_are_authoritative
end

#enterprise_proxy_servers_are_authoritative=(value) ⇒ Object

Sets the enterpriseProxyServersAreAuthoritative property value. Boolean value that tells the client to accept the configured list of proxies and not try to detect other work proxies. Default is false

Parameters:

  • value

    Value to set for the enterpriseProxyServersAreAuthoritative property.

Returns:

  • a void



305
306
307
# File 'lib/models/windows_information_protection.rb', line 305

def enterprise_proxy_servers_are_authoritative=(value)
    @enterprise_proxy_servers_are_authoritative = value
end

#exempt_app_locker_filesObject

Gets the exemptAppLockerFiles property value. Another way to input exempt apps through xml files

Returns:

  • a windows_information_protection_app_locker_file



312
313
314
# File 'lib/models/windows_information_protection.rb', line 312

def exempt_app_locker_files
    return @exempt_app_locker_files
end

#exempt_app_locker_files=(value) ⇒ Object

Sets the exemptAppLockerFiles property value. Another way to input exempt apps through xml files

Parameters:

  • value

    Value to set for the exemptAppLockerFiles property.

Returns:

  • a void



320
321
322
# File 'lib/models/windows_information_protection.rb', line 320

def exempt_app_locker_files=(value)
    @exempt_app_locker_files = value
end

#exempt_appsObject

Gets the exemptApps property value. Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data.

Returns:

  • a windows_information_protection_app



327
328
329
# File 'lib/models/windows_information_protection.rb', line 327

def exempt_apps
    return @exempt_apps
end

#exempt_apps=(value) ⇒ Object

Sets the exemptApps property value. Exempt applications can also access enterprise data, but the data handled by those applications are not protected. This is because some critical enterprise applications may have compatibility problems with encrypted data.

Parameters:

  • value

    Value to set for the exemptApps property.

Returns:

  • a void



335
336
337
# File 'lib/models/windows_information_protection.rb', line 335

def exempt_apps=(value)
    @exempt_apps = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# File 'lib/models/windows_information_protection.rb', line 342

def get_field_deserializers()
    return super.merge({
        "assignments" => lambda {|n| @assignments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TargetedManagedAppPolicyAssignment.create_from_discriminator_value(pn) }) },
        "azureRightsManagementServicesAllowed" => lambda {|n| @azure_rights_management_services_allowed = n.get_boolean_value() },
        "dataRecoveryCertificate" => lambda {|n| @data_recovery_certificate = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionDataRecoveryCertificate.create_from_discriminator_value(pn) }) },
        "enforcementLevel" => lambda {|n| @enforcement_level = n.get_enum_value(MicrosoftGraph::Models::WindowsInformationProtectionEnforcementLevel) },
        "enterpriseDomain" => lambda {|n| @enterprise_domain = n.get_string_value() },
        "enterpriseIPRanges" => lambda {|n| @enterprise_i_p_ranges = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionIPRangeCollection.create_from_discriminator_value(pn) }) },
        "enterpriseIPRangesAreAuthoritative" => lambda {|n| @enterprise_i_p_ranges_are_authoritative = n.get_boolean_value() },
        "enterpriseInternalProxyServers" => lambda {|n| @enterprise_internal_proxy_servers = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionResourceCollection.create_from_discriminator_value(pn) }) },
        "enterpriseNetworkDomainNames" => lambda {|n| @enterprise_network_domain_names = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionResourceCollection.create_from_discriminator_value(pn) }) },
        "enterpriseProtectedDomainNames" => lambda {|n| @enterprise_protected_domain_names = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionResourceCollection.create_from_discriminator_value(pn) }) },
        "enterpriseProxiedDomains" => lambda {|n| @enterprise_proxied_domains = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionProxiedDomainCollection.create_from_discriminator_value(pn) }) },
        "enterpriseProxyServers" => lambda {|n| @enterprise_proxy_servers = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionResourceCollection.create_from_discriminator_value(pn) }) },
        "enterpriseProxyServersAreAuthoritative" => lambda {|n| @enterprise_proxy_servers_are_authoritative = n.get_boolean_value() },
        "exemptAppLockerFiles" => lambda {|n| @exempt_app_locker_files = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionAppLockerFile.create_from_discriminator_value(pn) }) },
        "exemptApps" => lambda {|n| @exempt_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionApp.create_from_discriminator_value(pn) }) },
        "iconsVisible" => lambda {|n| @icons_visible = n.get_boolean_value() },
        "indexingEncryptedStoresOrItemsBlocked" => lambda {|n| @indexing_encrypted_stores_or_items_blocked = n.get_boolean_value() },
        "isAssigned" => lambda {|n| @is_assigned = n.get_boolean_value() },
        "neutralDomainResources" => lambda {|n| @neutral_domain_resources = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionResourceCollection.create_from_discriminator_value(pn) }) },
        "protectedAppLockerFiles" => lambda {|n| @protected_app_locker_files = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionAppLockerFile.create_from_discriminator_value(pn) }) },
        "protectedApps" => lambda {|n| @protected_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionApp.create_from_discriminator_value(pn) }) },
        "protectionUnderLockConfigRequired" => lambda {|n| @protection_under_lock_config_required = n.get_boolean_value() },
        "revokeOnUnenrollDisabled" => lambda {|n| @revoke_on_unenroll_disabled = n.get_boolean_value() },
        "rightsManagementServicesTemplateId" => lambda {|n| @rights_management_services_template_id = n.get_guid_value() },
        "smbAutoEncryptedFileExtensions" => lambda {|n| @smb_auto_encrypted_file_extensions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsInformationProtectionResourceCollection.create_from_discriminator_value(pn) }) },
    })
end

#icons_visibleObject

Gets the iconsVisible property value. Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app

Returns:

  • a boolean



375
376
377
# File 'lib/models/windows_information_protection.rb', line 375

def icons_visible
    return @icons_visible
end

#icons_visible=(value) ⇒ Object

Sets the iconsVisible property value. Determines whether overlays are added to icons for WIP protected files in Explorer and enterprise only app tiles in the Start menu. Starting in Windows 10, version 1703 this setting also configures the visibility of the WIP icon in the title bar of a WIP-protected app

Parameters:

  • value

    Value to set for the iconsVisible property.

Returns:

  • a void



383
384
385
# File 'lib/models/windows_information_protection.rb', line 383

def icons_visible=(value)
    @icons_visible = value
end

#indexing_encrypted_stores_or_items_blockedObject

Gets the indexingEncryptedStoresOrItemsBlocked property value. This switch is for the Windows Search Indexer, to allow or disallow indexing of items

Returns:

  • a boolean



390
391
392
# File 'lib/models/windows_information_protection.rb', line 390

def indexing_encrypted_stores_or_items_blocked
    return @indexing_encrypted_stores_or_items_blocked
end

#indexing_encrypted_stores_or_items_blocked=(value) ⇒ Object

Sets the indexingEncryptedStoresOrItemsBlocked property value. This switch is for the Windows Search Indexer, to allow or disallow indexing of items

Parameters:

  • value

    Value to set for the indexingEncryptedStoresOrItemsBlocked property.

Returns:

  • a void



398
399
400
# File 'lib/models/windows_information_protection.rb', line 398

def indexing_encrypted_stores_or_items_blocked=(value)
    @indexing_encrypted_stores_or_items_blocked = value
end

#is_assignedObject

Gets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.

Returns:

  • a boolean



405
406
407
# File 'lib/models/windows_information_protection.rb', line 405

def is_assigned
    return @is_assigned
end

#is_assigned=(value) ⇒ Object

Sets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.

Parameters:

  • value

    Value to set for the isAssigned property.

Returns:

  • a void



413
414
415
# File 'lib/models/windows_information_protection.rb', line 413

def is_assigned=(value)
    @is_assigned = value
end

#neutral_domain_resourcesObject

Gets the neutralDomainResources property value. List of domain names that can used for work or personal resource

Returns:

  • a windows_information_protection_resource_collection



420
421
422
# File 'lib/models/windows_information_protection.rb', line 420

def neutral_domain_resources
    return @neutral_domain_resources
end

#neutral_domain_resources=(value) ⇒ Object

Sets the neutralDomainResources property value. List of domain names that can used for work or personal resource

Parameters:

  • value

    Value to set for the neutralDomainResources property.

Returns:

  • a void



428
429
430
# File 'lib/models/windows_information_protection.rb', line 428

def neutral_domain_resources=(value)
    @neutral_domain_resources = value
end

#protected_app_locker_filesObject

Gets the protectedAppLockerFiles property value. Another way to input protected apps through xml files

Returns:

  • a windows_information_protection_app_locker_file



435
436
437
# File 'lib/models/windows_information_protection.rb', line 435

def protected_app_locker_files
    return @protected_app_locker_files
end

#protected_app_locker_files=(value) ⇒ Object

Sets the protectedAppLockerFiles property value. Another way to input protected apps through xml files

Parameters:

  • value

    Value to set for the protectedAppLockerFiles property.

Returns:

  • a void



443
444
445
# File 'lib/models/windows_information_protection.rb', line 443

def protected_app_locker_files=(value)
    @protected_app_locker_files = value
end

#protected_appsObject

Gets the protectedApps property value. Protected applications can access enterprise data and the data handled by those applications are protected with encryption

Returns:

  • a windows_information_protection_app



450
451
452
# File 'lib/models/windows_information_protection.rb', line 450

def protected_apps
    return @protected_apps
end

#protected_apps=(value) ⇒ Object

Sets the protectedApps property value. Protected applications can access enterprise data and the data handled by those applications are protected with encryption

Parameters:

  • value

    Value to set for the protectedApps property.

Returns:

  • a void



458
459
460
# File 'lib/models/windows_information_protection.rb', line 458

def protected_apps=(value)
    @protected_apps = value
end

#protection_under_lock_config_requiredObject

Gets the protectionUnderLockConfigRequired property value. Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured

Returns:

  • a boolean



465
466
467
# File 'lib/models/windows_information_protection.rb', line 465

def protection_under_lock_config_required
    return @protection_under_lock_config_required
end

#protection_under_lock_config_required=(value) ⇒ Object

Sets the protectionUnderLockConfigRequired property value. Specifies whether the protection under lock feature (also known as encrypt under pin) should be configured

Parameters:

  • value

    Value to set for the protectionUnderLockConfigRequired property.

Returns:

  • a void



473
474
475
# File 'lib/models/windows_information_protection.rb', line 473

def protection_under_lock_config_required=(value)
    @protection_under_lock_config_required = value
end

#revoke_on_unenroll_disabledObject

Gets the revokeOnUnenrollDisabled property value. This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don’t revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently.

Returns:

  • a boolean



480
481
482
# File 'lib/models/windows_information_protection.rb', line 480

def revoke_on_unenroll_disabled
    return @revoke_on_unenroll_disabled
end

#revoke_on_unenroll_disabled=(value) ⇒ Object

Sets the revokeOnUnenrollDisabled property value. This policy controls whether to revoke the WIP keys when a device unenrolls from the management service. If set to 1 (Don’t revoke keys), the keys will not be revoked and the user will continue to have access to protected files after unenrollment. If the keys are not revoked, there will be no revoked file cleanup subsequently.

Parameters:

  • value

    Value to set for the revokeOnUnenrollDisabled property.

Returns:

  • a void



488
489
490
# File 'lib/models/windows_information_protection.rb', line 488

def revoke_on_unenroll_disabled=(value)
    @revoke_on_unenroll_disabled = value
end

#rights_management_services_template_idObject

Gets the rightsManagementServicesTemplateId property value. TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access

Returns:

  • a guid



495
496
497
# File 'lib/models/windows_information_protection.rb', line 495

def rights_management_services_template_id
    return @rights_management_services_template_id
end

#rights_management_services_template_id=(value) ⇒ Object

Sets the rightsManagementServicesTemplateId property value. TemplateID GUID to use for RMS encryption. The RMS template allows the IT admin to configure the details about who has access to RMS-protected file and how long they have access

Parameters:

  • value

    Value to set for the rightsManagementServicesTemplateId property.

Returns:

  • a void



503
504
505
# File 'lib/models/windows_information_protection.rb', line 503

def rights_management_services_template_id=(value)
    @rights_management_services_template_id = 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)


511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
# File 'lib/models/windows_information_protection.rb', line 511

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_collection_of_object_values("assignments", @assignments)
    writer.write_boolean_value("azureRightsManagementServicesAllowed", @azure_rights_management_services_allowed)
    writer.write_object_value("dataRecoveryCertificate", @data_recovery_certificate)
    writer.write_enum_value("enforcementLevel", @enforcement_level)
    writer.write_string_value("enterpriseDomain", @enterprise_domain)
    writer.write_collection_of_object_values("enterpriseIPRanges", @enterprise_i_p_ranges)
    writer.write_boolean_value("enterpriseIPRangesAreAuthoritative", @enterprise_i_p_ranges_are_authoritative)
    writer.write_collection_of_object_values("enterpriseInternalProxyServers", @enterprise_internal_proxy_servers)
    writer.write_collection_of_object_values("enterpriseNetworkDomainNames", @enterprise_network_domain_names)
    writer.write_collection_of_object_values("enterpriseProtectedDomainNames", @enterprise_protected_domain_names)
    writer.write_collection_of_object_values("enterpriseProxiedDomains", @enterprise_proxied_domains)
    writer.write_collection_of_object_values("enterpriseProxyServers", @enterprise_proxy_servers)
    writer.write_boolean_value("enterpriseProxyServersAreAuthoritative", @enterprise_proxy_servers_are_authoritative)
    writer.write_collection_of_object_values("exemptAppLockerFiles", @exempt_app_locker_files)
    writer.write_collection_of_object_values("exemptApps", @exempt_apps)
    writer.write_boolean_value("iconsVisible", @icons_visible)
    writer.write_boolean_value("indexingEncryptedStoresOrItemsBlocked", @indexing_encrypted_stores_or_items_blocked)
    writer.write_boolean_value("isAssigned", @is_assigned)
    writer.write_collection_of_object_values("neutralDomainResources", @neutral_domain_resources)
    writer.write_collection_of_object_values("protectedAppLockerFiles", @protected_app_locker_files)
    writer.write_collection_of_object_values("protectedApps", @protected_apps)
    writer.write_boolean_value("protectionUnderLockConfigRequired", @protection_under_lock_config_required)
    writer.write_boolean_value("revokeOnUnenrollDisabled", @revoke_on_unenroll_disabled)
    writer.write_guid_value("rightsManagementServicesTemplateId", @rights_management_services_template_id)
    writer.write_collection_of_object_values("smbAutoEncryptedFileExtensions", @smb_auto_encrypted_file_extensions)
end

#smb_auto_encrypted_file_extensionsObject

Gets the smbAutoEncryptedFileExtensions property value. Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary

Returns:

  • a windows_information_protection_resource_collection



544
545
546
# File 'lib/models/windows_information_protection.rb', line 544

def smb_auto_encrypted_file_extensions
    return @smb_auto_encrypted_file_extensions
end

#smb_auto_encrypted_file_extensions=(value) ⇒ Object

Sets the smbAutoEncryptedFileExtensions property value. Specifies a list of file extensions, so that files with these extensions are encrypted when copying from an SMB share within the corporate boundary

Parameters:

  • value

    Value to set for the smbAutoEncryptedFileExtensions property.

Returns:

  • a void



552
553
554
# File 'lib/models/windows_information_protection.rb', line 552

def smb_auto_encrypted_file_extensions=(value)
    @smb_auto_encrypted_file_extensions = value
end