Integration Account Assemblies - Create Or Update
为集成帐户创建或更新程序集。
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/assemblies/{assemblyArtifactName}?api-version=2016-06-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
assembly
|
path | True |
string |
程序集项目名称。 |
|
integration
|
path | True |
string |
集成帐户名称。 |
|
resource
|
path | True |
string |
资源组名称。 |
|
subscription
|
path | True |
string |
订阅 ID。 |
|
api-version
|
query | True |
string |
API 版本。 |
请求正文
| 名称 | 必需 | 类型 | 说明 |
|---|---|---|---|
| properties | True |
程序集属性。 |
|
| location |
string |
资源位置。 |
|
| tags |
object |
资源标记。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
还行 |
|
| 201 Created |
创建 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
Create or update an account assembly
示例请求
PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly?api-version=2016-06-01
{
"properties": {
"assemblyName": "System.IdentityModel.Tokens.Jwt",
"content": "Base64 encoded Assembly Content",
"metadata": {}
},
"location": "westus"
}
示例响应
{
"properties": {
"assemblyName": "System.IdentityModel.Tokens.Jwt",
"assemblyVersion": "0.0.0.0",
"contentLink": {
"uri": "<Uri>",
"contentVersion": "\"0x8D45CE54B058881\"",
"contentSize": 3056,
"contentHash": {
"algorithm": "md5",
"value": "A2avz/M0ov2FPI3+Je8vDw=="
}
},
"createdTime": "2017-02-24T18:45:23.4129778Z",
"changedTime": "2017-02-24T18:45:23.4137139Z",
"metadata": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly",
"name": "testAssembly",
"type": "Microsoft.Logic/integrationAccounts/assemblies"
}
{
"properties": {
"assemblyName": "System.IdentityModel.Tokens.Jwt",
"assemblyVersion": "0.0.0.0",
"contentLink": {
"uri": "<Uri>",
"contentVersion": "\"0x8D45CE54B058881\"",
"contentSize": 3056,
"contentHash": {
"algorithm": "md5",
"value": "A2avz/M0ov2FPI3+Je8vDw=="
}
},
"createdTime": "2017-02-24T18:45:23.4129778Z",
"changedTime": "2017-02-24T18:45:23.4137139Z",
"metadata": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/assemblies/testAssembly",
"name": "testAssembly",
"type": "Microsoft.Logic/integrationAccounts/assemblies"
}
定义
| 名称 | 说明 |
|---|---|
|
Assembly |
程序集定义。 |
|
Assembly |
程序集属性定义。 |
|
Content |
内容哈希。 |
|
Content |
内容链接。 |
| Object |
AssemblyDefinition
程序集定义。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| location |
string |
资源位置。 |
| name |
string |
获取资源名称。 |
| properties |
程序集属性。 |
|
| tags |
object |
资源标记。 |
| type |
string |
获取资源类型。 |
AssemblyProperties
程序集属性定义。
| 名称 | 类型 | 说明 |
|---|---|---|
| assemblyCulture |
string |
程序集区域性。 |
| assemblyName |
string |
程序集名称。 |
| assemblyPublicKeyToken |
string |
程序集公钥令牌。 |
| assemblyVersion |
string |
程序集版本。 |
| changedTime |
string (date-time) |
项目更改时间。 |
| content | ||
| contentLink |
内容链接。 |
|
| contentType |
string |
内容类型。 |
| createdTime |
string (date-time) |
项目创建时间。 |
| metadata |
ContentHash
内容哈希。
| 名称 | 类型 | 说明 |
|---|---|---|
| algorithm |
string |
内容哈希的算法。 |
| value |
string |
内容哈希的值。 |
ContentLink
内容链接。
| 名称 | 类型 | 说明 |
|---|---|---|
| contentHash |
内容哈希。 |
|
| contentSize |
integer (int64) |
内容大小。 |
| contentVersion |
string |
内容版本。 |
| metadata |
元数据。 |
|
| uri |
string |
内容链接 URI。 |