Partager via


ComputeManager Class

public final class ComputeManager
extends Manager<ComputeManagementClient>

Entry point to Azure compute resource management.

Method Summary

Modifier and Type Method and Description
static ComputeManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of ComputeManager that exposes Compute resource management API entry points.

static ComputeManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of ComputeManager that exposes Compute resource management API entry points.

AuthorizationManager authorizationManager()
AvailabilitySets availabilitySets()
ComputeSkus computeSkus()
static Configurable configure()

Get a Configurable instance that can be used to create ComputeManager with optional configuration.

DiskEncryptionSets diskEncryptionSets()
Disks disks()
Galleries galleries()
GalleryImageVersions galleryImageVersions()
GalleryImages galleryImages()
NetworkManager networkManager()
Snapshots snapshots()
StorageManager storageManager()
ComputeUsages usages()
VirtualMachineCustomImages virtualMachineCustomImages()
VirtualMachineExtensionImages virtualMachineExtensionImages()
VirtualMachineImages virtualMachineImages()
VirtualMachineScaleSets virtualMachineScaleSets()
VirtualMachines virtualMachines()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static ComputeManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of ComputeManager that exposes Compute resource management API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the ComputeManager

authenticate

public static ComputeManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of ComputeManager that exposes Compute resource management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the ComputeManager

authorizationManager

public AuthorizationManager authorizationManager()

Returns:

the authorization manager

availabilitySets

public AvailabilitySets availabilitySets()

Returns:

the availability set resource management API entry point

computeSkus

public ComputeSkus computeSkus()

Returns:

the compute service SKU management API entry point

configure

public static ComputeManager.Configurable configure()

Get a Configurable instance that can be used to create ComputeManager with optional configuration.

Returns:

Configurable

diskEncryptionSets

public DiskEncryptionSets diskEncryptionSets()

Returns:

the disk encryption set management entry point

disks

public Disks disks()

Returns:

the managed disk management API entry point

galleries

public Galleries galleries()

Returns:

the compute service gallery management entry point

galleryImageVersions

public GalleryImageVersions galleryImageVersions()

Returns:

the compute service gallery image version management entry point

galleryImages

public GalleryImages galleryImages()

Returns:

the compute service gallery image management entry point

networkManager

public NetworkManager networkManager()

Returns:

the network manager

snapshots

public Snapshots snapshots()

Returns:

the managed snapshot management API entry point

storageManager

public StorageManager storageManager()

Returns:

the storage manager

usages

public ComputeUsages usages()

Returns:

the compute resource usage management API entry point

virtualMachineCustomImages

public VirtualMachineCustomImages virtualMachineCustomImages()

Returns:

the virtual machine custom image management API entry point

virtualMachineExtensionImages

public VirtualMachineExtensionImages virtualMachineExtensionImages()

Returns:

the virtual machine extension image resource management API entry point

virtualMachineImages

public VirtualMachineImages virtualMachineImages()

Returns:

the virtual machine image resource management API entry point

virtualMachineScaleSets

public VirtualMachineScaleSets virtualMachineScaleSets()

Returns:

the virtual machine scale set resource management API entry point

virtualMachines

public VirtualMachines virtualMachines()

Returns:

the virtual machine resource management API entry point

Applies to