你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Microsoft.Aws连接器 sageMakerApps 2024-12-01

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

名字 描述 价值
位置 资源所在的地理位置 string (必需)
名字 资源名称 字符串

约束:
模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必需)
性能 此资源的资源特定属性。 SageMakerApp属性
标签 资源标记 标记名称和值的字典。 请参阅模板 中的 标记

AwsSageMakerApp属性

名字 描述 价值
appArn 应用的 Amazon 资源名称(ARN)。 字符串
应用名称 应用的名称。 字符串
应用类型 应用的类型。 “Canvas”
“JupyterServer”
“KernelGateway”
“RSessionGateway”
“RStudioServerPro”
域 ID 域 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”
“system”
sageMakerImageArn 映像版本的 SageMaker 映像的 ARN。 字符串
sageMakerImageVersionArn 在实例上创建的映像版本的 ARN。 字符串

SageMakerApp属性

名字 描述 价值
阿恩 Amazon 资源名称 (ARN) 字符串
awsAccountId AWS 帐户 ID 字符串
awsProperties AWS 属性 AwsSageMakerApp属性
awsRegion AWS 区域 字符串
awsSourceSchema AWS 源架构 字符串
aws标签 AWS 标记 SageMakerAppPropertiesAws标签
publicCloudConnectorsResourceId 公有云连接器资源 ID 字符串
publicCloudResourceName (公共云资源名称) 公有云资源名称 字符串

SageMakerAppPropertiesAws标签

名字 描述 价值

标签自动生成51

名字 描述 价值
钥匙 属性键 字符串
价值 属性值 字符串

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'
位置 资源所在的地理位置 string (必需)
名字 资源名称 字符串

约束:
模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必需)
性能 此资源的资源特定属性。 SageMakerApp属性
标签 资源标记 标记名称和值的字典。 请参阅模板 中的 标记
类型 资源类型 “Microsoft.AwsConnector/sageMakerApps”

AwsSageMakerApp属性

名字 描述 价值
appArn 应用的 Amazon 资源名称(ARN)。 字符串
应用名称 应用的名称。 字符串
应用类型 应用的类型。 “Canvas”
“JupyterServer”
“KernelGateway”
“RSessionGateway”
“RStudioServerPro”
域 ID 域 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”
“system”
sageMakerImageArn 映像版本的 SageMaker 映像的 ARN。 字符串
sageMakerImageVersionArn 在实例上创建的映像版本的 ARN。 字符串

SageMakerApp属性

名字 描述 价值
阿恩 Amazon 资源名称 (ARN) 字符串
awsAccountId AWS 帐户 ID 字符串
awsProperties AWS 属性 AwsSageMakerApp属性
awsRegion AWS 区域 字符串
awsSourceSchema AWS 源架构 字符串
aws标签 AWS 标记 SageMakerAppPropertiesAws标签
publicCloudConnectorsResourceId 公有云连接器资源 ID 字符串
publicCloudResourceName (公共云资源名称) 公有云资源名称 字符串

SageMakerAppPropertiesAws标签

名字 描述 价值

标签自动生成51

名字 描述 价值
钥匙 属性键 字符串
价值 属性值 字符串

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

名字 描述 价值
位置 资源所在的地理位置 string (必需)
名字 资源名称 字符串

约束:
模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必需)
性能 此资源的资源特定属性。 SageMakerApp属性
标签 资源标记 标记名称和值的字典。
类型 资源类型 “Microsoft.AwsConnector/sageMakerApps@2024-12-01”

AwsSageMakerApp属性

名字 描述 价值
appArn 应用的 Amazon 资源名称(ARN)。 字符串
应用名称 应用的名称。 字符串
应用类型 应用的类型。 “Canvas”
“JupyterServer”
“KernelGateway”
“RSessionGateway”
“RStudioServerPro”
域 ID 域 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”
“system”
sageMakerImageArn 映像版本的 SageMaker 映像的 ARN。 字符串
sageMakerImageVersionArn 在实例上创建的映像版本的 ARN。 字符串

SageMakerApp属性

名字 描述 价值
阿恩 Amazon 资源名称 (ARN) 字符串
awsAccountId AWS 帐户 ID 字符串
awsProperties AWS 属性 AwsSageMakerApp属性
awsRegion AWS 区域 字符串
awsSourceSchema AWS 源架构 字符串
aws标签 AWS 标记 SageMakerAppPropertiesAws标签
publicCloudConnectorsResourceId 公有云连接器资源 ID 字符串
publicCloudResourceName (公共云资源名称) 公有云资源名称 字符串

SageMakerAppPropertiesAws标签

名字 描述 价值

标签自动生成51

名字 描述 价值
钥匙 属性键 字符串
价值 属性值 字符串

TrackedResourceTags

名字 描述 价值