다음을 통해 공유


BatchAttachConfiguration 클래스

BatchCompute 대상을 연결하기 위한 구성 매개 변수를 나타냅니다.

BatchCompute 클래스의 attach_configuration 메서드를 사용하여 연결 매개 변수를 지정합니다.

구성 개체를 초기화합니다.

상속
BatchAttachConfiguration

생성자

BatchAttachConfiguration(resource_group=None, account_name=None, resource_id=None)

매개 변수

Name Description
resource_group
str

배치 계정이 있는 리소스 그룹의 이름입니다.

Default value: None
account_name
str

배치 계정 이름입니다.

Default value: None
resource_id
str

연결 중인 컴퓨팅 리소스의 Azure 리소스 ID입니다.

Default value: None
resource_group
필수
str

Batch 계정이 있는 리소스 그룹의 이름입니다.

account_name
필수
str

Batch 계정 이름

resource_id
필수
str

연결된 컴퓨팅 리소스에 대한 Azure 리소스 ID

메서드

validate_configuration

지정된 구성 값이 유효한지 확인합니다.

유효성 검사에 실패하면 ComputeTargetException이 발생합니다.

validate_configuration

지정된 구성 값이 유효한지 확인합니다.

유효성 검사에 실패하면 ComputeTargetException이 발생합니다.

validate_configuration()

예외

형식 Description