Obtiene el estado de la actualización gradual del conjunto de escalado de máquinas virtuales más reciente.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest?api-version=2024-03-01
Parámetros de identificador URI
Nombre |
En |
Requerido |
Tipo |
Description |
resourceGroupName
|
path |
True
|
string
|
Nombre del grupo de recursos.
|
subscriptionId
|
path |
True
|
string
|
Credenciales de suscripción que identifican de forma única la suscripción de Microsoft Azure. El identificador de suscripción forma parte del URI de cada llamada de servicio.
|
vmScaleSetName
|
path |
True
|
string
|
Nombre del conjunto de escalado de máquinas virtuales.
|
api-version
|
query |
True
|
string
|
Versión de api de cliente.
|
Respuestas
Nombre |
Tipo |
Description |
200 OK
|
RollingUpgradeStatusInfo
|
De acuerdo
|
Other Status Codes
|
CloudError
|
Respuesta de error que describe por qué se produjo un error en la operación.
|
Seguridad
azure_auth
Flujo de OAuth2 de Azure Active Directory
Tipo:
oauth2
Flujo:
implicit
Dirección URL de autorización:
https://login.microsoftonline.com/common/oauth2/authorize
Ámbitos
Nombre |
Description |
user_impersonation
|
suplantar la cuenta de usuario
|
Ejemplos
VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen
Solicitud de ejemplo
GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/rgcompute/providers/Microsoft.Compute/virtualMachineScaleSets/aaaaaaaaaaaaaaaaaaaaaaaaa/rollingUpgrades/latest?api-version=2024-03-01
/**
* Samples for VirtualMachineScaleSetRollingUpgrades GetLatest.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/
* virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
*/
/**
* Sample code: VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void virtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen(
com.azure.resourcemanager.AzureResourceManager azure) {
azure.virtualMachines().manager().serviceClient().getVirtualMachineScaleSetRollingUpgrades()
.getLatestWithResponse("rgcompute", "aaaaaaaaaaaaaaaaaaaaaaaaa", com.azure.core.util.Context.NONE);
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.compute import ComputeManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-compute
# USAGE
python virtual_machine_scale_set_rolling_upgrade_get_latest_maximum_set_gen.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = ComputeManagementClient(
credential=DefaultAzureCredential(),
subscription_id="{subscription-id}",
)
response = client.virtual_machine_scale_set_rolling_upgrades.get_latest(
resource_group_name="rgcompute",
vm_scale_set_name="aaaaaaaaaaaaaaaaaaaaaaaaa",
)
print(response)
# x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armcompute_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/81a4ee5a83ae38620c0e1404793caffe005d26e4/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
func ExampleVirtualMachineScaleSetRollingUpgradesClient_GetLatest_virtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armcompute.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewVirtualMachineScaleSetRollingUpgradesClient().GetLatest(ctx, "rgcompute", "aaaaaaaaaaaaaaaaaaaaaaaaa", nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RollingUpgradeStatusInfo = armcompute.RollingUpgradeStatusInfo{
// Name: to.Ptr("aaaaaaaaaaaaaaaaaaa"),
// Type: to.Ptr("aaaaaaaaaaaaaaaaaaaaa"),
// ID: to.Ptr("aaaaaaaaaa"),
// Location: to.Ptr("aaaaaa"),
// Tags: map[string]*string{
// "key8533": to.Ptr("aaaaaaaaaaaaaaaaaaaaaaaa"),
// },
// Properties: &armcompute.RollingUpgradeStatusInfoProperties{
// Error: &armcompute.APIError{
// Code: to.Ptr("aaaaaaa"),
// Innererror: &armcompute.InnerError{
// Errordetail: to.Ptr("aaaaaaaaaaaaaaaaaaaaaaaa"),
// Exceptiontype: to.Ptr("aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"),
// },
// Message: to.Ptr("aaaaaaaaa"),
// Target: to.Ptr("aaaaaaa"),
// Details: []*armcompute.APIErrorBase{
// {
// Code: to.Ptr("aaaaaaaaaaaaaaaaaaaaaaaa"),
// Message: to.Ptr("aa"),
// Target: to.Ptr("aaaa"),
// }},
// },
// Policy: &armcompute.RollingUpgradePolicy{
// EnableCrossZoneUpgrade: to.Ptr(true),
// MaxBatchInstancePercent: to.Ptr[int32](49),
// MaxSurge: to.Ptr(true),
// MaxUnhealthyInstancePercent: to.Ptr[int32](81),
// MaxUnhealthyUpgradedInstancePercent: to.Ptr[int32](98),
// PauseTimeBetweenBatches: to.Ptr("aaaaaaaaaaaaaaa"),
// PrioritizeUnhealthyInstances: to.Ptr(true),
// RollbackFailedInstancesOnPolicyBreach: to.Ptr(true),
// },
// Progress: &armcompute.RollingUpgradeProgressInfo{
// FailedInstanceCount: to.Ptr[int32](25),
// InProgressInstanceCount: to.Ptr[int32](20),
// PendingInstanceCount: to.Ptr[int32](27),
// SuccessfulInstanceCount: to.Ptr[int32](6),
// },
// RunningStatus: &armcompute.RollingUpgradeRunningStatus{
// Code: to.Ptr(armcompute.RollingUpgradeStatusCodeRollingForward),
// LastAction: to.Ptr(armcompute.RollingUpgradeActionTypeStart),
// LastActionTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-30T13:06:23.362Z"); return t}()),
// StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-11-30T13:06:23.362Z"); return t}()),
// },
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { ComputeManagementClient } = require("@azure/arm-compute");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade.
*
* @summary Gets the status of the latest virtual machine scale set rolling upgrade.
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
*/
async function virtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen() {
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "rgcompute";
const vmScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaa";
const credential = new DefaultAzureCredential();
const client = new ComputeManagementClient(credential, subscriptionId);
const result = await client.virtualMachineScaleSetRollingUpgrades.getLatest(
resourceGroupName,
vmScaleSetName,
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
using Azure;
using Azure.ResourceManager;
using System;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Identity;
using Azure.ResourceManager.Compute;
// Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_GetLatest" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this VirtualMachineScaleSetRollingUpgradeResource created on azure
// for more information of creating VirtualMachineScaleSetRollingUpgradeResource, please refer to the document of VirtualMachineScaleSetRollingUpgradeResource
string subscriptionId = "{subscription-id}";
string resourceGroupName = "rgcompute";
string virtualMachineScaleSetName = "aaaaaaaaaaaaaaaaaaaaaaaaa";
ResourceIdentifier virtualMachineScaleSetRollingUpgradeResourceId = VirtualMachineScaleSetRollingUpgradeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, virtualMachineScaleSetName);
VirtualMachineScaleSetRollingUpgradeResource virtualMachineScaleSetRollingUpgrade = client.GetVirtualMachineScaleSetRollingUpgradeResource(virtualMachineScaleSetRollingUpgradeResourceId);
// invoke the operation
VirtualMachineScaleSetRollingUpgradeResource result = await virtualMachineScaleSetRollingUpgrade.GetAsync();
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
VirtualMachineScaleSetRollingUpgradeData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Respuesta de muestra
{
"properties": {
"policy": {
"maxBatchInstancePercent": 49,
"maxUnhealthyInstancePercent": 81,
"maxUnhealthyUpgradedInstancePercent": 98,
"pauseTimeBetweenBatches": "aaaaaaaaaaaaaaa",
"enableCrossZoneUpgrade": true,
"prioritizeUnhealthyInstances": true,
"rollbackFailedInstancesOnPolicyBreach": true,
"maxSurge": true
},
"runningStatus": {
"code": "RollingForward",
"startTime": "2021-11-30T13:06:23.362Z",
"lastAction": "Start",
"lastActionTime": "2021-11-30T13:06:23.362Z"
},
"progress": {
"successfulInstanceCount": 6,
"failedInstanceCount": 25,
"inProgressInstanceCount": 20,
"pendingInstanceCount": 27
},
"error": {
"details": [
{
"code": "aaaaaaaaaaaaaaaaaaaaaaaa",
"target": "aaaa",
"message": "aa"
}
],
"innererror": {
"exceptiontype": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"errordetail": "aaaaaaaaaaaaaaaaaaaaaaaa"
},
"code": "aaaaaaa",
"target": "aaaaaaa",
"message": "aaaaaaaaa"
}
},
"id": "aaaaaaaaaa",
"name": "aaaaaaaaaaaaaaaaaaa",
"type": "aaaaaaaaaaaaaaaaaaaaa",
"location": "aaaaaa",
"tags": {
"key8533": "aaaaaaaaaaaaaaaaaaaaaaaa"
}
}
VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen
Solicitud de ejemplo
GET https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/rgcompute/providers/Microsoft.Compute/virtualMachineScaleSets/aaaaaaaaaaaaaaaaa/rollingUpgrades/latest?api-version=2024-03-01
/**
* Samples for VirtualMachineScaleSetRollingUpgrades GetLatest.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/
* virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
*/
/**
* Sample code: VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void virtualMachineScaleSetRollingUpgradeGetLatestMinimumSetGen(
com.azure.resourcemanager.AzureResourceManager azure) {
azure.virtualMachines().manager().serviceClient().getVirtualMachineScaleSetRollingUpgrades()
.getLatestWithResponse("rgcompute", "aaaaaaaaaaaaaaaaa", com.azure.core.util.Context.NONE);
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.compute import ComputeManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-compute
# USAGE
python virtual_machine_scale_set_rolling_upgrade_get_latest_minimum_set_gen.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = ComputeManagementClient(
credential=DefaultAzureCredential(),
subscription_id="{subscription-id}",
)
response = client.virtual_machine_scale_set_rolling_upgrades.get_latest(
resource_group_name="rgcompute",
vm_scale_set_name="aaaaaaaaaaaaaaaaa",
)
print(response)
# x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armcompute_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/81a4ee5a83ae38620c0e1404793caffe005d26e4/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
func ExampleVirtualMachineScaleSetRollingUpgradesClient_GetLatest_virtualMachineScaleSetRollingUpgradeGetLatestMinimumSetGen() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armcompute.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewVirtualMachineScaleSetRollingUpgradesClient().GetLatest(ctx, "rgcompute", "aaaaaaaaaaaaaaaaa", nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.RollingUpgradeStatusInfo = armcompute.RollingUpgradeStatusInfo{
// ID: to.Ptr("aaaaaaaaaa"),
// Location: to.Ptr("aaaaaa"),
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { ComputeManagementClient } = require("@azure/arm-compute");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Gets the status of the latest virtual machine scale set rolling upgrade.
*
* @summary Gets the status of the latest virtual machine scale set rolling upgrade.
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
*/
async function virtualMachineScaleSetRollingUpgradeGetLatestMinimumSetGen() {
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "rgcompute";
const vmScaleSetName = "aaaaaaaaaaaaaaaaa";
const credential = new DefaultAzureCredential();
const client = new ComputeManagementClient(credential, subscriptionId);
const result = await client.virtualMachineScaleSetRollingUpgrades.getLatest(
resourceGroupName,
vmScaleSetName,
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
using Azure;
using Azure.ResourceManager;
using System;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Identity;
using Azure.ResourceManager.Compute;
// Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineScaleSetRollingUpgrades_GetLatest" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this VirtualMachineScaleSetRollingUpgradeResource created on azure
// for more information of creating VirtualMachineScaleSetRollingUpgradeResource, please refer to the document of VirtualMachineScaleSetRollingUpgradeResource
string subscriptionId = "{subscription-id}";
string resourceGroupName = "rgcompute";
string virtualMachineScaleSetName = "aaaaaaaaaaaaaaaaa";
ResourceIdentifier virtualMachineScaleSetRollingUpgradeResourceId = VirtualMachineScaleSetRollingUpgradeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, virtualMachineScaleSetName);
VirtualMachineScaleSetRollingUpgradeResource virtualMachineScaleSetRollingUpgrade = client.GetVirtualMachineScaleSetRollingUpgradeResource(virtualMachineScaleSetRollingUpgradeResourceId);
// invoke the operation
VirtualMachineScaleSetRollingUpgradeResource result = await virtualMachineScaleSetRollingUpgrade.GetAsync();
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
VirtualMachineScaleSetRollingUpgradeData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Respuesta de muestra
{
"location": "aaaaaa",
"id": "aaaaaaaaaa"
}
Definiciones
ApiError
Error de API.
Nombre |
Tipo |
Description |
code
|
string
|
Código de error.
|
details
|
ApiErrorBase[]
|
Detalles del error de api
|
innererror
|
InnerError
|
Error interno de api
|
message
|
string
|
Mensaje de error.
|
target
|
string
|
Destino del error concreto.
|
ApiErrorBase
Base de errores de api.
Nombre |
Tipo |
Description |
code
|
string
|
Código de error.
|
message
|
string
|
Mensaje de error.
|
target
|
string
|
Destino del error concreto.
|
CloudError
Respuesta de error del servicio Compute.
Nombre |
Tipo |
Description |
error
|
ApiError
|
Error de API.
|
InnerError
Detalles del error interno.
Nombre |
Tipo |
Description |
errordetail
|
string
|
Mensaje de error interno o volcado de memoria de excepciones.
|
exceptiontype
|
string
|
Tipo de excepción.
|
RollingUpgradeActionType
La última acción realizada en la actualización gradual.
Nombre |
Tipo |
Description |
Cancel
|
string
|
|
Start
|
string
|
|
RollingUpgradePolicy
Los parámetros de configuración usados al realizar una actualización gradual.
Nombre |
Tipo |
Description |
enableCrossZoneUpgrade
|
boolean
|
Permitir que VMSS omita los límites de AZ al construir lotes de actualización. Tenga en cuenta el dominio de actualización y maxBatchInstancePercent para determinar el tamaño del lote.
|
maxBatchInstancePercent
|
integer
|
Porcentaje máximo de instancias de máquina virtual totales que se actualizarán simultáneamente mediante la actualización gradual en un lote. Dado que se trata de un número máximo de instancias incorrectas en lotes anteriores o futuros, puede provocar que el porcentaje de instancias de un lote disminuya para garantizar una mayor confiabilidad. El valor predeterminado de este parámetro es 20%.
|
maxSurge
|
boolean
|
Cree nuevas máquinas virtuales para actualizar el conjunto de escalado, en lugar de actualizar las máquinas virtuales existentes. Las máquinas virtuales existentes se eliminarán una vez creadas las nuevas máquinas virtuales para cada lote.
|
maxUnhealthyInstancePercent
|
integer
|
El porcentaje máximo de las instancias de máquina virtual totales del conjunto de escalado que pueden estar en mal estado simultáneamente, ya sea como resultado de la actualización o si se encuentra en un estado incorrecto por parte de las comprobaciones de estado de la máquina virtual antes de que se anule la actualización gradual. Esta restricción se comprobará antes de iniciar cualquier lote. El valor predeterminado de este parámetro es 20%.
|
maxUnhealthyUpgradedInstancePercent
|
integer
|
Porcentaje máximo de instancias de máquina virtual actualizadas que se pueden encontrar en un estado incorrecto. Esta comprobación se realizará después de actualizar cada lote. Si se supera este porcentaje alguna vez, se anula la actualización gradual. El valor predeterminado de este parámetro es 20%.
|
pauseTimeBetweenBatches
|
string
|
Tiempo de espera entre completar la actualización de todas las máquinas virtuales de un lote e iniciar el siguiente lote. La duración del tiempo debe especificarse en formato ISO 8601. El valor predeterminado es 0 segundos (PT0S).
|
prioritizeUnhealthyInstances
|
boolean
|
Actualice todas las instancias incorrectas de un conjunto de escalado antes de cualquier instancia correcta.
|
rollbackFailedInstancesOnPolicyBreach
|
boolean
|
Las instancias con error de reversión en el modelo anterior si se infringe la directiva de actualización gradual.
|
RollingUpgradeProgressInfo
Información sobre el número de instancias de máquina virtual en cada estado de actualización.
Nombre |
Tipo |
Description |
failedInstanceCount
|
integer
|
Número de instancias que no se pudieron actualizar correctamente.
|
inProgressInstanceCount
|
integer
|
Número de instancias que se están actualizando actualmente.
|
pendingInstanceCount
|
integer
|
Número de instancias que aún no se han empezado a actualizar.
|
successfulInstanceCount
|
integer
|
Número de instancias que se han actualizado correctamente.
|
RollingUpgradeRunningStatus
Información sobre el estado de ejecución actual de la actualización general.
Nombre |
Tipo |
Description |
code
|
RollingUpgradeStatusCode
|
Código que indica el estado actual de la actualización.
|
lastAction
|
RollingUpgradeActionType
|
La última acción realizada en la actualización gradual.
|
lastActionTime
|
string
|
Hora de la última acción de la actualización.
|
startTime
|
string
|
Hora de inicio de la actualización.
|
RollingUpgradeStatusCode
Código que indica el estado actual de la actualización.
Nombre |
Tipo |
Description |
Cancelled
|
string
|
|
Completed
|
string
|
|
Faulted
|
string
|
|
RollingForward
|
string
|
|
RollingUpgradeStatusInfo
Estado de la actualización gradual del conjunto de escalado de máquinas virtuales más reciente.
Nombre |
Tipo |
Description |
id
|
string
|
Identificador de recurso
|
location
|
string
|
Ubicación del recurso
|
name
|
string
|
Nombre del recurso
|
properties.error
|
ApiError
|
Detalles del error para esta actualización, si hay alguno.
|
properties.policy
|
RollingUpgradePolicy
|
Las directivas de actualización gradual aplicadas para esta actualización.
|
properties.progress
|
RollingUpgradeProgressInfo
|
Información sobre el número de instancias de máquina virtual en cada estado de actualización.
|
properties.runningStatus
|
RollingUpgradeRunningStatus
|
Información sobre el estado de ejecución actual de la actualización general.
|
tags
|
object
|
Etiquetas de recursos
|
type
|
string
|
Tipo de recurso
|