Get-AzApiManagementNetworkStatus
Gets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.
Syntax
Get-AzApiManagementNetworkStatus
-ApiManagementObject <PsApiManagement>
[-Location <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ExpandedParameter
Get-AzApiManagementNetworkStatus
-ResourceGroupName <String>
-Name <String>
[-Location <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Gets the Network status of their Api Management service
Examples
Example 1
Get-AzApiManagementNetworkStatus -ResourceGroupName powershelltest -Name powershellsdkservice
Location DnsServers ConnectivityStatus
-------- ---------- ------------------
West US {168.63.129.16} {apimgmtstaoonqs7wwzjosky.blob.core.windows.net, apimgmtstaoonqs7wwzjosky.file.core.windows.net, apimgmtstaoonqs7wwzjosky.queue.core.windows.net, apimgmtstaoonqs7wwzjosk...
$networkStatus = Get-AzApiManagementNetworkStatus -ResourceGroupName powershelltest -Name powershellsdkservice
$networkStatus.ConnectivityStatus
Name : apimgmtstaoonqs7wwzjosky.blob.core.windows.net
Status : success
Error :
LastUpdated : 5/2/2019 5:06:38 PM
LastStatusChange : 1/30/2019 5:31:38 PM
Name : apimgmtstaoonqs7wwzjosky.file.core.windows.net
Status : success
Error :
LastUpdated : 5/2/2019 5:06:38 PM
LastStatusChange : 1/30/2019 5:31:39 PM
Name : apimgmtstaoonqs7wwzjosky.queue.core.windows.net
Status : success
Error :
LastUpdated : 5/2/2019 5:06:38 PM
LastStatusChange : 1/30/2019 5:31:39 PM
Name : apimgmtstaoonqs7wwzjosky.table.core.windows.net
Status : success
Error :
LastUpdated : 5/2/2019 5:06:38 PM
LastStatusChange : 1/30/2019 5:31:38 PM
Name : bx9gltecfv.database.windows.net
Status : success
Error :
LastUpdated : 5/2/2019 5:06:41 PM
LastStatusChange : 1/30/2019 5:31:39 PM
Name : https://prod3.metrics.nsatc.net:1886/RecoveryService
Status : success
Error :
LastUpdated : 5/2/2019 5:07:11 PM
LastStatusChange : 4/29/2019 1:31:30 PM
Name : prod.warmpath.msftcloudes.com
Status : success
Error :
LastUpdated : 5/2/2019 5:06:38 PM
LastStatusChange : 1/30/2019 5:31:38 PM
Name : Scm
Status : success
Error :
LastUpdated : 5/2/2019 5:04:27 PM
LastStatusChange : 4/30/2019 11:16:20 PM
Gets the connectivity status of the different resources on which ApiManagement service depends upon.
Parameters
-ApiManagementObject
Instance of PsApiManagement. This parameter is required.
Parameter properties
Type: PsApiManagement
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ByInputObject
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Location
Location of the API Management Service.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-Name
Name of API Management.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ExpandedParameter
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-ResourceGroupName
Name of resource group under which API Management exists.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ExpandedParameter
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs