다음을 통해 공유


Runtime Environments - Get

런타임 환경에 대한 정보 가져오기

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}?api-version=2023-05-15-preview

URI 매개 변수

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

string

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

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._]+$

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

runtimeEnvironmentName
path True

string

pattern: ^[a-zA-Z][a-zA-Z-_0-9]*$

런타임 환경의 이름입니다.

subscriptionId
path True

string

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

api-version
query True

string

클라이언트 API 버전입니다.

응답

Name 형식 Description
200 OK

RuntimeEnvironment

그래

Other Status Codes

ErrorResponse

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

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Get automation account

샘플 요청

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName?api-version=2023-05-15-preview

샘플 응답

{
  "name": "myRuntimeEnvironmentName",
  "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount9/runtimeEnvironments/myRuntimeEnvironmentName",
  "type": "Microsoft.Automation/automationAccounts/runtimeEnvironments",
  "location": "East US 2",
  "tags": {},
  "systemData": {
    "createdAt": "2023-07-05T07:32:41.4389914+00:00",
    "lastModifiedAt": "2023-07-05T07:33:07.5597465+00:00"
  },
  "properties": {
    "runtime": {
      "language": "PowerShell",
      "version": "7.1"
    },
    "defaultPackages": {
      "Az": "8.3.0"
    },
    "description": "Description of the Runtime Environment"
  }
}

정의

Name Description
createdByType

리소스를 만든 ID의 형식입니다.

ErrorResponse

작업 실패의 오류 응답

RuntimeEnvironment

런타임 환경 형식의 정의입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

createdByType

리소스를 만든 ID의 형식입니다.

Description
Application
Key
ManagedIdentity
User

ErrorResponse

작업 실패의 오류 응답

Name 형식 Description
code

string

오류 코드

message

string

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

RuntimeEnvironment

런타임 환경 형식의 정의입니다.

Name 형식 Description
id

string (arm-id)

리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

리소스가 있는 지리적 위치

name

string

리소스의 이름

properties.defaultPackages

object

환경에 대한 기본 패키지 목록

properties.description

string

설명을 가져오거나 설정합니다.

properties.runtime.language

string

런타임 환경의 언어

properties.runtime.version

string

언어 버전

systemData

systemData

리소스 시스템 메타데이터.

tags

object

리소스 태그.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

리소스 만들기의 타임스탬프(UTC)입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string (date-time)

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID의 형식입니다.