Bicep 資源定義
sageMakerApps 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.AwsConnector/sageMakerApps 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.AwsConnector/sageMakerApps@2024-12-01' = {
location: 'string'
name: 'string'
properties: {
arn: 'string'
awsAccountId: 'string'
awsProperties: {
appArn: 'string'
appName: 'string'
appType: 'string'
domainId: 'string'
resourceSpec: {
instanceType: 'string'
sageMakerImageArn: 'string'
sageMakerImageVersionArn: 'string'
}
tags: [
{
key: 'string'
value: 'string'
}
]
userProfileName: 'string'
}
awsRegion: 'string'
awsSourceSchema: 'string'
awsTags: {
{customized property}: 'string'
}
publicCloudConnectorsResourceId: 'string'
publicCloudResourceName: 'string'
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.AwsConnector/sageMakerApps
| 名字 | 描述 | 價值 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必要) |
| 性能 | 此資源的資源特定屬性。 | SageMakerApp屬性 |
| 標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
AwsSageMakerApp屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| appArn | 應用程式的 Amazon 資源名稱 (ARN)。 | 字串 |
| 應用程式名稱 | 應用程式的名稱。 | 字串 |
| 應用程式類型 | 應用程式的類型。 | “畫布” “JupyterServer” '內核網關' 'RSessionGateway' 'RStudioServerPro' |
| 域ID | 網域標識碼。 | 字串 |
| resourceSpec 的 | 實例類型和實例上建立之SageMaker映像的 Amazon 資源名稱(ARN)。 | 資源規格 |
| 標籤 | 要套用至應用程式的標籤清單。 | 標籤自動生成51 |
| userProfileName (使用者設定檔名稱) | 使用者配置檔名稱。 | 字串 |
資源規格
| 名字 | 描述 | 價值 |
|---|---|---|
| instanceType | 映像版本執行的實例類型。 | “ml.c5.12xlarge” “ml.c5.18xlarge” “ml.c5.24xlarge” “ml.c5.2xlarge” “ml.c5.4xlarge” “ml.c5.9xlarge” “ml.c5.large” “ml.c5.xlarge” “ml.g4dn.12xlarge” “ml.g4dn.16xlarge” “ml.g4dn.2xlarge” 'ml.g4dn.4xlarge' 'ml.g4dn.8xlarge' “ml.g4dn.xlarge” “ml.g5.12xlarge” “ml.g5.16xlarge” “ml.g5.24xlarge” “ml.g5.2xlarge” “ml.g5.48xlarge” “ml.g5.4xlarge” “ml.g5.8xlarge” “ml.g5.xlarge” “ml.geospatial.interactive” “ml.m5.12xlarge” “ml.m5.16xlarge” “ml.m5.24xlarge” “ml.m5.2xlarge” “ml.m5.4xlarge” “ml.m5.8xlarge” “ml.m5.large” “ml.m5.xlarge” “ml.m5d.12xlarge” “ml.m5d.16xlarge” “ml.m5d.24xlarge” “ml.m5d.2xlarge” 'ml.m5d.4xlarge' “ml.m5d.8xlarge” “ml.m5d.large” “ml.m5d.xlarge” “ml.p3.16xlarge” “ml.p3.2xlarge” “ml.p3.8xlarge” 'ml.p3dn.24xlarge' “ml.p4d.24xlarge” “ml.p4de.24xlarge” “ml.r5.12xlarge” “ml.r5.16xlarge” “ml.r5.24xlarge” “ml.r5.2xlarge” “ml.r5.4xlarge” “ml.r5.8xlarge” “ml.r5.large” “ml.r5.xlarge” “ml.t3.2xlarge” “ml.t3.large” “ml.t3.medium” “ml.t3.micro” “ml.t3.small” “ml.t3.xlarge” “ml.trn1.2xlarge” “ml.trn1.32xlarge” “ml.trn1n.32xlarge” '系統' |
| sageMakerImageArn | 映像版本所屬 SageMaker 映射的 ARN。 | 字串 |
| sageMakerImageVersionArn | 實例上建立之映像版本的 ARN。 | 字串 |
SageMakerApp屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| 阿恩 | Amazon 資源名稱 (ARN) | 字串 |
| awsAccountId | AWS 帳戶標識碼 | 字串 |
| awsProperties | AWS 屬性 | AwsSageMakerApp屬性 |
| awsRegion | AWS 區域 | 字串 |
| awsSourceSchema | AWS 來源架構 | 字串 |
| aws標籤 | AWS 標籤 | SageMakerAppPropertiesAws標籤 |
| publicCloudConnectorsResourceId | 公用雲端連接器資源標識碼 | 字串 |
| publicCloudResourceName (公共雲資源名稱) | 公用雲端資源名稱 | 字串 |
SageMakerAppPropertiesAws標籤
| 名字 | 描述 | 價值 |
|---|
標籤自動生成51
| 名字 | 描述 | 價值 |
|---|---|---|
| Key | 屬性索引鍵 | 字串 |
| 價值 | 屬性值 | 字串 |
TrackedResourceTags
| 名字 | 描述 | 價值 |
|---|
ARM 樣本資源定義
sageMakerApps 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.AwsConnector/sageMakerApps 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.AwsConnector/sageMakerApps",
"apiVersion": "2024-12-01",
"name": "string",
"location": "string",
"properties": {
"arn": "string",
"awsAccountId": "string",
"awsProperties": {
"appArn": "string",
"appName": "string",
"appType": "string",
"domainId": "string",
"resourceSpec": {
"instanceType": "string",
"sageMakerImageArn": "string",
"sageMakerImageVersionArn": "string"
},
"tags": [
{
"key": "string",
"value": "string"
}
],
"userProfileName": "string"
},
"awsRegion": "string",
"awsSourceSchema": "string",
"awsTags": {
"{customized property}": "string"
},
"publicCloudConnectorsResourceId": "string",
"publicCloudResourceName": "string"
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.AwsConnector/sageMakerApps
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2024-12-01' |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必要) |
| 性能 | 此資源的資源特定屬性。 | SageMakerApp屬性 |
| 標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 | 資源類型 | “Microsoft.AwsConnector/sageMakerApps” |
AwsSageMakerApp屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| appArn | 應用程式的 Amazon 資源名稱 (ARN)。 | 字串 |
| 應用程式名稱 | 應用程式的名稱。 | 字串 |
| 應用程式類型 | 應用程式的類型。 | “畫布” “JupyterServer” '內核網關' 'RSessionGateway' 'RStudioServerPro' |
| 域ID | 網域標識碼。 | 字串 |
| resourceSpec 的 | 實例類型和實例上建立之SageMaker映像的 Amazon 資源名稱(ARN)。 | 資源規格 |
| 標籤 | 要套用至應用程式的標籤清單。 | 標籤自動生成51 |
| userProfileName (使用者設定檔名稱) | 使用者配置檔名稱。 | 字串 |
資源規格
| 名字 | 描述 | 價值 |
|---|---|---|
| instanceType | 映像版本執行的實例類型。 | “ml.c5.12xlarge” “ml.c5.18xlarge” “ml.c5.24xlarge” “ml.c5.2xlarge” “ml.c5.4xlarge” “ml.c5.9xlarge” “ml.c5.large” “ml.c5.xlarge” “ml.g4dn.12xlarge” “ml.g4dn.16xlarge” “ml.g4dn.2xlarge” 'ml.g4dn.4xlarge' 'ml.g4dn.8xlarge' “ml.g4dn.xlarge” “ml.g5.12xlarge” “ml.g5.16xlarge” “ml.g5.24xlarge” “ml.g5.2xlarge” “ml.g5.48xlarge” “ml.g5.4xlarge” “ml.g5.8xlarge” “ml.g5.xlarge” “ml.geospatial.interactive” “ml.m5.12xlarge” “ml.m5.16xlarge” “ml.m5.24xlarge” “ml.m5.2xlarge” “ml.m5.4xlarge” “ml.m5.8xlarge” “ml.m5.large” “ml.m5.xlarge” “ml.m5d.12xlarge” “ml.m5d.16xlarge” “ml.m5d.24xlarge” “ml.m5d.2xlarge” 'ml.m5d.4xlarge' “ml.m5d.8xlarge” “ml.m5d.large” “ml.m5d.xlarge” “ml.p3.16xlarge” “ml.p3.2xlarge” “ml.p3.8xlarge” 'ml.p3dn.24xlarge' “ml.p4d.24xlarge” “ml.p4de.24xlarge” “ml.r5.12xlarge” “ml.r5.16xlarge” “ml.r5.24xlarge” “ml.r5.2xlarge” “ml.r5.4xlarge” “ml.r5.8xlarge” “ml.r5.large” “ml.r5.xlarge” “ml.t3.2xlarge” “ml.t3.large” “ml.t3.medium” “ml.t3.micro” “ml.t3.small” “ml.t3.xlarge” “ml.trn1.2xlarge” “ml.trn1.32xlarge” “ml.trn1n.32xlarge” '系統' |
| sageMakerImageArn | 映像版本所屬 SageMaker 映射的 ARN。 | 字串 |
| sageMakerImageVersionArn | 實例上建立之映像版本的 ARN。 | 字串 |
SageMakerApp屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| 阿恩 | Amazon 資源名稱 (ARN) | 字串 |
| awsAccountId | AWS 帳戶標識碼 | 字串 |
| awsProperties | AWS 屬性 | AwsSageMakerApp屬性 |
| awsRegion | AWS 區域 | 字串 |
| awsSourceSchema | AWS 來源架構 | 字串 |
| aws標籤 | AWS 標籤 | SageMakerAppPropertiesAws標籤 |
| publicCloudConnectorsResourceId | 公用雲端連接器資源標識碼 | 字串 |
| publicCloudResourceName (公共雲資源名稱) | 公用雲端資源名稱 | 字串 |
SageMakerAppPropertiesAws標籤
| 名字 | 描述 | 價值 |
|---|
標籤自動生成51
| 名字 | 描述 | 價值 |
|---|---|---|
| Key | 屬性索引鍵 | 字串 |
| 價值 | 屬性值 | 字串 |
TrackedResourceTags
| 名字 | 描述 | 價值 |
|---|
使用範例
Terraform (AzAPI 提供者) 資源定義
sageMakerApps 資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.AwsConnector/sageMakerApps 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AwsConnector/sageMakerApps@2024-12-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
arn = "string"
awsAccountId = "string"
awsProperties = {
appArn = "string"
appName = "string"
appType = "string"
domainId = "string"
resourceSpec = {
instanceType = "string"
sageMakerImageArn = "string"
sageMakerImageVersionArn = "string"
}
tags = [
{
key = "string"
value = "string"
}
]
userProfileName = "string"
}
awsRegion = "string"
awsSourceSchema = "string"
awsTags = {
{customized property} = "string"
}
publicCloudConnectorsResourceId = "string"
publicCloudResourceName = "string"
}
}
}
屬性值
Microsoft.AwsConnector/sageMakerApps
| 名字 | 描述 | 價值 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必要) |
| 性能 | 此資源的資源特定屬性。 | SageMakerApp屬性 |
| 標籤 | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | “Microsoft.AwsConnector/sageMakerApps@2024-12-01” |
AwsSageMakerApp屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| appArn | 應用程式的 Amazon 資源名稱 (ARN)。 | 字串 |
| 應用程式名稱 | 應用程式的名稱。 | 字串 |
| 應用程式類型 | 應用程式的類型。 | “畫布” “JupyterServer” '內核網關' 'RSessionGateway' 'RStudioServerPro' |
| 域ID | 網域標識碼。 | 字串 |
| resourceSpec 的 | 實例類型和實例上建立之SageMaker映像的 Amazon 資源名稱(ARN)。 | 資源規格 |
| 標籤 | 要套用至應用程式的標籤清單。 | 標籤自動生成51 |
| userProfileName (使用者設定檔名稱) | 使用者配置檔名稱。 | 字串 |
資源規格
| 名字 | 描述 | 價值 |
|---|---|---|
| instanceType | 映像版本執行的實例類型。 | “ml.c5.12xlarge” “ml.c5.18xlarge” “ml.c5.24xlarge” “ml.c5.2xlarge” “ml.c5.4xlarge” “ml.c5.9xlarge” “ml.c5.large” “ml.c5.xlarge” “ml.g4dn.12xlarge” “ml.g4dn.16xlarge” “ml.g4dn.2xlarge” 'ml.g4dn.4xlarge' 'ml.g4dn.8xlarge' “ml.g4dn.xlarge” “ml.g5.12xlarge” “ml.g5.16xlarge” “ml.g5.24xlarge” “ml.g5.2xlarge” “ml.g5.48xlarge” “ml.g5.4xlarge” “ml.g5.8xlarge” “ml.g5.xlarge” “ml.geospatial.interactive” “ml.m5.12xlarge” “ml.m5.16xlarge” “ml.m5.24xlarge” “ml.m5.2xlarge” “ml.m5.4xlarge” “ml.m5.8xlarge” “ml.m5.large” “ml.m5.xlarge” “ml.m5d.12xlarge” “ml.m5d.16xlarge” “ml.m5d.24xlarge” “ml.m5d.2xlarge” 'ml.m5d.4xlarge' “ml.m5d.8xlarge” “ml.m5d.large” “ml.m5d.xlarge” “ml.p3.16xlarge” “ml.p3.2xlarge” “ml.p3.8xlarge” 'ml.p3dn.24xlarge' “ml.p4d.24xlarge” “ml.p4de.24xlarge” “ml.r5.12xlarge” “ml.r5.16xlarge” “ml.r5.24xlarge” “ml.r5.2xlarge” “ml.r5.4xlarge” “ml.r5.8xlarge” “ml.r5.large” “ml.r5.xlarge” “ml.t3.2xlarge” “ml.t3.large” “ml.t3.medium” “ml.t3.micro” “ml.t3.small” “ml.t3.xlarge” “ml.trn1.2xlarge” “ml.trn1.32xlarge” “ml.trn1n.32xlarge” '系統' |
| sageMakerImageArn | 映像版本所屬 SageMaker 映射的 ARN。 | 字串 |
| sageMakerImageVersionArn | 實例上建立之映像版本的 ARN。 | 字串 |
SageMakerApp屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| 阿恩 | Amazon 資源名稱 (ARN) | 字串 |
| awsAccountId | AWS 帳戶標識碼 | 字串 |
| awsProperties | AWS 屬性 | AwsSageMakerApp屬性 |
| awsRegion | AWS 區域 | 字串 |
| awsSourceSchema | AWS 來源架構 | 字串 |
| aws標籤 | AWS 標籤 | SageMakerAppPropertiesAws標籤 |
| publicCloudConnectorsResourceId | 公用雲端連接器資源標識碼 | 字串 |
| publicCloudResourceName (公共雲資源名稱) | 公用雲端資源名稱 | 字串 |
SageMakerAppPropertiesAws標籤
| 名字 | 描述 | 價值 |
|---|
標籤自動生成51
| 名字 | 描述 | 價值 |
|---|---|---|
| Key | 屬性索引鍵 | 字串 |
| 價值 | 屬性值 | 字串 |
TrackedResourceTags
| 名字 | 描述 | 價值 |
|---|