Skip to content

Commit 3e4b54a

Browse files
committed
Updated to include newest WAPTenantPublicAPI module.
Added GI logic for multiple GI possibility. Changed Get and Set to actually look for VM Role and not cloud service Removed parameter mandatory for VMSize and OSDiskSearch and added defaults. Added GI to GalleryItem paramters for clarity.
1 parent c3fb190 commit 3e4b54a

9 files changed

+297
-74
lines changed
Binary file not shown.
Binary file not shown.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ configuration WAPVMRole {
3535
$configdata = @{
3636
AllNodes = @(
3737
@{
38-
NodeName = 'localhost'
39-
PSDscAllowPlainTextPassword = $true
38+
NodeName = 'localhost'
39+
PSDscAllowPlainTextPassword = $true
4040
}
4141
)
4242
}

SampleConfig.ps1

+8-10
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ configuration WAPVMRole {
77
VMSize = 'Medium'
88
Name = 'TestDSC'
99
SubscriptionId = 'b5a9b263-066b-4a8f-87b4-1b7c90a5bcad'
10-
URL = 'https://api.bgelens.nl'
10+
Url = 'https://api.bgelens.nl'
1111
Credential = Get-Credential
1212
VMRoleName = 'DSCPullServerClient'
1313
OSDiskSearch = 'LatestApplicable'
1414
NetworkReference = 'Internal'
1515
TokenSource = 'ADFS'
16-
TokenURL = 'https://sts.bgelens.nl'
16+
TokenUrl = 'https://sts.bgelens.nl'
1717
TokenPort = 443
1818
Ensure = 'Present'
1919
Port = 443
@@ -29,8 +29,8 @@ configuration WAPVMRole {
2929
$configdata = @{
3030
AllNodes = @(
3131
@{
32-
NodeName = 'localhost'
33-
PSDscAllowPlainTextPassword = $true
32+
NodeName = 'localhost'
33+
PSDscAllowPlainTextPassword = $true
3434
}
3535
)
3636
}
@@ -45,16 +45,14 @@ configuration WAPVMRolepurge {
4545
WAPackVMRole DSCClient {
4646
Name = 'TestDSC'
4747
SubscriptionId = 'b5a9b263-066b-4a8f-87b4-1b7c90a5bcad'
48-
URL = 'https://api.bgelens.nl'
48+
Url = 'https://api.bgelens.nl'
4949
Credential = Get-Credential
5050
TokenSource = 'ADFS'
51-
TokenURL = 'https://sts.bgelens.nl'
51+
TokenUrl = 'https://sts.bgelens.nl'
5252
TokenPort = 443
5353
Ensure = 'Absent'
5454
Port = 443
5555
VMRoleName = 'DSCPullServerClient'
56-
OSDiskSearch = 'LatestApplicable'
57-
VMSize = 'Medium'
5856
NetworkReference = 'Internal'
5957
}
6058
}
@@ -63,8 +61,8 @@ configuration WAPVMRolepurge {
6361
$configdata = @{
6462
AllNodes = @(
6563
@{
66-
NodeName = 'localhost'
67-
PSDscAllowPlainTextPassword = $true
64+
NodeName = 'localhost'
65+
PSDscAllowPlainTextPassword = $true
6866
}
6967
)
7068
}

WAPTenantPublicAPI/WapTenantPublicAPI.format.ps1xml

+26-2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,30 @@
152152
</ListEntry>
153153
</ListEntries>
154154
</ListControl>
155-
</View>
155+
</View>
156+
157+
<View>
158+
<Name>WAP.VM</Name>
159+
<ViewSelectedBy>
160+
<TypeName>WAP.VM</TypeName>
161+
</ViewSelectedBy>
162+
<ListControl>
163+
<ListEntries>
164+
<ListEntry>
165+
<ListItems>
166+
<ListItem>
167+
<PropertyName>ComputerName</PropertyName>
168+
</ListItem>
169+
<ListItem>
170+
<PropertyName>RuntimeState</PropertyName>
171+
</ListItem>
172+
<ListItem>
173+
<PropertyName>IPAddress</PropertyName>
174+
</ListItem>
175+
</ListItems>
176+
</ListEntry>
177+
</ListEntries>
178+
</ListControl>
179+
</View>
156180
</ViewDefinitions>
157-
</Configuration>
181+
</Configuration>
-3.52 KB
Binary file not shown.

0 commit comments

Comments
 (0)