編集

次の方法で共有


Get-AzNetworkManagerDeploymentStatus

Lists Deployment Status in a network manager.

Syntax

Get-AzNetworkManagerDeploymentStatus
   -NetworkManagerName <String>
   -ResourceGroupName <String>
   [-Region <String[]>]
   [-DeploymentType <String[]>]
   [-SkipToken <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzNetworkManagerDeploymentStatus cmdlet lists Deployment Status in a network manager.

Examples

Example 1

$regions = @("centraluseuap")  
$DeploymentTypes = @("SecurityAdmin")  
Get-AzNetworkManagerDeploymentStatus -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG" -region $regions -skipToken "FakeSkipToken" -DeploymentType $DeploymentTypes

Value     : [
              {
                "CommitTime": "2021-10-18T04:06:08Z",
                "Region": "centraluseuap",
                "DeploymentStatus": "Deployed",
                "ConfigurationIds": [
                  "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/testAdminConfig"
                ],
                "DeploymentType": "SecurityAdmin",
                "ErrorMessage": ""
              }
            ]
SkipToken :

Lists Deployment Status of SecurityAdmin configurations in region centraluseuap for a network manager.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeploymentType

List of deploymentTypes.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-NetworkManagerName

The networkManager name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-Region

List of regions.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

The resource group name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-SkipToken

SkipToken.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

System.String[]

Outputs

Microsoft.Azure.Commands.Network.Models.NetworkManager.PSNetworkManagerDeploymentStatusListResult