Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrola committed Dec 12, 2024
1 parent 9bef989 commit 7a952e2
Showing 1 changed file with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>

Configuration Example
{
param(
[Parameter()]
[System.String]
$ApplicationId,

[Parameter()]
[System.String]
$TenantId,

[Parameter()]
[System.String]
$CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC

node localhost
{
IntuneVPNConfigurationPolicyAndroidDeviceOwner "IntuneVPNConfigurationPolicyAndroidDeviceOwner-Example"
{
ApplicationId = $ApplicationId;
TenantId = $TenantId;
CertificateThumbprint = $CertificateThumbprint;
Assignments = @();
alwaysOn = $False;
authenticationMethod = "azureAD";
connectionName = "IntuneVPNConfigurationPolicyAndroidDeviceOwner ConnectionName";
connectionType = "microsoftProtect";
Description = "IntuneVPNConfigurationPolicyAndroidDeviceOwner Description";
DisplayName = "IntuneVPNConfigurationPolicyAndroidDeviceOwner DisplayName";
Ensure = "Present";
Id = "12345678-1234-abcd-1234-12345678ABCD";
customData = @(
MSFT_CustomData{
key = 'fakeCustomData'
value = '[{"key":"fakestring1","type":"int","value":"1"},{"type":"int","key":"fakestring2","value":"0"}]'
}
);
customKeyValueData = @(
MSFT_customKeyValueData{
value = '[{"key":"fakestring1","type":"int","value":"1"},{"type":"int","key":"fakestring2","value":"0"}]'
name = 'fakeCustomKeyValueData'
}
);
microsoftTunnelSiteId = "12345678-1234-abcd-1234-12345678ABCD";
proxyExclusionList = @();
proxyServer = @(
MSFT_MicrosoftvpnProxyServer{
port = 8080
automaticConfigurationScriptUrl = 'fakestringvalue'
address = 'fake-proxy-adress.com'
}
);
servers = @(
MSFT_MicrosoftGraphvpnServer{
isDefaultServer = $True
description = 'fakestringvalue'
address = 'fake.server.com:8080'
}
);
targetedMobileApps = @(
MSFT_targetedMobileApps{
name = 'fakestringvalue'
publisher = 'Fake Corporation'
appId = 'com.fake.emmx'
}
);
}
}
}

0 comments on commit 7a952e2

Please sign in to comment.