Microsoft.MachineLearningServices 작업 영역/batchEndpoints/deployments 2024-04-01-preview
Bicep 리소스 정의
작업 영역/batchEndpoints/배포 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 참조
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2024-04-01-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
kind: 'string'
parent: resourceSymbolicName
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
properties: {
codeConfiguration: {
codeId: 'string'
scoringScript: 'string'
}
compute: 'string'
deploymentConfiguration: {
deploymentConfigurationType: 'string'
// For remaining properties, see BatchDeploymentConfiguration objects
}
description: 'string'
environmentId: 'string'
environmentVariables: {
{customized property}: 'string'
}
errorThreshold: int
loggingLevel: 'string'
maxConcurrencyPerInstance: int
miniBatchSize: int
model: {
referenceType: 'string'
// For remaining properties, see AssetReferenceBase objects
}
outputAction: 'string'
outputFileName: 'string'
properties: {
{customized property}: 'string'
}
resources: {
instanceCount: int
instanceType: 'string'
locations: [
'string'
]
maxInstanceCount: int
properties: {
{customized property}: any()
}
}
retrySettings: {
maxRetries: int
timeout: 'string'
}
}
}
BatchDeploymentConfiguration 개체
deploymentConfigurationType 속성을 설정하여 개체 유형을 지정합니다.
PipelineComponent경우 다음을 사용합니다.
deploymentConfigurationType: 'PipelineComponent'
componentId: {
assetId: 'string'
referenceType: 'string'
}
description: 'string'
settings: {
{customized property}: 'string'
}
tags: {}
AssetReferenceBase 개체
referenceType 속성을 설정하여 개체 유형을 지정합니다.
DataPath경우 다음을 사용합니다.
referenceType: 'DataPath'
datastoreId: 'string'
path: 'string'
ID경우 다음을 사용합니다.
referenceType: 'Id'
assetId: 'string'
OutputPath경우 다음을 사용합니다.
referenceType: 'OutputPath'
jobId: 'string'
path: 'string'
속성 값
workspaces/batchEndpoints/deployments
이름 | 묘사 | 값 |
---|---|---|
이름 | 리소스 이름 Bicep자식 리소스의 이름과 형식을 설정하는 방법을 알아보세요. |
string(필수) |
위치 | 리소스가 있는 지리적 위치 | string(필수) |
태그 | 리소스 태그. | 태그 이름 및 값의 사전입니다. 템플릿 |
sku | 자동 크기 조정을 위한 ARM 계약에 필요한 SKU 세부 정보입니다. | Sku |
종류 | 포털/도구/등에서 동일한 형식의 리소스에 대해 다른 UX 환경을 렌더링하는 데 사용되는 메타데이터입니다. | 문자열 |
부모 | Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다. 자세한 내용은 부모 리소스외부의 자식 리소스 |
형식 리소스의 기호 이름: batchEndpoints |
신원 | 관리 서비스 ID(시스템 할당 및/또는 사용자 할당 ID) | ManagedServiceIdentity |
속성 | [필수] 엔터티의 추가 특성입니다. | BatchDeploymentProperties(필수) |
ManagedServiceIdentity
이름 | 묘사 | 값 |
---|---|---|
형 | 관리 서비스 ID의 유형입니다(SystemAssigned 및 UserAssigned 형식이 모두 허용되는 경우). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned'(필수) |
userAssignedIdentities | 리소스와 연결된 사용자 할당 ID 집합입니다. userAssignedIdentities 사전 키는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. 사전 값은 요청에서 빈 개체({})일 수 있습니다. | UserAssignedIdentities |
UserAssignedIdentities
이름 | 묘사 | 값 |
---|---|---|
{customized property} | UserAssignedIdentity |
UserAssignedIdentity
이 개체에는 배포 중에 설정할 속성이 없습니다. 모든 속성은 ReadOnly입니다.
BatchDeploymentProperties
이름 | 묘사 | 값 |
---|---|---|
codeConfiguration | 엔드포인트 배포에 대한 코드 구성입니다. | codeConfiguration |
계산 | 일괄 처리 유추 작업의 컴퓨팅 대상입니다. | 문자열 |
deploymentConfiguration | 다양한 배포 유형과 관련된 속성입니다. | BatchDeploymentConfiguration |
묘사 | 엔드포인트 배포에 대한 설명입니다. | 문자열 |
environmentId | 엔드포인트 배포에 대한 환경 사양의 ARM 리소스 ID입니다. | 문자열 |
environmentVariables | 배포에 대한 환경 변수 구성입니다. | EndpointDeploymentPropertiesBaseEnvironmentVariables |
errorThreshold | 전체 입력에 대한 오류 수가 이 값보다 높은 경우 오류 임계값 일괄 처리 유추가 중단됩니다. 범위는 [-1, int입니다. MaxValue]. FileDataset의 경우 이 값은 파일 오류 수입니다. TabularDataset의 경우 이 값은 레코드 오류의 수입니다. -1(하한)로 설정하면 일괄 처리 유추 중 모든 오류가 무시됩니다. |
int |
loggingLevel | 일괄 처리 유추 작업의 로깅 수준입니다. | '디버그' '정보' '경고' |
maxConcurrencyPerInstance | 인스턴스당 최대 병렬 처리 수를 나타냅니다. | int |
miniBatchSize | 각 일괄 처리 호출에 전달된 미니 일괄 처리의 크기입니다. FileDataset의 경우 미니 일괄 처리당 파일 수입니다. TabularDataset의 경우 미니 일괄 처리당 레코드 크기(바이트)입니다. |
int |
모델 | 엔드포인트 배포에 대한 모델 자산에 대한 참조입니다. | assetReferenceBase |
outputAction | 출력을 구성하는 방법을 나타냅니다. | 'AppendRow' 'SummaryOnly' |
outputFileName | append_row 출력 작업에 대한 사용자 지정된 출력 파일 이름입니다. | 문자열 |
속성 | 속성 사전입니다. 속성을 추가할 수 있지만 제거하거나 변경할 수는 없습니다. | EndpointDeploymentPropertiesBaseProperties |
리소스 | 작업에 대한 컴퓨팅 구성을 나타냅니다. 제공되지 않으면 기본적으로 ResourceConfiguration에 정의된 기본값으로 설정됩니다. |
DeploymentResourceConfiguration |
retrySettings | 일괄 처리 유추 작업에 대한 다시 시도 설정입니다. 제공되지 않으면 기본적으로 BatchRetrySettings에 정의된 기본값으로 설정됩니다. |
BatchRetrySettings |
CodeConfiguration
이름 | 묘사 | 값 |
---|---|---|
codeId | 코드 자산의 ARM 리소스 ID입니다. | 문자열 |
scoringScript | [필수] 시작할 때 실행할 스크립트입니다. 예. "score.py" | string(필수) 제약 조건: 최소 길이 = 1 패턴 = [a-zA-Z0-9_] |
BatchDeploymentConfiguration
이름 | 묘사 | 값 |
---|---|---|
deploymentConfigurationType | 개체 유형 설정 | PipelineComponent(필수) |
BatchPipelineComponentDeploymentConfiguration
이름 | 묘사 | 값 |
---|---|---|
deploymentConfigurationType | [필수] 배포 유형 | 'PipelineComponent'(필수) |
componentId | 실행할 구성 요소의 ARM ID입니다. | IdAssetReference |
묘사 | 작업에 적용할 설명입니다. | 문자열 |
설정 | 파이프라인 작업에 대한 런타임 설정입니다. | BatchPipelineComponentDeploymentConfigurationSetting... |
태그 | 작업에 적용할 태그입니다. | 객체 |
IdAssetReference
이름 | 묘사 | 값 |
---|---|---|
assetId | [필수] 자산의 ARM 리소스 ID입니다. | string(필수) 제약 조건: 최소 길이 = 1 패턴 = [a-zA-Z0-9_] |
referenceType | [필수] 자산 참조의 형식을 지정합니다. | 'DataPath' 'Id' 'OutputPath'(필수) |
BatchPipelineComponentDeploymentConfigurationSetting...
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
EndpointDeploymentPropertiesBaseEnvironmentVariables
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
AssetReferenceBase
이름 | 묘사 | 값 |
---|---|---|
referenceType | 개체 유형 설정 | dataPath ID OutputPath(필수) |
DataPathAssetReference
이름 | 묘사 | 값 |
---|---|---|
referenceType | [필수] 자산 참조의 형식을 지정합니다. | 'DataPath'(필수) |
datastoreId | 자산이 있는 데이터 저장소의 ARM 리소스 ID입니다. | 문자열 |
길 | 데이터 저장소의 파일/디렉터리의 경로입니다. | 문자열 |
OutputPathAssetReference
이름 | 묘사 | 값 |
---|---|---|
referenceType | [필수] 자산 참조의 형식을 지정합니다. | 'OutputPath'(필수) |
jobId | 작업의 ARM 리소스 ID입니다. | 문자열 |
길 | 작업 출력에 있는 파일/디렉터리의 경로입니다. | 문자열 |
EndpointDeploymentPropertiesBaseProperties
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
DeploymentResourceConfiguration
이름 | 묘사 | 값 |
---|---|---|
instanceCount | 컴퓨팅 대상에서 사용하는 인스턴스 또는 노드의 선택적 수입니다. | int |
instanceType | 컴퓨팅 대상에서 지원하는 VM의 선택적 형식입니다. | 문자열 |
위치 | 작업을 실행할 수 있는 위치입니다. | string[] |
maxInstanceCount | 컴퓨팅 대상에서 사용할 인스턴스 또는 노드의 선택적 최대 허용 수입니다. 탄력적 학습에 사용하기 위해 현재 PyTorch 배포 유형에서만 지원됩니다. |
int |
속성 | 추가 속성 모음. | resourceConfigurationProperties |
ResourceConfigurationProperties
이름 | 묘사 | 값 |
---|---|---|
{customized property} | Bicep의 경우 any() 함수를 사용할 수 있습니다. |
BatchRetrySettings
이름 | 묘사 | 값 |
---|---|---|
maxRetries | 미니 일괄 처리에 대한 최대 재시도 횟수 | int |
타임 아웃 | ISO 8601 형식의 미니 일괄 처리에 대한 호출 시간 제한입니다. | 문자열 |
Sku
이름 | 묘사 | 값 |
---|---|---|
용량 | SKU가 스케일 아웃/인을 지원하는 경우 용량 정수가 포함되어야 합니다. 리소스에 대해 스케일 아웃/인이 불가능한 경우 생략할 수 있습니다. | int |
가족 | 서비스에 여러 세대의 하드웨어가 있는 경우 동일한 SKU에 대해 여기에서 캡처할 수 있습니다. | 문자열 |
이름 | SKU의 이름입니다. 예 - P3. 일반적으로 letter+number 코드입니다. | string(필수) |
크기 | SKU 크기입니다. 이름 필드가 계층과 다른 값의 조합인 경우 독립 실행형 코드입니다. | 문자열 |
계층 | 이 필드는 서비스에 둘 이상의 계층이 있지만 PUT에는 필요하지 않은 경우 리소스 공급자가 구현해야 합니다. | '기본' '무료' '프리미엄' 'Standard' |
ARM 템플릿 리소스 정의
작업 영역/batchEndpoints/배포 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 참조
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.
{
"type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments",
"apiVersion": "2024-04-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"kind": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {}
}
},
"properties": {
"codeConfiguration": {
"codeId": "string",
"scoringScript": "string"
},
"compute": "string",
"deploymentConfiguration": {
"deploymentConfigurationType": "string"
// For remaining properties, see BatchDeploymentConfiguration objects
},
"description": "string",
"environmentId": "string",
"environmentVariables": {
"{customized property}": "string"
},
"errorThreshold": "int",
"loggingLevel": "string",
"maxConcurrencyPerInstance": "int",
"miniBatchSize": "int",
"model": {
"referenceType": "string"
// For remaining properties, see AssetReferenceBase objects
},
"outputAction": "string",
"outputFileName": "string",
"properties": {
"{customized property}": "string"
},
"resources": {
"instanceCount": "int",
"instanceType": "string",
"locations": [ "string" ],
"maxInstanceCount": "int",
"properties": {
"{customized property}": {}
}
},
"retrySettings": {
"maxRetries": "int",
"timeout": "string"
}
}
}
BatchDeploymentConfiguration 개체
deploymentConfigurationType 속성을 설정하여 개체 유형을 지정합니다.
PipelineComponent경우 다음을 사용합니다.
"deploymentConfigurationType": "PipelineComponent",
"componentId": {
"assetId": "string",
"referenceType": "string"
},
"description": "string",
"settings": {
"{customized property}": "string"
},
"tags": {}
AssetReferenceBase 개체
referenceType 속성을 설정하여 개체 유형을 지정합니다.
DataPath경우 다음을 사용합니다.
"referenceType": "DataPath",
"datastoreId": "string",
"path": "string"
ID경우 다음을 사용합니다.
"referenceType": "Id",
"assetId": "string"
OutputPath경우 다음을 사용합니다.
"referenceType": "OutputPath",
"jobId": "string",
"path": "string"
속성 값
workspaces/batchEndpoints/deployments
이름 | 묘사 | 값 |
---|---|---|
형 | 리소스 종류 | 'Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments' |
apiVersion | 리소스 api 버전 | '2024-04-01-preview' |
이름 | 리소스 이름 JSON ARM 템플릿 |
string(필수) |
위치 | 리소스가 있는 지리적 위치 | string(필수) |
태그 | 리소스 태그. | 태그 이름 및 값의 사전입니다. 템플릿 |
sku | 자동 크기 조정을 위한 ARM 계약에 필요한 SKU 세부 정보입니다. | Sku |
종류 | 포털/도구/등에서 동일한 형식의 리소스에 대해 다른 UX 환경을 렌더링하는 데 사용되는 메타데이터입니다. | 문자열 |
신원 | 관리 서비스 ID(시스템 할당 및/또는 사용자 할당 ID) | ManagedServiceIdentity |
속성 | [필수] 엔터티의 추가 특성입니다. | BatchDeploymentProperties(필수) |
ManagedServiceIdentity
이름 | 묘사 | 값 |
---|---|---|
형 | 관리 서비스 ID의 유형입니다(SystemAssigned 및 UserAssigned 형식이 모두 허용되는 경우). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned'(필수) |
userAssignedIdentities | 리소스와 연결된 사용자 할당 ID 집합입니다. userAssignedIdentities 사전 키는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. 사전 값은 요청에서 빈 개체({})일 수 있습니다. | UserAssignedIdentities |
UserAssignedIdentities
이름 | 묘사 | 값 |
---|---|---|
{customized property} | UserAssignedIdentity |
UserAssignedIdentity
이 개체에는 배포 중에 설정할 속성이 없습니다. 모든 속성은 ReadOnly입니다.
BatchDeploymentProperties
이름 | 묘사 | 값 |
---|---|---|
codeConfiguration | 엔드포인트 배포에 대한 코드 구성입니다. | codeConfiguration |
계산 | 일괄 처리 유추 작업의 컴퓨팅 대상입니다. | 문자열 |
deploymentConfiguration | 다양한 배포 유형과 관련된 속성입니다. | BatchDeploymentConfiguration |
묘사 | 엔드포인트 배포에 대한 설명입니다. | 문자열 |
environmentId | 엔드포인트 배포에 대한 환경 사양의 ARM 리소스 ID입니다. | 문자열 |
environmentVariables | 배포에 대한 환경 변수 구성입니다. | EndpointDeploymentPropertiesBaseEnvironmentVariables |
errorThreshold | 전체 입력에 대한 오류 수가 이 값보다 높은 경우 오류 임계값 일괄 처리 유추가 중단됩니다. 범위는 [-1, int입니다. MaxValue]. FileDataset의 경우 이 값은 파일 오류 수입니다. TabularDataset의 경우 이 값은 레코드 오류의 수입니다. -1(하한)로 설정하면 일괄 처리 유추 중 모든 오류가 무시됩니다. |
int |
loggingLevel | 일괄 처리 유추 작업의 로깅 수준입니다. | '디버그' '정보' '경고' |
maxConcurrencyPerInstance | 인스턴스당 최대 병렬 처리 수를 나타냅니다. | int |
miniBatchSize | 각 일괄 처리 호출에 전달된 미니 일괄 처리의 크기입니다. FileDataset의 경우 미니 일괄 처리당 파일 수입니다. TabularDataset의 경우 미니 일괄 처리당 레코드 크기(바이트)입니다. |
int |
모델 | 엔드포인트 배포에 대한 모델 자산에 대한 참조입니다. | assetReferenceBase |
outputAction | 출력을 구성하는 방법을 나타냅니다. | 'AppendRow' 'SummaryOnly' |
outputFileName | append_row 출력 작업에 대한 사용자 지정된 출력 파일 이름입니다. | 문자열 |
속성 | 속성 사전입니다. 속성을 추가할 수 있지만 제거하거나 변경할 수는 없습니다. | EndpointDeploymentPropertiesBaseProperties |
리소스 | 작업에 대한 컴퓨팅 구성을 나타냅니다. 제공되지 않으면 기본적으로 ResourceConfiguration에 정의된 기본값으로 설정됩니다. |
DeploymentResourceConfiguration |
retrySettings | 일괄 처리 유추 작업에 대한 다시 시도 설정입니다. 제공되지 않으면 기본적으로 BatchRetrySettings에 정의된 기본값으로 설정됩니다. |
BatchRetrySettings |
CodeConfiguration
이름 | 묘사 | 값 |
---|---|---|
codeId | 코드 자산의 ARM 리소스 ID입니다. | 문자열 |
scoringScript | [필수] 시작할 때 실행할 스크립트입니다. 예. "score.py" | string(필수) 제약 조건: 최소 길이 = 1 패턴 = [a-zA-Z0-9_] |
BatchDeploymentConfiguration
이름 | 묘사 | 값 |
---|---|---|
deploymentConfigurationType | 개체 유형 설정 | PipelineComponent(필수) |
BatchPipelineComponentDeploymentConfiguration
이름 | 묘사 | 값 |
---|---|---|
deploymentConfigurationType | [필수] 배포 유형 | 'PipelineComponent'(필수) |
componentId | 실행할 구성 요소의 ARM ID입니다. | IdAssetReference |
묘사 | 작업에 적용할 설명입니다. | 문자열 |
설정 | 파이프라인 작업에 대한 런타임 설정입니다. | BatchPipelineComponentDeploymentConfigurationSetting... |
태그 | 작업에 적용할 태그입니다. | 객체 |
IdAssetReference
이름 | 묘사 | 값 |
---|---|---|
assetId | [필수] 자산의 ARM 리소스 ID입니다. | string(필수) 제약 조건: 최소 길이 = 1 패턴 = [a-zA-Z0-9_] |
referenceType | [필수] 자산 참조의 형식을 지정합니다. | 'DataPath' 'Id' 'OutputPath'(필수) |
BatchPipelineComponentDeploymentConfigurationSetting...
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
EndpointDeploymentPropertiesBaseEnvironmentVariables
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
AssetReferenceBase
이름 | 묘사 | 값 |
---|---|---|
referenceType | 개체 유형 설정 | dataPath ID OutputPath(필수) |
DataPathAssetReference
이름 | 묘사 | 값 |
---|---|---|
referenceType | [필수] 자산 참조의 형식을 지정합니다. | 'DataPath'(필수) |
datastoreId | 자산이 있는 데이터 저장소의 ARM 리소스 ID입니다. | 문자열 |
길 | 데이터 저장소의 파일/디렉터리의 경로입니다. | 문자열 |
OutputPathAssetReference
이름 | 묘사 | 값 |
---|---|---|
referenceType | [필수] 자산 참조의 형식을 지정합니다. | 'OutputPath'(필수) |
jobId | 작업의 ARM 리소스 ID입니다. | 문자열 |
길 | 작업 출력에 있는 파일/디렉터리의 경로입니다. | 문자열 |
EndpointDeploymentPropertiesBaseProperties
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
DeploymentResourceConfiguration
이름 | 묘사 | 값 |
---|---|---|
instanceCount | 컴퓨팅 대상에서 사용하는 인스턴스 또는 노드의 선택적 수입니다. | int |
instanceType | 컴퓨팅 대상에서 지원하는 VM의 선택적 형식입니다. | 문자열 |
위치 | 작업을 실행할 수 있는 위치입니다. | string[] |
maxInstanceCount | 컴퓨팅 대상에서 사용할 인스턴스 또는 노드의 선택적 최대 허용 수입니다. 탄력적 학습에 사용하기 위해 현재 PyTorch 배포 유형에서만 지원됩니다. |
int |
속성 | 추가 속성 모음. | resourceConfigurationProperties |
ResourceConfigurationProperties
이름 | 묘사 | 값 |
---|---|---|
{customized property} |
BatchRetrySettings
이름 | 묘사 | 값 |
---|---|---|
maxRetries | 미니 일괄 처리에 대한 최대 재시도 횟수 | int |
타임 아웃 | ISO 8601 형식의 미니 일괄 처리에 대한 호출 시간 제한입니다. | 문자열 |
Sku
이름 | 묘사 | 값 |
---|---|---|
용량 | SKU가 스케일 아웃/인을 지원하는 경우 용량 정수가 포함되어야 합니다. 리소스에 대해 스케일 아웃/인이 불가능한 경우 생략할 수 있습니다. | int |
가족 | 서비스에 여러 세대의 하드웨어가 있는 경우 동일한 SKU에 대해 여기에서 캡처할 수 있습니다. | 문자열 |
이름 | SKU의 이름입니다. 예 - P3. 일반적으로 letter+number 코드입니다. | string(필수) |
크기 | SKU 크기입니다. 이름 필드가 계층과 다른 값의 조합인 경우 독립 실행형 코드입니다. | 문자열 |
계층 | 이 필드는 서비스에 둘 이상의 계층이 있지만 PUT에는 필요하지 않은 경우 리소스 공급자가 구현해야 합니다. | '기본' '무료' '프리미엄' 'Standard' |
Terraform(AzAPI 공급자) 리소스 정의
작업 영역/batchEndpoints/배포 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 리소스 그룹
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2024-04-01-preview"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
identity {
type = "string"
identity_ids = []
}
body = jsonencode({
properties = {
codeConfiguration = {
codeId = "string"
scoringScript = "string"
}
compute = "string"
deploymentConfiguration = {
deploymentConfigurationType = "string"
// For remaining properties, see BatchDeploymentConfiguration objects
}
description = "string"
environmentId = "string"
environmentVariables = {
{customized property} = "string"
}
errorThreshold = int
loggingLevel = "string"
maxConcurrencyPerInstance = int
miniBatchSize = int
model = {
referenceType = "string"
// For remaining properties, see AssetReferenceBase objects
}
outputAction = "string"
outputFileName = "string"
properties = {
{customized property} = "string"
}
resources = {
instanceCount = int
instanceType = "string"
locations = [
"string"
]
maxInstanceCount = int
properties = {}
}
retrySettings = {
maxRetries = int
timeout = "string"
}
}
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
kind = "string"
})
}
BatchDeploymentConfiguration 개체
deploymentConfigurationType 속성을 설정하여 개체 유형을 지정합니다.
PipelineComponent경우 다음을 사용합니다.
deploymentConfigurationType = "PipelineComponent"
componentId = {
assetId = "string"
referenceType = "string"
}
description = "string"
settings = {
{customized property} = "string"
}
tags = {}
AssetReferenceBase 개체
referenceType 속성을 설정하여 개체 유형을 지정합니다.
DataPath경우 다음을 사용합니다.
referenceType = "DataPath"
datastoreId = "string"
path = "string"
ID경우 다음을 사용합니다.
referenceType = "Id"
assetId = "string"
OutputPath경우 다음을 사용합니다.
referenceType = "OutputPath"
jobId = "string"
path = "string"
속성 값
workspaces/batchEndpoints/deployments
이름 | 묘사 | 값 |
---|---|---|
형 | 리소스 종류 | "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2024-04-01-preview" |
이름 | 리소스 이름 | string(필수) |
위치 | 리소스가 있는 지리적 위치 | string(필수) |
parent_id | 이 리소스의 부모인 리소스의 ID입니다. | 형식 리소스에 대한 ID: batchEndpoints |
태그 | 리소스 태그. | 태그 이름 및 값의 사전입니다. |
sku | 자동 크기 조정을 위한 ARM 계약에 필요한 SKU 세부 정보입니다. | Sku |
종류 | 포털/도구/등에서 동일한 형식의 리소스에 대해 다른 UX 환경을 렌더링하는 데 사용되는 메타데이터입니다. | 문자열 |
신원 | 관리 서비스 ID(시스템 할당 및/또는 사용자 할당 ID) | ManagedServiceIdentity |
속성 | [필수] 엔터티의 추가 특성입니다. | BatchDeploymentProperties(필수) |
ManagedServiceIdentity
이름 | 묘사 | 값 |
---|---|---|
형 | 관리 서비스 ID의 유형입니다(SystemAssigned 및 UserAssigned 형식이 모두 허용되는 경우). | "SystemAssigned" "SystemAssigned,UserAssigned" "UserAssigned"(필수) |
identity_ids | 리소스와 연결된 사용자 할당 ID 집합입니다. userAssignedIdentities 사전 키는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} 형식의 ARM 리소스 ID입니다. 사전 값은 요청에서 빈 개체({})일 수 있습니다. | 사용자 ID ID의 배열입니다. |
UserAssignedIdentities
이름 | 묘사 | 값 |
---|---|---|
{customized property} | UserAssignedIdentity |
UserAssignedIdentity
이 개체에는 배포 중에 설정할 속성이 없습니다. 모든 속성은 ReadOnly입니다.
BatchDeploymentProperties
이름 | 묘사 | 값 |
---|---|---|
codeConfiguration | 엔드포인트 배포에 대한 코드 구성입니다. | codeConfiguration |
계산 | 일괄 처리 유추 작업의 컴퓨팅 대상입니다. | 문자열 |
deploymentConfiguration | 다양한 배포 유형과 관련된 속성입니다. | BatchDeploymentConfiguration |
묘사 | 엔드포인트 배포에 대한 설명입니다. | 문자열 |
environmentId | 엔드포인트 배포에 대한 환경 사양의 ARM 리소스 ID입니다. | 문자열 |
environmentVariables | 배포에 대한 환경 변수 구성입니다. | EndpointDeploymentPropertiesBaseEnvironmentVariables |
errorThreshold | 전체 입력에 대한 오류 수가 이 값보다 높은 경우 오류 임계값 일괄 처리 유추가 중단됩니다. 범위는 [-1, int입니다. MaxValue]. FileDataset의 경우 이 값은 파일 오류 수입니다. TabularDataset의 경우 이 값은 레코드 오류의 수입니다. -1(하한)로 설정하면 일괄 처리 유추 중 모든 오류가 무시됩니다. |
int |
loggingLevel | 일괄 처리 유추 작업의 로깅 수준입니다. | "디버그" "정보" "경고" |
maxConcurrencyPerInstance | 인스턴스당 최대 병렬 처리 수를 나타냅니다. | int |
miniBatchSize | 각 일괄 처리 호출에 전달된 미니 일괄 처리의 크기입니다. FileDataset의 경우 미니 일괄 처리당 파일 수입니다. TabularDataset의 경우 미니 일괄 처리당 레코드 크기(바이트)입니다. |
int |
모델 | 엔드포인트 배포에 대한 모델 자산에 대한 참조입니다. | assetReferenceBase |
outputAction | 출력을 구성하는 방법을 나타냅니다. | "AppendRow" "SummaryOnly" |
outputFileName | append_row 출력 작업에 대한 사용자 지정된 출력 파일 이름입니다. | 문자열 |
속성 | 속성 사전입니다. 속성을 추가할 수 있지만 제거하거나 변경할 수는 없습니다. | EndpointDeploymentPropertiesBaseProperties |
리소스 | 작업에 대한 컴퓨팅 구성을 나타냅니다. 제공되지 않으면 기본적으로 ResourceConfiguration에 정의된 기본값으로 설정됩니다. |
DeploymentResourceConfiguration |
retrySettings | 일괄 처리 유추 작업에 대한 다시 시도 설정입니다. 제공되지 않으면 기본적으로 BatchRetrySettings에 정의된 기본값으로 설정됩니다. |
BatchRetrySettings |
CodeConfiguration
이름 | 묘사 | 값 |
---|---|---|
codeId | 코드 자산의 ARM 리소스 ID입니다. | 문자열 |
scoringScript | [필수] 시작할 때 실행할 스크립트입니다. 예. "score.py" | string(필수) 제약 조건: 최소 길이 = 1 패턴 = [a-zA-Z0-9_] |
BatchDeploymentConfiguration
이름 | 묘사 | 값 |
---|---|---|
deploymentConfigurationType | 개체 유형 설정 | PipelineComponent(필수) |
BatchPipelineComponentDeploymentConfiguration
이름 | 묘사 | 값 |
---|---|---|
deploymentConfigurationType | [필수] 배포 유형 | "PipelineComponent"(필수) |
componentId | 실행할 구성 요소의 ARM ID입니다. | IdAssetReference |
묘사 | 작업에 적용할 설명입니다. | 문자열 |
설정 | 파이프라인 작업에 대한 런타임 설정입니다. | BatchPipelineComponentDeploymentConfigurationSetting... |
태그 | 작업에 적용할 태그입니다. | 객체 |
IdAssetReference
이름 | 묘사 | 값 |
---|---|---|
assetId | [필수] 자산의 ARM 리소스 ID입니다. | string(필수) 제약 조건: 최소 길이 = 1 패턴 = [a-zA-Z0-9_] |
referenceType | [필수] 자산 참조의 형식을 지정합니다. | "DataPath" "Id" "OutputPath"(필수) |
BatchPipelineComponentDeploymentConfigurationSetting...
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
EndpointDeploymentPropertiesBaseEnvironmentVariables
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
AssetReferenceBase
이름 | 묘사 | 값 |
---|---|---|
referenceType | 개체 유형 설정 | dataPath ID OutputPath(필수) |
DataPathAssetReference
이름 | 묘사 | 값 |
---|---|---|
referenceType | [필수] 자산 참조의 형식을 지정합니다. | "DataPath"(필수) |
datastoreId | 자산이 있는 데이터 저장소의 ARM 리소스 ID입니다. | 문자열 |
길 | 데이터 저장소의 파일/디렉터리의 경로입니다. | 문자열 |
OutputPathAssetReference
이름 | 묘사 | 값 |
---|---|---|
referenceType | [필수] 자산 참조의 형식을 지정합니다. | "OutputPath"(필수) |
jobId | 작업의 ARM 리소스 ID입니다. | 문자열 |
길 | 작업 출력에 있는 파일/디렉터리의 경로입니다. | 문자열 |
EndpointDeploymentPropertiesBaseProperties
이름 | 묘사 | 값 |
---|---|---|
{customized property} | 문자열 |
DeploymentResourceConfiguration
이름 | 묘사 | 값 |
---|---|---|
instanceCount | 컴퓨팅 대상에서 사용하는 인스턴스 또는 노드의 선택적 수입니다. | int |
instanceType | 컴퓨팅 대상에서 지원하는 VM의 선택적 형식입니다. | 문자열 |
위치 | 작업을 실행할 수 있는 위치입니다. | string[] |
maxInstanceCount | 컴퓨팅 대상에서 사용할 인스턴스 또는 노드의 선택적 최대 허용 수입니다. 탄력적 학습에 사용하기 위해 현재 PyTorch 배포 유형에서만 지원됩니다. |
int |
속성 | 추가 속성 모음. | resourceConfigurationProperties |
ResourceConfigurationProperties
이름 | 묘사 | 값 |
---|---|---|
{customized property} |
BatchRetrySettings
이름 | 묘사 | 값 |
---|---|---|
maxRetries | 미니 일괄 처리에 대한 최대 재시도 횟수 | int |
타임 아웃 | ISO 8601 형식의 미니 일괄 처리에 대한 호출 시간 제한입니다. | 문자열 |
Sku
이름 | 묘사 | 값 |
---|---|---|
용량 | SKU가 스케일 아웃/인을 지원하는 경우 용량 정수가 포함되어야 합니다. 리소스에 대해 스케일 아웃/인이 불가능한 경우 생략할 수 있습니다. | int |
가족 | 서비스에 여러 세대의 하드웨어가 있는 경우 동일한 SKU에 대해 여기에서 캡처할 수 있습니다. | 문자열 |
이름 | SKU의 이름입니다. 예 - P3. 일반적으로 letter+number 코드입니다. | string(필수) |
크기 | SKU 크기입니다. 이름 필드가 계층과 다른 값의 조합인 경우 독립 실행형 코드입니다. | 문자열 |
계층 | 이 필드는 서비스에 둘 이상의 계층이 있지만 PUT에는 필요하지 않은 경우 리소스 공급자가 구현해야 합니다. | "기본" "무료" "프리미엄" "표준" |