Dela via


Get-AdminFlowEnvironmentCmkStatus

Get customer managed key (CMK) status for flow environments.

Syntax

Get-AdminFlowEnvironmentCmkStatus
   -EnvironmentName <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Get-AdminFlowEnvironmentCmkStatus cmdlet returns the customer managed key status for flow environment. Use Get-Help Get-AdminFlowEnvironmentCmkStatus -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminFlowEnvironmentCmkStatus -EnvironmentName Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877

Gets the customer managed key status for environment with the ID "Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877".

Parameters

-ApiVersion

The api version to call with.

Type:String
Position:Named
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

Environment ID.

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

Outputs

-status

The following status codes are returned. Use the table below to identify the status code description.

Status code Status short description Status long description
0 Not Specified Customer managed key application has not been attempted on this environment
1 Provisioning Customer managed key provisioning in progress
2 Provisioned Customer managed key provisioning completed successfully
3 Unprovisioning Customer managed key is being unprovisioned (moving back to Microsoft managed key)
4 Unprovisioned Customer managed key unprovisioning completed successfully
5 Failed Customer managed key provisioning failed
6 Rotating Customer managed key is being rotated
7 Rotated Customer managed key rotation completed successfully