ComputeFunctions

Functions

Link copied to clipboard

Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines.

For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure

Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. API Version: 2020-12-01.

suspend fun getAvailabilitySet(availabilitySetName: String, resourceGroupName: String): GetAvailabilitySetResult
Link copied to clipboard

Specifies information about the capacity reservation. API Version: 2021-04-01.

suspend fun getCapacityReservation(capacityReservationGroupName: String, capacityReservationName: String, expand: String? = null, resourceGroupName: String): GetCapacityReservationResult
Link copied to clipboard

Specifies information about the capacity reservation group that the capacity reservations should be assigned to.

Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group. API Version: 2021-04-01.

suspend fun getCapacityReservationGroup(capacityReservationGroupName: String, expand: String? = null, resourceGroupName: String): GetCapacityReservationGroupResult
Link copied to clipboard

Describes the cloud service. API Version: 2021-03-01.

suspend fun getCloudService(cloudServiceName: String, resourceGroupName: String): GetCloudServiceResult
Link copied to clipboard

Specifies information about the Dedicated host. API Version: 2020-12-01.

suspend fun getDedicatedHost(expand: String? = null, hostGroupName: String, hostName: String, resourceGroupName: String): GetDedicatedHostResult
Link copied to clipboard

Specifies information about the dedicated host group that the dedicated hosts should be assigned to.

Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group. API Version: 2020-12-01.

suspend fun getDedicatedHostGroup(expand: String? = null, hostGroupName: String, resourceGroupName: String): GetDedicatedHostGroupResult
Link copied to clipboard
suspend fun getDisk(argument: GetDiskPlainArgs): GetDiskResult

Disk resource. API Version: 2020-12-01.

suspend fun getDisk(argument: suspend GetDiskPlainArgsBuilder.() -> Unit): GetDiskResult
suspend fun getDisk(diskName: String, resourceGroupName: String): GetDiskResult
Link copied to clipboard

disk access resource. API Version: 2020-12-01.

suspend fun getDiskAccess(diskAccessName: String, resourceGroupName: String): GetDiskAccessResult
Link copied to clipboard

disk encryption set resource. API Version: 2020-12-01.

suspend fun getDiskEncryptionSet(diskEncryptionSetName: String, resourceGroupName: String): GetDiskEncryptionSetResult
Link copied to clipboard

Specifies information about the Shared Image Gallery that you want to create or update. API Version: 2020-09-30.

suspend fun getGallery(argument: suspend GetGalleryPlainArgsBuilder.() -> Unit): GetGalleryResult
suspend fun getGallery(galleryName: String, resourceGroupName: String, select: String? = null): GetGalleryResult
Link copied to clipboard

Specifies information about the gallery Application Definition that you want to create or update. API Version: 2020-09-30.

suspend fun getGalleryApplication(galleryApplicationName: String, galleryName: String, resourceGroupName: String): GetGalleryApplicationResult
Link copied to clipboard

Specifies information about the gallery Application Version that you want to create or update. API Version: 2020-09-30.

suspend fun getGalleryApplicationVersion(expand: String? = null, galleryApplicationName: String, galleryApplicationVersionName: String, galleryName: String, resourceGroupName: String): GetGalleryApplicationVersionResult
Link copied to clipboard

Specifies information about the gallery image definition that you want to create or update. API Version: 2020-09-30.

suspend fun getGalleryImage(galleryImageName: String, galleryName: String, resourceGroupName: String): GetGalleryImageResult
Link copied to clipboard

Specifies information about the gallery image version that you want to create or update. API Version: 2020-09-30.

suspend fun getGalleryImageVersion(expand: String? = null, galleryImageName: String, galleryImageVersionName: String, galleryName: String, resourceGroupName: String): GetGalleryImageVersionResult
Link copied to clipboard
suspend fun getImage(argument: GetImagePlainArgs): GetImageResult

The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. API Version: 2020-12-01.

suspend fun getImage(argument: suspend GetImagePlainArgsBuilder.() -> Unit): GetImageResult
suspend fun getImage(expand: String? = null, imageName: String, resourceGroupName: String): GetImageResult

LogAnalytics operation status response API Version: 2020-12-01.

suspend fun getLogAnalyticExportRequestRateByInterval(blobContainerSasUri: String, fromTime: String, groupByClientApplicationId: Boolean? = null, groupByOperationName: Boolean? = null, groupByResourceName: Boolean? = null, groupByThrottlePolicy: Boolean? = null, groupByUserAgent: Boolean? = null, intervalLength: IntervalInMins, location: String, toTime: String): GetLogAnalyticExportRequestRateByIntervalResult
Link copied to clipboard

LogAnalytics operation status response API Version: 2020-12-01.

suspend fun getLogAnalyticExportThrottledRequests(blobContainerSasUri: String, fromTime: String, groupByClientApplicationId: Boolean? = null, groupByOperationName: Boolean? = null, groupByResourceName: Boolean? = null, groupByThrottlePolicy: Boolean? = null, groupByUserAgent: Boolean? = null, location: String, toTime: String): GetLogAnalyticExportThrottledRequestsResult
Link copied to clipboard

Specifies information about the proximity placement group. API Version: 2020-12-01.

suspend fun getProximityPlacementGroup(includeColocationStatus: String? = null, proximityPlacementGroupName: String, resourceGroupName: String): GetProximityPlacementGroupResult
Link copied to clipboard

Restore Point details. API Version: 2021-03-01.

suspend fun getRestorePoint(resourceGroupName: String, restorePointCollectionName: String, restorePointName: String): GetRestorePointResult
Link copied to clipboard

Create or update Restore Point collection parameters. API Version: 2021-03-01.

suspend fun getRestorePointCollection(expand: String? = null, resourceGroupName: String, restorePointCollectionName: String): GetRestorePointCollectionResult
Link copied to clipboard

Snapshot resource. API Version: 2020-12-01.

suspend fun getSnapshot(argument: suspend GetSnapshotPlainArgsBuilder.() -> Unit): GetSnapshotResult
suspend fun getSnapshot(resourceGroupName: String, snapshotName: String): GetSnapshotResult
Link copied to clipboard

Specifies information about the SSH public key. API Version: 2020-12-01.

suspend fun getSshPublicKey(resourceGroupName: String, sshPublicKeyName: String): GetSshPublicKeyResult
Link copied to clipboard

Describes a Virtual Machine. API Version: 2021-03-01.

suspend fun getVirtualMachine(expand: String? = null, resourceGroupName: String, vmName: String): GetVirtualMachineResult
Link copied to clipboard

Describes a Virtual Machine Extension. API Version: 2021-03-01.

suspend fun getVirtualMachineExtension(expand: String? = null, resourceGroupName: String, vmExtensionName: String, vmName: String): GetVirtualMachineExtensionResult
Link copied to clipboard

Describes a Virtual Machine Scale Set. API Version: 2021-03-01.

suspend fun getVirtualMachineScaleSet(expand: String? = null, resourceGroupName: String, vmScaleSetName: String): GetVirtualMachineScaleSetResult
Link copied to clipboard

Describes a Virtual Machine Scale Set Extension. API Version: 2021-03-01.

suspend fun getVirtualMachineScaleSetExtension(expand: String? = null, resourceGroupName: String, vmScaleSetName: String, vmssExtensionName: String): GetVirtualMachineScaleSetExtensionResult
Link copied to clipboard

Describes a virtual machine scale set virtual machine. API Version: 2021-03-01.

suspend fun getVirtualMachineScaleSetVM(expand: String? = null, instanceId: String, resourceGroupName: String, vmScaleSetName: String): GetVirtualMachineScaleSetVMResult