Artifact Sources - Update
Lehetővé teszi az összetevőforrások címkéinek módosítását. A rendszer minden más tulajdonságot figyelmen kívül hagy.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}?api-version=2018-09-15
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
lab
|
path | True |
string |
A labor neve. |
name
|
path | True |
string |
Az összetevő forrásának neve. |
resource
|
path | True |
string |
Az erőforráscsoport neve. |
subscription
|
path | True |
string |
Az előfizetés azonosítója. |
api-version
|
query | True |
string |
Ügyfél API-verziója. |
Name | Típus | Description |
---|---|---|
tags |
object |
Az erőforrás címkéi. |
Name | Típus | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
BadRequest |
OAuth2 implicit engedélyezés
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | A Microsoft Azure elérése |
Mintakérelem
Mintaválasz
{
"properties": {
"displayName": "{displayName}",
"uri": "{artifactSourceUri}",
"sourceType": "{VsoGit|GitHub|StorageAccount}",
"folderPath": "{folderPath}",
"armTemplateFolderPath": "{armTemplateFolderPath}",
"branchRef": "{branchRef}",
"securityToken": "{securityToken}",
"status": "{Enabled|Disabled}",
"createdDate": "2020-12-16T16:53:02.4830866-07:00",
"provisioningState": "Succeeded",
"uniqueIdentifier": "{uniqueIdentifier}"
},
"id": "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}",
"name": "{artifactSourceName}",
"type": "Microsoft.DevTestLab/labs/artifactsources",
"location": "{location}",
"tags": {
"tagName1": "tagValue1"
}
}
Name | Description |
---|---|
Artifact |
Egy összetevőforrás tulajdonságai. |
Artifact |
Egy összetevőforrás tulajdonságai. |
Cloud |
REST-kérésből származó hiba. |
Cloud |
EGY REST-kérésből származó hibatörzs. |
Enable |
Az ütemezés állapota (például Engedélyezve, Letiltva) |
Source |
Az összetevő forrásának típusa. |
Egy összetevőforrás tulajdonságai.
Name | Típus | Description |
---|---|---|
id |
string |
Az erőforrás azonosítója. |
location |
string |
Az erőforrás helye. |
name |
string |
Az erőforrás neve. |
properties.armTemplateFolderPath |
string |
Az Azure Resource Manager-sablonokat tartalmazó mappa. |
properties.branchRef |
string |
Az összetevő forrásának ághivatkozása. |
properties.createdDate |
string |
Az összetevő forrásának létrehozási dátuma. |
properties.displayName |
string |
Az összetevő forrásának megjelenítendő neve. |
properties.folderPath |
string |
Az összetevőket tartalmazó mappa. |
properties.provisioningState |
string |
Az erőforrás kiépítési állapota. |
properties.securityToken |
string |
Az összetevő forrásának hitelesítéséhez használt biztonsági jogkivonat. |
properties.sourceType |
Az összetevő forrásának típusa. |
|
properties.status |
Azt jelzi, hogy az összetevőforrás engedélyezve van-e (értékek: Engedélyezve, Letiltva). |
|
properties.uniqueIdentifier |
string |
Az erőforrás egyedi nem módosítható azonosítója (GUID). |
properties.uri |
string |
Az összetevő forrásának URI-ja. |
tags |
object |
Az erőforrás címkéi. |
type |
string |
Az erőforrás típusa. |
Egy összetevőforrás tulajdonságai.
Name | Típus | Description |
---|---|---|
tags |
object |
Az erőforrás címkéi. |
REST-kérésből származó hiba.
Name | Típus | Description |
---|---|---|
error |
A felhőben bekövetkezett hiba |
EGY REST-kérésből származó hibatörzs.
Name | Típus | Description |
---|---|---|
code |
string |
A hibakód. |
details |
Belső hibák. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hiba célja. |
Az ütemezés állapota (például Engedélyezve, Letiltva)
Name | Típus | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
Az összetevő forrásának típusa.
Name | Típus | Description |
---|---|---|
GitHub |
string |
|
StorageAccount |
string |
|
VsoGit |
string |