Maps - Create Or Update
Membuat atau memperbarui peta akun integrasi.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}?api-version=2016-06-01
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
integration
|
path | True |
string |
Nama akun integrasi. |
map
|
path | True |
string |
Nama peta akun integrasi. |
resource
|
path | True |
string |
Nama grup sumber daya. |
subscription
|
path | True |
string |
Id langganan. |
api-version
|
query | True |
string |
Versi API. |
Isi Permintaan
Nama | Diperlukan | Jenis | Deskripsi |
---|---|---|---|
properties.mapType | True |
Jenis peta. |
|
location |
string |
Lokasi sumber daya. |
|
properties.content |
Kontennya. |
||
properties.contentType |
string |
Jenis konten. |
|
properties.metadata |
Metadata. |
||
properties.parametersSchema |
Skema parameter peta akun integrasi. |
||
tags |
object |
Tag sumber daya. |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
OK |
|
201 Created |
Dibuat |
Keamanan
azure_auth
Alur OAuth2 Azure Active Directory.
Jenis:
oauth2
Alur:
implicit
URL Otorisasi:
https://login.microsoftonline.com/common/oauth2/authorize
Cakupan
Nama | Deskripsi |
---|---|
user_impersonation | meniru akun pengguna Anda |
Contoh
Create or update a map
Permintaan sampel
PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/maps/testMap?api-version=2016-06-01
{
"properties": {
"mapType": "Xslt",
"content": "<?xml version=\"1.0\" encoding=\"UTF-16\"?>\r\n<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:msxsl=\"urn:schemas-microsoft-com:xslt\" xmlns:var=\"http://schemas.microsoft.com/BizTalk/2003/var\" exclude-result-prefixes=\"msxsl var s0 userCSharp\" version=\"1.0\" xmlns:ns0=\"http://BizTalk_Server_Project4.StringFunctoidsDestinationSchema\" xmlns:s0=\"http://BizTalk_Server_Project4.StringFunctoidsSourceSchema\" xmlns:userCSharp=\"http://schemas.microsoft.com/BizTalk/2003/userCSharp\">\r\n <xsl:import href=\"http://btsfunctoids.blob.core.windows.net/functoids/functoids.xslt\" />\r\n <xsl:output omit-xml-declaration=\"yes\" method=\"xml\" version=\"1.0\" />\r\n <xsl:template match=\"/\">\r\n <xsl:apply-templates select=\"/s0:Root\" />\r\n </xsl:template>\r\n <xsl:template match=\"/s0:Root\">\r\n <xsl:variable name=\"var:v1\" select=\"userCSharp:StringFind(string(StringFindSource/text()) , "SearchString")\" />\r\n <xsl:variable name=\"var:v2\" select=\"userCSharp:StringLeft(string(StringLeftSource/text()) , "2")\" />\r\n <xsl:variable name=\"var:v3\" select=\"userCSharp:StringRight(string(StringRightSource/text()) , "2")\" />\r\n <xsl:variable name=\"var:v4\" select=\"userCSharp:StringUpperCase(string(UppercaseSource/text()))\" />\r\n <xsl:variable name=\"var:v5\" select=\"userCSharp:StringLowerCase(string(LowercaseSource/text()))\" />\r\n <xsl:variable name=\"var:v6\" select=\"userCSharp:StringSize(string(SizeSource/text()))\" />\r\n <xsl:variable name=\"var:v7\" select=\"userCSharp:StringSubstring(string(StringExtractSource/text()) , "0" , "2")\" />\r\n <xsl:variable name=\"var:v8\" select=\"userCSharp:StringConcat(string(StringConcatSource/text()))\" />\r\n <xsl:variable name=\"var:v9\" select=\"userCSharp:StringTrimLeft(string(StringLeftTrimSource/text()))\" />\r\n <xsl:variable name=\"var:v10\" select=\"userCSharp:StringTrimRight(string(StringRightTrimSource/text()))\" />\r\n <ns0:Root>\r\n <StringFindDestination>\r\n <xsl:value-of select=\"$var:v1\" />\r\n </StringFindDestination>\r\n <StringLeftDestination>\r\n <xsl:value-of select=\"$var:v2\" />\r\n </StringLeftDestination>\r\n <StringRightDestination>\r\n <xsl:value-of select=\"$var:v3\" />\r\n </StringRightDestination>\r\n <UppercaseDestination>\r\n <xsl:value-of select=\"$var:v4\" />\r\n </UppercaseDestination>\r\n <LowercaseDestination>\r\n <xsl:value-of select=\"$var:v5\" />\r\n </LowercaseDestination>\r\n <SizeDestination>\r\n <xsl:value-of select=\"$var:v6\" />\r\n </SizeDestination>\r\n <StringExtractDestination>\r\n <xsl:value-of select=\"$var:v7\" />\r\n </StringExtractDestination>\r\n <StringConcatDestination>\r\n <xsl:value-of select=\"$var:v8\" />\r\n </StringConcatDestination>\r\n <StringLeftTrimDestination>\r\n <xsl:value-of select=\"$var:v9\" />\r\n </StringLeftTrimDestination>\r\n <StringRightTrimDestination>\r\n <xsl:value-of select=\"$var:v10\" />\r\n </StringRightTrimDestination>\r\n </ns0:Root>\r\n </xsl:template>\r\n</xsl:stylesheet>",
"contentType": "application/xml",
"metadata": {}
},
"location": "westus"
}
Respon sampel
{
"properties": {
"mapType": "Xslt",
"contentLink": {
"uri": "<Uri>",
"contentVersion": "\"0x8D464C057F22E5F\"",
"contentSize": 3056,
"contentHash": {
"algorithm": "md5",
"value": "A2avz/M0ov2FPI3+Je8vDw=="
}
},
"createdTime": "2017-03-06T18:41:03.7366103Z",
"changedTime": "2017-03-06T18:41:04.4088605Z",
"metadata": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/<resourceGroup>/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccount>/maps/testMap",
"name": "IntegrationAccountMap291",
"type": "Microsoft.Logic/integrationAccounts/maps"
}
{
"properties": {
"mapType": "Xslt",
"contentLink": {
"uri": "<Uri>",
"contentVersion": "\"0x8D464C057F22E5F\"",
"contentSize": 3056,
"contentHash": {
"algorithm": "md5",
"value": "A2avz/M0ov2FPI3+Je8vDw=="
}
},
"createdTime": "2017-03-06T18:41:03.7366103Z",
"changedTime": "2017-03-06T18:41:04.4088605Z",
"metadata": {}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/<resourceGroup>/providers/Microsoft.Logic/integrationAccounts/<IntegrationAccount>/maps/testMap",
"name": "IntegrationAccountMap291",
"type": "Microsoft.Logic/integrationAccounts/maps"
}
Definisi
Nama | Deskripsi |
---|---|
Content |
Kontennya. |
Content |
Hash konten. |
Content |
Tautan konten. |
Integration |
Peta akun integrasi. |
Map |
|
Metadata |
Metadata. |
Object | |
Parameters |
Skema parameter peta akun integrasi. |
Content
Kontennya.
ContentHash
Hash konten.
Nama | Jenis | Deskripsi |
---|---|---|
algorithm |
string |
Algoritma hash konten. |
value |
string |
Nilai hash konten. |
ContentLink
Tautan konten.
Nama | Jenis | Deskripsi |
---|---|---|
contentHash |
Hash konten. |
|
contentSize |
integer |
Ukuran konten. |
contentVersion |
string |
Versi konten. |
metadata |
Metadata. |
|
uri |
string |
URI tautan konten. |
IntegrationAccountMap
Peta akun integrasi.
Nama | Jenis | Deskripsi |
---|---|---|
id |
string |
Id sumber daya. |
location |
string |
Lokasi sumber daya. |
name |
string |
Mendapatkan nama sumber daya. |
properties.changedTime |
string |
Waktu yang diubah. |
properties.content |
Kontennya. |
|
properties.contentLink |
Tautan konten. |
|
properties.contentType |
string |
Jenis konten. |
properties.createdTime |
string |
Waktu yang dibuat. |
properties.mapType |
Jenis peta. |
|
properties.metadata |
Metadata. |
|
properties.parametersSchema |
Skema parameter peta akun integrasi. |
|
tags |
object |
Tag sumber daya. |
type |
string |
Mendapatkan jenis sumber daya. |
MapType
Nama | Jenis | Deskripsi |
---|---|---|
NotSpecified |
string |
|
Xslt |
string |
Metadata
Metadata.
Object
ParametersSchema
Skema parameter peta akun integrasi.
Nama | Jenis | Deskripsi |
---|---|---|
ref |
string |
Nama referensi. |