pspulumiyaml.azurenative.intune.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionIntuneGetIoMAMPolicyByName { param ( [parameter(mandatory=$False,HelpMessage='select specific fields in entity.)')] [string] $select, [parameter(mandatory=$False,HelpMessage='Location hostName for the tenant)')] [string] $hostName, [parameter(mandatory=$False,HelpMessage='Unique name for the policy)')] [string] $policyName ) process { $arguments = @{} $arguments["hostName"] = $hostName $arguments["policyName"] = $policyName if($PSBoundParameters.Keys -icontains 'select') { $arguments["select"] = $select } $functionObject = Invoke-PulumiFunction -Name azure-native:intune:getIoMAMPolicyByName -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionIntuneGetAndroidMAMPolicyByName { param ( [parameter(mandatory=$False,HelpMessage='select specific fields in entity.)')] [string] $select, [parameter(mandatory=$False,HelpMessage='Location hostName for the tenant)')] [string] $hostName, [parameter(mandatory=$False,HelpMessage='Unique name for the policy)')] [string] $policyName ) process { $arguments = @{} $arguments["hostName"] = $hostName $arguments["policyName"] = $policyName if($PSBoundParameters.Keys -icontains 'select') { $arguments["select"] = $select } $functionObject = Invoke-PulumiFunction -Name azure-native:intune:getAndroidMAMPolicyByName -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeIntuneAndroidMAMPolicyByName { [Alias('azure_native_intune_androidmampolicybyname')] param ( [parameter(mandatory=$False,HelpMessage=')')] [string] $deviceCompliance, [parameter(mandatory=$False,HelpMessage=')')] [string] $screenCapture, [parameter(mandatory=$False,HelpMessage=')')] [string] $fileSharingSaveAs, [parameter(mandatory=$False,HelpMessage='Resource Location)')] [string] $location, [parameter(mandatory=$False,HelpMessage=')')] [string] $friendlyName, [parameter(mandatory=$False,HelpMessage='Location hostName for the tenant)')] [string] $hostName, [parameter(mandatory=$False,HelpMessage=')')] [string] $authentication, [parameter(mandatory=$False,HelpMessage=')')] [string] $pin, [parameter(mandatory=$False,HelpMessage=')')] [string] $offlineWipeTimeout, [parameter(mandatory=$False,HelpMessage=')')] [string] $clipboardSharingLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $accessRecheckOnlineTimeout, [parameter(mandatory=$False,HelpMessage=')')] [string] $description, [parameter(mandatory=$False,HelpMessage=')')] [string] $fileEncryption, [parameter(mandatory=$False,HelpMessage='Resource Tags)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage=')')] [string] $managedBrowser, [parameter(mandatory=$False,HelpMessage='Unique name for the policy)')] [string] $policyName, [parameter(mandatory=$False,HelpMessage=')')] [int] $pinNumRetry, [parameter(mandatory=$False,HelpMessage=')')] [string] $appSharingToLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $appSharingFromLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $accessRecheckOfflineTimeout, [parameter(mandatory=$False,HelpMessage=')')] [string] $dataBackup, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:intune:AndroidMAMPolicyByName") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["friendlyName"] = $friendlyName $resource.properties["hostName"] = $hostName if($PSBoundParameters.Keys -icontains 'deviceCompliance') { $resource.properties["deviceCompliance"] = $deviceCompliance } if($PSBoundParameters.Keys -icontains 'screenCapture') { $resource.properties["screenCapture"] = $screenCapture } if($PSBoundParameters.Keys -icontains 'fileSharingSaveAs') { $resource.properties["fileSharingSaveAs"] = $fileSharingSaveAs } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'authentication') { $resource.properties["authentication"] = $authentication } if($PSBoundParameters.Keys -icontains 'pin') { $resource.properties["pin"] = $pin } if($PSBoundParameters.Keys -icontains 'offlineWipeTimeout') { $resource.properties["offlineWipeTimeout"] = $offlineWipeTimeout } if($PSBoundParameters.Keys -icontains 'clipboardSharingLevel') { $resource.properties["clipboardSharingLevel"] = $clipboardSharingLevel } if($PSBoundParameters.Keys -icontains 'accessRecheckOnlineTimeout') { $resource.properties["accessRecheckOnlineTimeout"] = $accessRecheckOnlineTimeout } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'fileEncryption') { $resource.properties["fileEncryption"] = $fileEncryption } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'managedBrowser') { $resource.properties["managedBrowser"] = $managedBrowser } if($PSBoundParameters.Keys -icontains 'policyName') { $resource.properties["policyName"] = $policyName } if($PSBoundParameters.Keys -icontains 'pinNumRetry') { $resource.properties["pinNumRetry"] = $pinNumRetry } if($PSBoundParameters.Keys -icontains 'appSharingToLevel') { $resource.properties["appSharingToLevel"] = $appSharingToLevel } if($PSBoundParameters.Keys -icontains 'appSharingFromLevel') { $resource.properties["appSharingFromLevel"] = $appSharingFromLevel } if($PSBoundParameters.Keys -icontains 'accessRecheckOfflineTimeout') { $resource.properties["accessRecheckOfflineTimeout"] = $accessRecheckOfflineTimeout } if($PSBoundParameters.Keys -icontains 'dataBackup') { $resource.properties["dataBackup"] = $dataBackup } $global:pulumiresources += $resource return $resource } } function New-AzureNativeIntuneIoMAMPolicyByName { [Alias('azure_native_intune_iomampolicybyname')] param ( [parameter(mandatory=$False,HelpMessage='Resource Tags)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage=')')] [string] $fileSharingSaveAs, [parameter(mandatory=$False,HelpMessage='Resource Location)')] [string] $location, [parameter(mandatory=$False,HelpMessage=')')] [string] $friendlyName, [parameter(mandatory=$False,HelpMessage=')')] [string] $fileEncryptionLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $authentication, [parameter(mandatory=$False,HelpMessage=')')] [string] $pin, [parameter(mandatory=$False,HelpMessage=')')] [string] $offlineWipeTimeout, [parameter(mandatory=$False,HelpMessage=')')] [string] $clipboardSharingLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $accessRecheckOnlineTimeout, [parameter(mandatory=$False,HelpMessage=')')] [string] $description, [parameter(mandatory=$False,HelpMessage=')')] [string] $managedBrowser, [parameter(mandatory=$False,HelpMessage='Unique name for the policy)')] [string] $policyName, [parameter(mandatory=$False,HelpMessage=')')] [string] $deviceCompliance, [parameter(mandatory=$False,HelpMessage=')')] [string] $touchId, [parameter(mandatory=$False,HelpMessage='Location hostName for the tenant)')] [string] $hostName, [parameter(mandatory=$False,HelpMessage=')')] [int] $pinNumRetry, [parameter(mandatory=$False,HelpMessage=')')] [string] $appSharingToLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $appSharingFromLevel, [parameter(mandatory=$False,HelpMessage=')')] [string] $accessRecheckOfflineTimeout, [parameter(mandatory=$False,HelpMessage=')')] [string] $dataBackup, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:intune:IoMAMPolicyByName") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["friendlyName"] = $friendlyName $resource.properties["hostName"] = $hostName if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'fileSharingSaveAs') { $resource.properties["fileSharingSaveAs"] = $fileSharingSaveAs } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'fileEncryptionLevel') { $resource.properties["fileEncryptionLevel"] = $fileEncryptionLevel } if($PSBoundParameters.Keys -icontains 'authentication') { $resource.properties["authentication"] = $authentication } if($PSBoundParameters.Keys -icontains 'pin') { $resource.properties["pin"] = $pin } if($PSBoundParameters.Keys -icontains 'offlineWipeTimeout') { $resource.properties["offlineWipeTimeout"] = $offlineWipeTimeout } if($PSBoundParameters.Keys -icontains 'clipboardSharingLevel') { $resource.properties["clipboardSharingLevel"] = $clipboardSharingLevel } if($PSBoundParameters.Keys -icontains 'accessRecheckOnlineTimeout') { $resource.properties["accessRecheckOnlineTimeout"] = $accessRecheckOnlineTimeout } if($PSBoundParameters.Keys -icontains 'description') { $resource.properties["description"] = $description } if($PSBoundParameters.Keys -icontains 'managedBrowser') { $resource.properties["managedBrowser"] = $managedBrowser } if($PSBoundParameters.Keys -icontains 'policyName') { $resource.properties["policyName"] = $policyName } if($PSBoundParameters.Keys -icontains 'deviceCompliance') { $resource.properties["deviceCompliance"] = $deviceCompliance } if($PSBoundParameters.Keys -icontains 'touchId') { $resource.properties["touchId"] = $touchId } if($PSBoundParameters.Keys -icontains 'pinNumRetry') { $resource.properties["pinNumRetry"] = $pinNumRetry } if($PSBoundParameters.Keys -icontains 'appSharingToLevel') { $resource.properties["appSharingToLevel"] = $appSharingToLevel } if($PSBoundParameters.Keys -icontains 'appSharingFromLevel') { $resource.properties["appSharingFromLevel"] = $appSharingFromLevel } if($PSBoundParameters.Keys -icontains 'accessRecheckOfflineTimeout') { $resource.properties["accessRecheckOfflineTimeout"] = $accessRecheckOfflineTimeout } if($PSBoundParameters.Keys -icontains 'dataBackup') { $resource.properties["dataBackup"] = $dataBackup } $global:pulumiresources += $resource return $resource } } |