Obtém uma imagem de máquina virtual.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}?api-version=2024-07-01
Parâmetros de URI
Nome |
Em |
Obrigatório |
Tipo |
Description |
location
|
path |
True
|
string
|
O nome de uma região do Azure com suporte.
|
offer
|
path |
True
|
string
|
Uma oferta válida do editor de imagens.
|
publisherName
|
path |
True
|
string
|
Um editor de imagens válido.
|
skus
|
path |
True
|
string
|
Uma SKU de imagem válida.
|
subscriptionId
|
path |
True
|
string
|
Credenciais de assinatura que identificam exclusivamente a assinatura do Microsoft Azure. A ID da assinatura faz parte do URI para cada chamada de serviço.
|
version
|
path |
True
|
string
|
Uma versão de SKU de imagem válida.
|
api-version
|
query |
True
|
string
|
Versão da API do cliente.
|
Respostas
Segurança
azure_auth
Fluxo OAuth2 do Azure Active Directory
Tipo:
oauth2
Flow:
implicit
URL de Autorização:
https://login.microsoftonline.com/common/oauth2/authorize
Escopos
Nome |
Description |
user_impersonation
|
representar sua conta de usuário
|
Exemplos
VirtualMachineImage_Get_MaximumSet_Gen
Solicitação de exemplo
GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/locations/aaaaaa/publishers/aaa/artifacttypes/vmimage/offers/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa/skus/aaaaaaaaaaaaaaaaaaaaaaaaaaa/versions/aaaaaaaaaaaaaaaaaaa?api-version=2024-07-01
/**
* Samples for VirtualMachineImages Get.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/
* virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json
*/
/**
* Sample code: VirtualMachineImage_Get_MaximumSet_Gen.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void virtualMachineImageGetMaximumSetGen(com.azure.resourcemanager.AzureResourceManager azure) {
azure.virtualMachines().manager().serviceClient().getVirtualMachineImages().getWithResponse("aaaaaa", "aaa",
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaa",
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_image_get_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_images.get(
location="aaaaaa",
publisher_name="aaa",
offer="aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
skus="aaaaaaaaaaaaaaaaaaaaaaaaaaa",
version="aaaaaaaaaaaaaaaaaaa",
)
print(response)
# x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_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/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json
func ExampleVirtualMachineImagesClient_Get_virtualMachineImageGetMaximumSetGen() {
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.NewVirtualMachineImagesClient().Get(ctx, "aaaaaa", "aaa", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaa", 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.VirtualMachineImage = armcompute.VirtualMachineImage{
// ID: to.Ptr("aaaaaaaaaaa"),
// Name: to.Ptr("aaaaaaaaa"),
// ExtendedLocation: &armcompute.ExtendedLocation{
// Name: to.Ptr("aaaaaaaaaaaaaaaaaaaaa"),
// Type: to.Ptr(armcompute.ExtendedLocationTypesEdgeZone),
// },
// Location: to.Ptr("aaaaa"),
// Tags: map[string]*string{
// "key6817": to.Ptr("aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"),
// },
// Properties: &armcompute.VirtualMachineImageProperties{
// AutomaticOSUpgradeProperties: &armcompute.AutomaticOSUpgradeProperties{
// AutomaticOSUpgradeSupported: to.Ptr(true),
// },
// DataDiskImages: []*armcompute.DataDiskImage{
// {
// Lun: to.Ptr[int32](17),
// }},
// Disallowed: &armcompute.DisallowedConfiguration{
// VMDiskType: to.Ptr(armcompute.VMDiskTypesNone),
// },
// Features: []*armcompute.VirtualMachineImageFeature{
// {
// Name: to.Ptr("aaaaaaaaaaaaaaaaaaaaa"),
// Value: to.Ptr("aaaaaaaaaaaaaaaaaaaa"),
// }},
// HyperVGeneration: to.Ptr(armcompute.HyperVGenerationTypesV1),
// ImageDeprecationStatus: &armcompute.ImageDeprecationStatus{
// AlternativeOption: &armcompute.AlternativeOption{
// Type: to.Ptr(armcompute.AlternativeTypeOffer),
// Value: to.Ptr("aaaaaaa"),
// },
// ImageState: to.Ptr(armcompute.ImageStateScheduledForDeprecation),
// ScheduledDeprecationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-01-13T00:00:00.000Z"); return t}()),
// },
// OSDiskImage: &armcompute.OSDiskImage{
// OperatingSystem: to.Ptr(armcompute.OperatingSystemTypesWindows),
// },
// Plan: &armcompute.PurchasePlan{
// Name: to.Ptr("aaaaaaaaa"),
// Product: to.Ptr("aaaaaaaaaaaaaa"),
// Publisher: to.Ptr("aaaaaaaaaaaaaaaaaaa"),
// },
// },
// }
}
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 a virtual machine image.
*
* @summary Gets a virtual machine image.
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json
*/
async function virtualMachineImageGetMaximumSetGen() {
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
const location = "aaaaaa";
const publisherName = "aaa";
const offer = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
const skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaa";
const version = "aaaaaaaaaaaaaaaaaaa";
const credential = new DefaultAzureCredential();
const client = new ComputeManagementClient(credential, subscriptionId);
const result = await client.virtualMachineImages.get(
location,
publisherName,
offer,
skus,
version,
);
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.Models;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Compute;
// Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_Get" 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 SubscriptionResource created on azure
// for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource
string subscriptionId = "{subscription-id}";
ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdentifier(subscriptionId);
SubscriptionResource subscriptionResource = client.GetSubscriptionResource(subscriptionResourceId);
// invoke the operation
AzureLocation location = new AzureLocation("aaaaaa");
string publisherName = "aaa";
string offer = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
string skus = "aaaaaaaaaaaaaaaaaaaaaaaaaaa";
string version = "aaaaaaaaaaaaaaaaaaa";
VirtualMachineImage result = await subscriptionResource.GetVirtualMachineImageAsync(location, publisherName, offer, skus, version);
Console.WriteLine($"Succeeded: {result}");
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Resposta de exemplo
{
"properties": {
"plan": {
"publisher": "aaaaaaaaaaaaaaaaaaa",
"name": "aaaaaaaaa",
"product": "aaaaaaaaaaaaaa"
},
"osDiskImage": {
"operatingSystem": "Windows"
},
"dataDiskImages": [
{
"lun": 17
}
],
"automaticOSUpgradeProperties": {
"automaticOSUpgradeSupported": true
},
"hyperVGeneration": "V1",
"disallowed": {
"vmDiskType": "None"
},
"features": [
{
"name": "aaaaaaaaaaaaaaaaaaaaa",
"value": "aaaaaaaaaaaaaaaaaaaa"
}
],
"imageDeprecationStatus": {
"imageState": "ScheduledForDeprecation",
"scheduledDeprecationTime": "2023-01-13T00:00:00+00:00",
"alternativeOption": {
"type": "Offer",
"value": "aaaaaaa"
}
}
},
"name": "aaaaaaaaa",
"location": "aaaaa",
"tags": {
"key6817": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"extendedLocation": {
"name": "aaaaaaaaaaaaaaaaaaaaa",
"type": "EdgeZone"
},
"id": "aaaaaaaaaaa"
}
VirtualMachineImage_Get_MinimumSet_Gen
Solicitação de exemplo
GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Compute/locations/aaaaaaaaaaaa/publishers/aaaaaaaaaaa/artifacttypes/vmimage/offers/aa/skus/aaaaaaaaa/versions/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=2024-07-01
/**
* Samples for VirtualMachineImages Get.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/
* virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json
*/
/**
* Sample code: VirtualMachineImage_Get_MinimumSet_Gen.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void virtualMachineImageGetMinimumSetGen(com.azure.resourcemanager.AzureResourceManager azure) {
azure.virtualMachines().manager().serviceClient().getVirtualMachineImages().getWithResponse("aaaaaaaaaaaa",
"aaaaaaaaaaa", "aa", "aaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 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_image_get_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_images.get(
location="aaaaaaaaaaaa",
publisher_name="aaaaaaaaaaa",
offer="aa",
skus="aaaaaaaaa",
version="aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
)
print(response)
# x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_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/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json
func ExampleVirtualMachineImagesClient_Get_virtualMachineImageGetMinimumSetGen() {
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.NewVirtualMachineImagesClient().Get(ctx, "aaaaaaaaaaaa", "aaaaaaaaaaa", "aa", "aaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 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.VirtualMachineImage = armcompute.VirtualMachineImage{
// ID: to.Ptr("aaaaaaaaaaa"),
// Name: to.Ptr("aaaaaaaaa"),
// Location: to.Ptr("aaaaa"),
// }
}
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 a virtual machine image.
*
* @summary Gets a virtual machine image.
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json
*/
async function virtualMachineImageGetMinimumSetGen() {
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
const location = "aaaaaaaaaaaa";
const publisherName = "aaaaaaaaaaa";
const offer = "aa";
const skus = "aaaaaaaaa";
const version = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
const credential = new DefaultAzureCredential();
const client = new ComputeManagementClient(credential, subscriptionId);
const result = await client.virtualMachineImages.get(
location,
publisherName,
offer,
skus,
version,
);
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.Models;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Compute;
// Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json
// this example is just showing the usage of "VirtualMachineImages_Get" 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 SubscriptionResource created on azure
// for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource
string subscriptionId = "{subscription-id}";
ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdentifier(subscriptionId);
SubscriptionResource subscriptionResource = client.GetSubscriptionResource(subscriptionResourceId);
// invoke the operation
AzureLocation location = new AzureLocation("aaaaaaaaaaaa");
string publisherName = "aaaaaaaaaaa";
string offer = "aa";
string skus = "aaaaaaaaa";
string version = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
VirtualMachineImage result = await subscriptionResource.GetVirtualMachineImageAsync(location, publisherName, offer, skus, version);
Console.WriteLine($"Succeeded: {result}");
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Resposta de exemplo
{
"name": "aaaaaaaaa",
"location": "aaaaa",
"id": "aaaaaaaaaaa"
}
Definições
AlternativeOption
Descreve a opção alternativa especificada pelo Publicador para essa imagem quando essa imagem é preterida.
Nome |
Tipo |
Description |
type
|
AlternativeType
|
Descreve o tipo da opção alternativa.
|
value
|
string
|
Indica o valor de opção alternativa especificado pelo Publicador. Esse é o nome da oferta quando o tipo é Offer ou o nome do plano quando o tipo é Plan.
|
AlternativeType
Descreve o tipo da opção alternativa.
Nome |
Tipo |
Description |
None
|
string
|
|
Offer
|
string
|
|
Plan
|
string
|
|
ApiError
Erro de API.
Nome |
Tipo |
Description |
code
|
string
|
O código de erro.
|
details
|
ApiErrorBase[]
|
Os detalhes do erro da API
|
innererror
|
InnerError
|
O erro interno da API
|
message
|
string
|
A mensagem de erro.
|
target
|
string
|
O destino do erro específico.
|
ApiErrorBase
Base de erros de API.
Nome |
Tipo |
Description |
code
|
string
|
O código de erro.
|
message
|
string
|
A mensagem de erro.
|
target
|
string
|
O destino do erro específico.
|
ArchitectureTypes
Especifica o tipo de arquitetura
Nome |
Tipo |
Description |
Arm64
|
string
|
|
x64
|
string
|
|
AutomaticOSUpgradeProperties
Descreve as propriedades de atualização automática do sistema operacional na imagem.
Nome |
Tipo |
Description |
automaticOSUpgradeSupported
|
boolean
|
Especifica se há suporte para a atualização automática do sistema operacional na imagem.
|
CloudError
Uma resposta de erro do serviço de computação.
Nome |
Tipo |
Description |
error
|
ApiError
|
Erro de API.
|
DataDiskImage
Contém as informações de imagens de disco de dados.
Nome |
Tipo |
Description |
lun
|
integer
|
Especifica o número de unidade lógica do disco de dados. Esse valor é usado para identificar discos de dados dentro da VM e, portanto, deve ser exclusivo para cada disco de dados anexado a uma VM.
|
DisallowedConfiguration
Especifica a configuração não permitida para uma imagem de máquina virtual.
Nome |
Tipo |
Description |
vmDiskType
|
VmDiskTypes
|
Tipos de disco de VM que não são permitidos.
|
ExtendedLocation
O tipo complexo do local estendido.
Nome |
Tipo |
Description |
name
|
string
|
O nome do local estendido.
|
type
|
ExtendedLocationTypes
|
O tipo do local estendido.
|
ExtendedLocationTypes
O tipo do local estendido.
Nome |
Tipo |
Description |
EdgeZone
|
string
|
|
HyperVGenerationTypes
Especifica o tipo de hipervgeração
Nome |
Tipo |
Description |
V1
|
string
|
|
V2
|
string
|
|
ImageDeprecationStatus
Descreve as propriedades de status de substituição de imagem na imagem.
Nome |
Tipo |
Description |
alternativeOption
|
AlternativeOption
|
Descreve a opção alternativa especificada pelo Publicador para essa imagem quando essa imagem é preterida.
|
imageState
|
ImageState
|
Descreve o estado da imagem.
|
scheduledDeprecationTime
|
string
|
A hora, no futuro, em que essa imagem será marcada como preterida. Essa hora agendada é escolhida pelo Publicador.
|
ImageState
Descreve o estado da imagem.
Nome |
Tipo |
Description |
Active
|
string
|
|
Deprecated
|
string
|
|
ScheduledForDeprecation
|
string
|
|
InnerError
Detalhes do erro interno.
Nome |
Tipo |
Description |
errordetail
|
string
|
A mensagem de erro interna ou o despejo de exceção.
|
exceptiontype
|
string
|
O tipo de exceção.
|
OperatingSystemTypes
O sistema operacional do osDiskImage.
Nome |
Tipo |
Description |
Linux
|
string
|
|
Windows
|
string
|
|
OSDiskImage
Contém as informações de imagem de disco do sistema operacional.
PurchasePlan
Usado para estabelecer o contexto de compra de qualquer artefato de terceiros por meio do MarketPlace.
Nome |
Tipo |
Description |
name
|
string
|
A ID do plano.
|
product
|
string
|
Especifica o produto da imagem do marketplace. Esse é o mesmo valor que Offer no elemento imageReference.
|
publisher
|
string
|
A ID do editor.
|
VirtualMachineImage
Descreve uma imagem de máquina virtual.
Nome |
Tipo |
Description |
extendedLocation
|
ExtendedLocation
|
O local estendido da Máquina Virtual.
|
id
|
string
|
ID do recurso
|
location
|
string
|
O local do Azure com suporte do recurso.
|
name
|
string
|
O nome do recurso.
|
properties.architecture
|
ArchitectureTypes
|
Especifica o tipo de arquitetura
|
properties.automaticOSUpgradeProperties
|
AutomaticOSUpgradeProperties
|
Descreve as propriedades de atualização automática do sistema operacional na imagem.
|
properties.dataDiskImages
|
DataDiskImage[]
|
Contém as informações de imagens de disco de dados.
|
properties.disallowed
|
DisallowedConfiguration
|
Especifica a configuração não permitida para o VirtualMachine criado a partir da imagem
|
properties.features
|
VirtualMachineImageFeature[]
|
Especifica recursos adicionais compatíveis com a imagem
|
properties.hyperVGeneration
|
HyperVGenerationTypes
|
Especifica o tipo de hipervgeração
|
properties.imageDeprecationStatus
|
ImageDeprecationStatus
|
Descreve as propriedades de status de substituição de imagem na imagem.
|
properties.osDiskImage
|
OSDiskImage
|
Contém as informações de imagem de disco do sistema operacional.
|
properties.plan
|
PurchasePlan
|
Usado para estabelecer o contexto de compra de qualquer artefato de terceiros por meio do MarketPlace.
|
tags
|
object
|
Especifica as marcas atribuídas à máquina virtual. Para obter mais informações sobre como usar marcas, consulte Usar marcas para organizar os recursos do Azure.
|
VirtualMachineImageFeature
Especifica recursos adicionais compatíveis com a imagem
Nome |
Tipo |
Description |
name
|
string
|
O nome do recurso.
|
value
|
string
|
O valor correspondente para o recurso.
|
VmDiskTypes
Tipos de disco de VM que não são permitidos.
Nome |
Tipo |
Description |
None
|
string
|
|
Unmanaged
|
string
|
|