Keys - List By Automation Account

계정에 대한 자동화 키를 검색합니다.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys?api-version=2023-11-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
automationAccountName
path True

string

자동화 계정의 이름입니다.

resourceGroupName
path True

string

Azure 리소스 그룹의 이름입니다.

Regex pattern: ^[-\w\._]+$

subscriptionId
path True

string

Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명을 가져옵니다. 구독 ID는 모든 서비스 호출에 대한 URI의 파트를 형성합니다.

api-version
query True

string

클라이언트 API 버전.

응답

Name 형식 Description
200 OK

KeyListResult

정상

Other Status Codes

ErrorResponse

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

Get lists of an automation account

Sample Request

POST https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/MyAutomationAccount/listKeys?api-version=2023-11-01

Sample Response

{
  "keys": [
    {
      "KeyName": "Primary",
      "Permissions": "Full",
      "Value": "**************************************************************"
    },
    {
      "KeyName": "Secondary",
      "Permissions": "Full",
      "Value": "**************************************************************"
    }
  ]
}

정의

Name Description
AutomationKeyName

Automation 키 이름입니다.

AutomationKeyPermissions

Automation 키 권한.

ErrorResponse

작업 실패에 대한 오류 응답

Key

DSC 노드를 등록하는 데 사용되는 자동화 키

KeyListResult

AutomationKeyName

Automation 키 이름입니다.

Name 형식 Description
Primary

string

Secondary

string

AutomationKeyPermissions

Automation 키 권한.

Name 형식 Description
Full

string

Read

string

ErrorResponse

작업 실패에 대한 오류 응답

Name 형식 Description
code

string

오류 코드

message

string

작업이 실패한 이유를 나타내는 오류 메시지입니다.

Key

DSC 노드를 등록하는 데 사용되는 자동화 키

Name 형식 Description
KeyName

AutomationKeyName

Automation 키 이름입니다.

Permissions

AutomationKeyPermissions

Automation 키 권한.

Value

string

등록에 사용되는 Automation 키의 값입니다.

KeyListResult

Name 형식 Description
keys

Key[]

자동화 키를 나열합니다.