Proximity Placement Groups - Update
Update a proximity placement group.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}?api-version=2024-07-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
proximity
|
path | True |
string |
The name of the proximity placement group. |
resource
|
path | True |
string |
The name of the resource group. |
subscription
|
path | True |
string |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Client Api Version. |
Request Body
Name | Type | Description |
---|---|---|
tags |
object |
Resource tags |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Update a proximity placement group.
Sample request
Sample response
{
"name": "myProximityPlacementGroup",
"properties": {
"proximityPlacementGroupType": "Standard"
},
"location": "westus",
"type": "Microsoft.Compute/proximityPlacementGroups",
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
}
Definitions
Name | Description |
---|---|
Api |
Api error. |
Api |
Api error base. |
Cloud |
An error response from the Compute service. |
Inner |
Inner error details. |
Instance |
Instance view status. |
Intent |
Specifies the user intent of the proximity placement group. |
Proximity |
Specifies information about the proximity placement group. |
Proximity |
Specifies the type of the proximity placement group. Possible values are: Standard : Co-locate resources within an Azure region or Availability Zone. Ultra : For future use. |
Proximity |
Specifies information about the proximity placement group. |
Status |
The level code. |
Sub |
ApiError
Api error.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
details |
The Api error details |
|
innererror |
The Api inner error |
|
message |
string |
The error message. |
target |
string |
The target of the particular error. |
ApiErrorBase
Api error base.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
message |
string |
The error message. |
target |
string |
The target of the particular error. |
CloudError
An error response from the Compute service.
Name | Type | Description |
---|---|---|
error |
Api error. |
InnerError
Inner error details.
Name | Type | Description |
---|---|---|
errordetail |
string |
The internal error message or exception dump. |
exceptiontype |
string |
The exception type. |
InstanceViewStatus
Instance view status.
Name | Type | Description |
---|---|---|
code |
string |
The status code. |
displayStatus |
string |
The short localizable label for the status. |
level |
The level code. |
|
message |
string |
The detailed status message, including for alerts and error messages. |
time |
string (date-time) |
The time of the status. |
Intent
Specifies the user intent of the proximity placement group.
Name | Type | Description |
---|---|---|
vmSizes |
string[] |
Specifies possible sizes of virtual machines that can be created in the proximity placement group. |
ProximityPlacementGroup
Specifies information about the proximity placement group.
Name | Type | Description |
---|---|---|
id |
string |
Resource Id |
location |
string |
Resource location |
name |
string |
Resource name |
properties.availabilitySets |
A list of references to all availability sets in the proximity placement group. |
|
properties.colocationStatus |
Describes colocation status of the Proximity Placement Group. |
|
properties.intent |
Specifies the user intent of the proximity placement group. |
|
properties.proximityPlacementGroupType |
Specifies the type of the proximity placement group. Possible values are: Standard : Co-locate resources within an Azure region or Availability Zone. Ultra : For future use. |
|
properties.virtualMachineScaleSets |
A list of references to all virtual machine scale sets in the proximity placement group. |
|
properties.virtualMachines |
A list of references to all virtual machines in the proximity placement group. |
|
tags |
object |
Resource tags |
type |
string |
Resource type |
zones |
string[] |
Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created. |
ProximityPlacementGroupType
Specifies the type of the proximity placement group. Possible values are: Standard : Co-locate resources within an Azure region or Availability Zone. Ultra : For future use.
Value | Description |
---|---|
Standard | |
Ultra |
ProximityPlacementGroupUpdate
Specifies information about the proximity placement group.
Name | Type | Description |
---|---|---|
tags |
object |
Resource tags |
StatusLevelTypes
The level code.
Value | Description |
---|---|
Info | |
Warning | |
Error |
SubResourceWithColocationStatus
Name | Type | Description |
---|---|---|
colocationStatus |
Describes colocation status of a resource in the Proximity Placement Group. |
|
id |
string |
Resource Id |