Bicep 資源定義
ec2RouteTables 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.AwsConnector/ec2RouteTables 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.AwsConnector/ec2RouteTables@2024-12-01' = {
location: 'string'
name: 'string'
properties: {
arn: 'string'
awsAccountId: 'string'
awsProperties: {
routeTableId: 'string'
tags: [
{
key: 'string'
value: 'string'
}
]
vpcId: 'string'
}
awsRegion: 'string'
awsSourceSchema: 'string'
awsTags: {
{customized property}: 'string'
}
publicCloudConnectorsResourceId: 'string'
publicCloudResourceName: 'string'
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.AwsConnector/ec2RouteTables
| 名字 |
描述 |
價值 |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| 名字 |
資源名稱 |
字串
約束: 模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必要) |
| 性能 |
此資源的資源特定屬性。 |
Ec2RouteTable屬性 |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 請參閱範本中的 標籤 |
AwsEc2RouteTable屬性
| 名字 |
描述 |
價值 |
| routeTableId |
屬性 routeTableId |
字串 |
| 標籤 |
指派給路由表的任何標籤。 |
標籤自動生成17 |
| vpId |
網吧的標識碼。 |
字串 |
Ec2RouteTable屬性
| 名字 |
描述 |
價值 |
| 阿恩 |
Amazon 資源名稱 (ARN) |
字串 |
| awsAccountId |
AWS 帳戶標識碼 |
字串 |
| awsProperties |
AWS 屬性 |
AwsEc2RouteTable屬性 |
| awsRegion |
AWS 區域 |
字串 |
| awsSourceSchema |
AWS 來源架構 |
字串 |
| aws標籤 |
AWS 標籤 |
Ec2RouteTablePropertiesAwsTags |
| publicCloudConnectorsResourceId |
公用雲端連接器資源標識碼 |
字串 |
| publicCloudResourceName (公共雲資源名稱) |
公用雲端資源名稱 |
字串 |
標籤自動生成17
| 名字 |
描述 |
價值 |
| Key |
標記索引鍵。 |
字串 |
| 價值 |
標籤值。 |
字串 |
ARM 樣本資源定義
ec2RouteTables 資源類型可以使用目標作業來部署:
使用範例
若要建立 Microsoft.AwsConnector/ec2RouteTables 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.AwsConnector/ec2RouteTables",
"apiVersion": "2024-12-01",
"name": "string",
"location": "string",
"properties": {
"arn": "string",
"awsAccountId": "string",
"awsProperties": {
"routeTableId": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"vpcId": "string"
},
"awsRegion": "string",
"awsSourceSchema": "string",
"awsTags": {
"{customized property}": "string"
},
"publicCloudConnectorsResourceId": "string",
"publicCloudResourceName": "string"
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.AwsConnector/ec2RouteTables
| 名字 |
描述 |
價值 |
| apiVersion |
API 版本 |
'2024-12-01' |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| 名字 |
資源名稱 |
字串
約束: 模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必要) |
| 性能 |
此資源的資源特定屬性。 |
Ec2RouteTable屬性 |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 |
資源類型 |
“Microsoft.AwsConnector/ec2RouteTables” |
AwsEc2RouteTable屬性
| 名字 |
描述 |
價值 |
| routeTableId |
屬性 routeTableId |
字串 |
| 標籤 |
指派給路由表的任何標籤。 |
標籤自動生成17 |
| vpId |
網吧的標識碼。 |
字串 |
Ec2RouteTable屬性
| 名字 |
描述 |
價值 |
| 阿恩 |
Amazon 資源名稱 (ARN) |
字串 |
| awsAccountId |
AWS 帳戶標識碼 |
字串 |
| awsProperties |
AWS 屬性 |
AwsEc2RouteTable屬性 |
| awsRegion |
AWS 區域 |
字串 |
| awsSourceSchema |
AWS 來源架構 |
字串 |
| aws標籤 |
AWS 標籤 |
Ec2RouteTablePropertiesAwsTags |
| publicCloudConnectorsResourceId |
公用雲端連接器資源標識碼 |
字串 |
| publicCloudResourceName (公共雲資源名稱) |
公用雲端資源名稱 |
字串 |
標籤自動生成17
| 名字 |
描述 |
價值 |
| Key |
標記索引鍵。 |
字串 |
| 價值 |
標籤值。 |
字串 |
ec2RouteTables 資源類型可以使用目標作業來部署:
-
資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
若要建立 Microsoft.AwsConnector/ec2RouteTables 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AwsConnector/ec2RouteTables@2024-12-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
arn = "string"
awsAccountId = "string"
awsProperties = {
routeTableId = "string"
tags = [
{
key = "string"
value = "string"
}
]
vpcId = "string"
}
awsRegion = "string"
awsSourceSchema = "string"
awsTags = {
{customized property} = "string"
}
publicCloudConnectorsResourceId = "string"
publicCloudResourceName = "string"
}
}
}
屬性值
Microsoft.AwsConnector/ec2RouteTables
| 名字 |
描述 |
價值 |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| 名字 |
資源名稱 |
字串
約束: 模式 = ^(?=.{0,259}[^\s.]$)(?!.*[<>%&\?/#]) (必要) |
| 性能 |
此資源的資源特定屬性。 |
Ec2RouteTable屬性 |
| 標籤 |
資源標籤 |
標記名稱和值的字典。 |
| 型別 |
資源類型 |
“Microsoft.AwsConnector/ec2RouteTables@2024-12-01” |
AwsEc2RouteTable屬性
| 名字 |
描述 |
價值 |
| routeTableId |
屬性 routeTableId |
字串 |
| 標籤 |
指派給路由表的任何標籤。 |
標籤自動生成17 |
| vpId |
網吧的標識碼。 |
字串 |
Ec2RouteTable屬性
| 名字 |
描述 |
價值 |
| 阿恩 |
Amazon 資源名稱 (ARN) |
字串 |
| awsAccountId |
AWS 帳戶標識碼 |
字串 |
| awsProperties |
AWS 屬性 |
AwsEc2RouteTable屬性 |
| awsRegion |
AWS 區域 |
字串 |
| awsSourceSchema |
AWS 來源架構 |
字串 |
| aws標籤 |
AWS 標籤 |
Ec2RouteTablePropertiesAwsTags |
| publicCloudConnectorsResourceId |
公用雲端連接器資源標識碼 |
字串 |
| publicCloudResourceName (公共雲資源名稱) |
公用雲端資源名稱 |
字串 |
標籤自動生成17
| 名字 |
描述 |
價值 |
| Key |
標記索引鍵。 |
字串 |
| 價值 |
標籤值。 |
字串 |