Virtual Networks - Update
Implementálja a VirtualNetworks PATCH metódust.
Frissíti a VirtualNetworks-erőforrást.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}?api-version=2025-03-13
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
subscription
|
path | True |
string (uuid) |
A cél-előfizetés azonosítója. Az értéknek UUID-nek kell lennie. |
virtual
|
path | True |
string minLength: 1maxLength: 54 pattern: [a-zA-Z0-9-_\.] |
A VirtualNetwork neve. |
api-version
|
query | True |
string minLength: 1 |
A művelethez használni kívánt API-verzió. |
Kérelem törzse
Name | Típus | Description |
---|---|---|
tags |
object |
Erőforráscímkék. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Az Azure-művelet sikeresen befejeződött. |
|
202 Accepted |
Az erőforrás-frissítési kérelem elfogadva. Fejlécek
|
|
Other Status Codes |
Váratlan hibaválasz. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow.
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
Name | Description |
---|---|
user_impersonation | a felhasználói fiók megszemélyesítése |
Példák
Virtual |
Virtual |
VirtualNetworks_Update_MaximumSet
Mintakérelem
PATCH https://management.azure.com/subscriptions/79332E5A-630B-480F-A266-A941C015AB19/resourceGroups/rgscvmm/providers/Microsoft.ScVmm/virtualNetworks/S?api-version=2025-03-13
{
"tags": {
"key9516": "oxduo"
}
}
Mintaválasz
{
"properties": {
"inventoryItemId": "bxn",
"uuid": "12345678-1234-1234-1234-12345678abcd",
"vmmServerId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/vmmServers/vmmServerName",
"networkName": "eeqahvnbblsdeeqezqdinggretyeg",
"provisioningState": "Succeeded"
},
"extendedLocation": {
"type": "customLocation",
"name": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ExtendedLocation/customLocations/customLocationName"
},
"tags": {
"key705": "apgplvjdyocx"
},
"location": "fky",
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName",
"name": "sbeiflgxwzkgt",
"type": "oinkkqcuemmcvugnhebckmxeluuulw",
"systemData": {
"createdBy": "p",
"createdByType": "User",
"createdAt": "2024-01-29T22:28:00.094Z",
"lastModifiedBy": "goxcwpyyqlxndquly",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-01-29T22:28:00.095Z"
}
}
location: https://contoso.com/operationstatus
VirtualNetworks_Update_MinimumSet
Mintakérelem
PATCH https://management.azure.com/subscriptions/79332E5A-630B-480F-A266-A941C015AB19/resourceGroups/rgscvmm/providers/Microsoft.ScVmm/virtualNetworks/-?api-version=2025-03-13
{}
Mintaválasz
{
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.ScVmm/virtualNetworks/virtualNetworkName",
"extendedLocation": {},
"location": "fky"
}
location: https://contoso.com/operationstatus
Definíciók
Name | Description |
---|---|
created |
Az erőforrást létrehozó identitás típusa. |
Error |
Az erőforrás-kezelési hiba további információi. |
Error |
A hiba részletei. |
Error |
Hibaválasz |
Extended |
A kiterjesztett hely. |
Provisioning |
Az erőforrás kiépítési állapota. |
system |
Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok. |
Virtual |
A VirtualNetworks erőforrásdefiníciója. |
Virtual |
A VirtualNetwork-erőforrások címkéinek frissítéséhez használt típus. |
createdByType
Az erőforrást létrehozó identitás típusa.
Érték | Description |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
Name | Típus | Description |
---|---|---|
info |
object |
A további információk. |
type |
string |
A további információtípus. |
ErrorDetail
A hiba részletei.
Name | Típus | Description |
---|---|---|
additionalInfo |
A hiba további információi. |
|
code |
string |
A hibakód. |
details |
A hiba részletei. |
|
message |
string |
A hibaüzenet. |
target |
string |
A hibacél. |
ErrorResponse
Hibaválasz
Name | Típus | Description |
---|---|---|
error |
A hibaobjektum. |
ExtendedLocation
A kiterjesztett hely.
Name | Típus | Description |
---|---|---|
name |
string (arm-id) |
A kiterjesztett hely neve. |
type |
string |
A kiterjesztett hely típusa. |
ProvisioningState
Az erőforrás kiépítési állapota.
Érték | Description |
---|---|
Accepted |
Az erőforrást elfogadták. |
Canceled |
Az erőforrás létrehozása megszakadt. |
Created |
Az erőforrás létrejött. |
Deleting |
Az erőforrás törlése folyamatban van. |
Failed |
Az erőforrás létrehozása nem sikerült. |
Provisioning |
Az erőforrás kiépítésre kerül. |
Succeeded |
Az erőforrás létrejött. |
Updating |
Az erőforrás frissül. |
systemData
Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.
Name | Típus | Description |
---|---|---|
createdAt |
string (date-time) |
Az erőforrás-létrehozás időbélyege (UTC). |
createdBy |
string |
Az erőforrást létrehozó identitás. |
createdByType |
Az erőforrást létrehozó identitás típusa. |
|
lastModifiedAt |
string (date-time) |
Az erőforrás utolsó módosításának időbélyege (UTC) |
lastModifiedBy |
string |
Az erőforrást legutóbb módosító identitás. |
lastModifiedByType |
Az erőforrást legutóbb módosító identitás típusa. |
VirtualNetwork
A VirtualNetworks erőforrásdefiníciója.
Name | Típus | Description |
---|---|---|
extendedLocation |
A kiterjesztett hely. |
|
id |
string (arm-id) |
Az erőforrás teljes erőforrás-azonosítója. Például: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
location |
string |
Az a földrajzi hely, ahol az erőforrás él |
name |
string |
Az erőforrás neve |
properties.inventoryItemId |
string |
Lekéri vagy beállítja az erőforrás készletelem-azonosítóját. |
properties.networkName |
string |
A virtuális hálózat neve a vmmServerben. |
properties.provisioningState |
Az erőforrás kiépítési állapota. |
|
properties.uuid |
string pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ |
A virtuális hálózat egyedi azonosítója. |
properties.vmmServerId |
string (arm-id) |
Annak a vmmServer-erőforrásnak az ARM-azonosítója, amelyben ez az erőforrás található. |
systemData |
A createdBy és a modifiedBy adatokat tartalmazó Azure Resource Manager-metaadatok. |
|
tags |
object |
Erőforráscímkék. |
type |
string |
Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts" |
VirtualNetworkTagsUpdate
A VirtualNetwork-erőforrások címkéinek frissítéséhez használt típus.
Name | Típus | Description |
---|---|---|
tags |
object |
Erőforráscímkék. |