다음을 통해 공유


Get-AzureRmIntegrationAccountGeneratedIcn

이 cmdlet은 규약당 생성된 교환 컨트롤 번호의 현재 값을 검색합니다.

Warning

AzureRM PowerShell 모듈은 2024년 2월 29일부터 공식적으로 사용되지 않습니다. 사용자는 지속적인 지원 및 업데이트를 보장하기 위해 AzureRM에서 Az PowerShell 모듈로 마이그레이션하는 것이 좋습니다.

AzureRM 모듈은 여전히 작동할 수 있지만 더 이상 기본 또는 지원되지 않으므로 사용자의 재량에 따라 계속 사용할 수 있습니다. Az 모듈로 전환하는 방법에 대한 지침은 마이그레이션 리소스를 참조하세요.

Syntax

Get-AzureRmIntegrationAccountGeneratedIcn
   -ResourceGroupName <String>
   -Name <String>
   [-AgreementName <String>]
   [-AgreementType <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

이 cmdlet은 Set-AzureRmIntegrationAccountGeneratedIcn을 사용하여 증가된 값을 다시 쓰기 위해 생성된 교환 컨트롤 번호의 현재 값을 검색하기 위해 재해 복구 시나리오에서 사용됩니다. 현재 지역에서 재해가 발생했을 때 수동 지역에 복제본(replica) 수 없는 숫자의 중복 교환 컨트롤 번호를 방지하려면 교환 컨트롤 번호를 늘려야 합니다. "-AgreementType" 매개 변수를 제공하여 X12 또는 Edifact 컨트롤 번호를 반환할지 여부를 지정하세요.

예제

예 1

PS C:\> Get-AzureRmIntegrationAccountGeneratedIcn -AgreementType "X12" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1" -AgreementName "X12IntegrationAccountAgreement"
ControlNumber            : 1000
ControlNumberChangedTime : 2/15/2017 12:36:00 AM
IsMessageProcessingFailed:

이 명령은 통합 계정에서 생성된 X12 교환 컨트롤 번호를 계약 이름으로 가져옵니다. 지정된 계약이 "X12" 형식인지 확인하세요.

예제 2

PS C:\> Get-AzureRmIntegrationAccountGeneratedIcn -AgreementType "Edifact" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1" -AgreementName "EdifactIntegrationAccountAgreement"
ControlNumber            : 1000
ControlNumberChangedTime : 2/15/2017 12:36:00 AM
IsMessageProcessingFailed:

이 명령은 규약 이름으로 생성된 통합 계정 Edifact 교환 컨트롤 번호를 가져옵니다. 지정된 계약이 "Edifact" 형식인지 확인하세요.

예 3

PS C:\> Get-AzureRmIntegrationAccountGeneratedIcn -AgreementType "X12" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1"
ControlNumber            : 1000
ControlNumberChangedTime : 2/22/2017 8:05:41 PM
AgreementName            : X12IntegrationAccountAgreement1
IsMessageProcessingFailed:

ControlNumber            : 1000
ControlNumberChangedTime : 2/22/2017 8:05:41 PM
AgreementName            : X12IntegrationAccountAgreement2
IsMessageProcessingFailed:

ControlNumber            : No generated control number was found for this agreement.
ControlNumberChangedTime : 1/1/0001 12:00:00 AM
AgreementName            : X12IntegrationAccountAgreement3
IsMessageProcessingFailed:

이 명령은 통합 계정 이름으로 생성된 모든 X12 교환 컨트롤 번호를 가져옵니다.

매개 변수

-AgreementName

통합 계정 계약 이름입니다.

형식:String
Position:Named
기본값:None
필수:False
Accept pipeline input:False
Accept wildcard characters:False

-AgreementType

통합 계정 계약 유형입니다.

형식:String
Aliases:MessageType
허용되는 값:X12, Edifact
Position:Named
기본값:None
필수:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독

형식:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
기본값:None
필수:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

통합 계정 이름입니다.

형식:String
Aliases:ResourceName
Position:Named
기본값:None
필수:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

통합 계정 리소스 그룹 이름입니다.

형식:String
Position:Named
기본값:None
필수:True
Accept pipeline input:True
Accept wildcard characters:False

입력

String

출력

IntegrationAccountControlNumber