Description
Description
Steps to reproduce
Compare Output:
$armIse = Get-AzResource -ResourceId $armLogApp.properties.integrationServiceEnvironment.id
$armIse.properties
$armIse.properties.endpointsconfiguration
Environment data
Name Value
PSVersion 7.1.4
PSEdition Core
GitCommitId 7.1.4
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
ModuleType Version PreRelease Name ExportedCommands
Script 6.2.1 az
Module versions
Debug output
I noticed an inconsistency in the returns for ISE
Note the lack of firewall rules represented in the return below.
$armIse = Get-AzResource -ResourceId $armLogApp.properties.integrationServiceEnvironment.id
PS C:\Users\thatUser\gitRepos\TD\SCI_INT_Prototype> $armIse.properties
provisioningState : Succeeded
state : Enabled
integrationServiceEnvironmentId : ********************************
endpointsConfiguration : @{workflow=; connector=}
networkConfiguration : @{accessEndpoint=; subnets=System.Object[]}
$armIse.properties | convertto-json
{
"provisioningState": "Succeeded",
"state": "Enabled",
"integrationServiceEnvironmentId": "",
"endpointsConfiguration": {
"workflow": {
"outgoingIpAddresses": " ",
"accessEndpointIpAddresses": ""
},
"connector": {
"outgoingIpAddresses": " "
}
},
"networkConfiguration": {
"accessEndpoint": {
"type": "Internal"
},
"subnets": [
"@{name=tdbscivnet01/ise01; id=/subscriptions//resourceGroups/coreMgmt/providers/Microsoft.Network/virtualNetworks/tdbscivnet01/subnets/ise01; type=Microsoft.Network/virtualNetworks/subnets}",
"@{name=tdbscivnet01/ise02; id=/subscriptions//resourceGroups/coreMgmt/providers/Microsoft.Network/virtualNetworks/tdbscivnet01/subnets/ise02; type=Microsoft.Network/virtualNetworks/subnets}",
"@{name=tdbscivnet01/ise03; id=/subscriptions//resourceGroups/coreMgmt/providers/Microsoft.Network/virtualNetworks/tdbscivnet01/subnets/ise03; type=Microsoft.Network/virtualNetworks/subnets}",
"@{name=tdbscivnet01/ise04; id=/subscriptions/********************************/resourceGroups/coreMgmt/providers/Microsoft.Network/virtualNetworks/tdbscivnet01/subnets/ise04; type=Microsoft.Network/virtualNetworks/subnets}"
]
}
}
Now let us look a level deeper and see what the return looks like:
PS C:\Users\thatUser\gitRepos\TD\SCI_INT_Prototype> $armIse.properties.endpointsconfiguration
workflow connector
@{outgoingIpAddresses=System.Object[]; accessEndpointIpAddresses=System.Object[]} @{outgoingIpAddresses=System.Object[]}
PS C:\Users\thatUser\gitRepos\TD\SCI_INT_Prototype> $armIse.properties.endpointsconfiguration | convertto-json
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
{
"workflow": {
"outgoingIpAddresses": [
"@{address=13.64.57.95}",
"@{address=10.0.3.0/24}"
],
"accessEndpointIpAddresses": [
"@{address=10.0.3.5}"
]
},
"connector": {
"outgoingIpAddresses": [
"@{address=52.160.99.237}",
"@{address=13.93.157.249}",
"@{address=10.0.4.0/24}",
"@{address=10.0.5.0/24}"
]
}
}
Error output