Microsoft.StandbyPool (preview:2024-03-01)

2025/01/10 • 2 updated methods

StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool (updated)
Description List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource
Reference Link ¶

⚶ Changes

{
  "#id": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "instanceCountSummary",
                "Description": {
                  "new": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider. If zones are not enabled on the attached VMSS, the list will contain a single entry without zone values. Note: any resources in the Running state may still be installing extensions / not fully provisioned.",
                  "old": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider.\nIf zones are not enabled on the attached VMSS, the list will contain a single entry with null zone values.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned."
                },
                "$items": {
                  "Description": {
                    "new": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider. Note: any resources in the Running state may still be installing extensions / not fully provisioned.",
                    "old": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned."
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
standbyVirtualMachinePoolName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
instanceCountSummary:
[
{
zone: integer ,
instanceCountsByState:
[
{
state: string ,
count: integer ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StandbyVirtualMachinePoolRuntimeViews_Get (updated)
Description Get a StandbyVirtualMachinePoolRuntimeViewResource
Reference Link ¶

⚶ Changes

{
  "#id": "StandbyVirtualMachinePoolRuntimeViews_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "instanceCountSummary",
            "Description": {
              "new": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider. If zones are not enabled on the attached VMSS, the list will contain a single entry without zone values. Note: any resources in the Running state may still be installing extensions / not fully provisioned.",
              "old": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider.\nIf zones are not enabled on the attached VMSS, the list will contain a single entry with null zone values.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned."
            },
            "$items": {
              "Description": {
                "new": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider. Note: any resources in the Running state may still be installing extensions / not fully provisioned.",
                "old": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned."
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
standbyVirtualMachinePoolName: string ,
runtimeView: string ,
}

⚐ Response (200)

{
properties:
{
instanceCountSummary:
[
{
zone: integer ,
instanceCountsByState:
[
{
state: string ,
count: integer ,
}
,
]
,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}