ComputeExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Compute.

public static class ComputeExtensions
type ComputeExtensions = class
Public Module ComputeExtensions
Inheritance
ComputeExtensions

Methods

ExportLogAnalyticsRequestRateByInterval(SubscriptionResource, WaitUntil, AzureLocation, RequestRateByIntervalContent, CancellationToken)

Export logs that show Api requests made by this subscription in the given time window to show throttling activities.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval
  • Operation Id: LogAnalytics_ExportRequestRateByInterval
  • Default Api Version: 2023-09-01
ExportLogAnalyticsRequestRateByIntervalAsync(SubscriptionResource, WaitUntil, AzureLocation, RequestRateByIntervalContent, CancellationToken)

Export logs that show Api requests made by this subscription in the given time window to show throttling activities.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval
  • Operation Id: LogAnalytics_ExportRequestRateByInterval
  • Default Api Version: 2023-09-01
ExportLogAnalyticsThrottledRequests(SubscriptionResource, WaitUntil, AzureLocation, ThrottledRequestsContent, CancellationToken)

Export logs that show total throttled Api requests for this subscription in the given time window.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests
  • Operation Id: LogAnalytics_ExportThrottledRequests
  • Default Api Version: 2023-09-01
ExportLogAnalyticsThrottledRequestsAsync(SubscriptionResource, WaitUntil, AzureLocation, ThrottledRequestsContent, CancellationToken)

Export logs that show total throttled Api requests for this subscription in the given time window.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests
  • Operation Id: LogAnalytics_ExportThrottledRequests
  • Default Api Version: 2023-09-01
GetAvailabilitySet(ResourceGroupResource, String, CancellationToken)

Retrieves information about an availability set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}
  • Operation Id: AvailabilitySets_Get
  • Default Api Version: 2023-09-01
  • Resource: AvailabilitySetResource
GetAvailabilitySetAsync(ResourceGroupResource, String, CancellationToken)

Retrieves information about an availability set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}
  • Operation Id: AvailabilitySets_Get
  • Default Api Version: 2023-09-01
  • Resource: AvailabilitySetResource
GetAvailabilitySetResource(ArmClient, ResourceIdentifier)

Gets an object representing an AvailabilitySetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AvailabilitySetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAvailabilitySetResource(ResourceIdentifier) instead.

GetAvailabilitySets(ResourceGroupResource)

Gets a collection of AvailabilitySetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAvailabilitySets() instead.

GetAvailabilitySets(SubscriptionResource, String, CancellationToken)

Lists all availability sets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: AvailabilitySetResource
GetAvailabilitySetsAsync(SubscriptionResource, String, CancellationToken)

Lists all availability sets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: AvailabilitySetResource
GetCapacityReservationGroup(ResourceGroupResource, String, Nullable<CapacityReservationGroupInstanceViewType>, CancellationToken)

The operation that retrieves information about a capacity reservation group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}
  • Operation Id: CapacityReservationGroups_Get
  • Default Api Version: 2023-09-01
  • Resource: CapacityReservationGroupResource
GetCapacityReservationGroupAsync(ResourceGroupResource, String, Nullable<CapacityReservationGroupInstanceViewType>, CancellationToken)

The operation that retrieves information about a capacity reservation group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}
  • Operation Id: CapacityReservationGroups_Get
  • Default Api Version: 2023-09-01
  • Resource: CapacityReservationGroupResource
GetCapacityReservationGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a CapacityReservationGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a CapacityReservationGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCapacityReservationGroupResource(ResourceIdentifier) instead.

GetCapacityReservationGroups(ResourceGroupResource)

Gets a collection of CapacityReservationGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCapacityReservationGroups() instead.

GetCapacityReservationGroups(SubscriptionResource, Nullable<CapacityReservationGroupGetExpand>, CancellationToken)

Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups
  • Operation Id: CapacityReservationGroups_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: CapacityReservationGroupResource
GetCapacityReservationGroupsAsync(SubscriptionResource, Nullable<CapacityReservationGroupGetExpand>, CancellationToken)

Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups
  • Operation Id: CapacityReservationGroups_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: CapacityReservationGroupResource
GetCapacityReservationResource(ArmClient, ResourceIdentifier)

Gets an object representing a CapacityReservationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a CapacityReservationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCapacityReservationResource(ResourceIdentifier) instead.

GetCloudService(ResourceGroupResource, String, CancellationToken)

Display information about a cloud service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
  • Operation Id: CloudServices_Get
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceResource
GetCloudServiceAsync(ResourceGroupResource, String, CancellationToken)

Display information about a cloud service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
  • Operation Id: CloudServices_Get
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceResource
GetCloudServiceOSFamilies(SubscriptionResource, AzureLocation)

Gets a collection of CloudServiceOSFamilyResources in the SubscriptionResource. MockingTo mock this method, please mock GetCloudServiceOSFamilies(AzureLocation) instead.

GetCloudServiceOSFamily(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}
  • Operation Id: CloudServiceOperatingSystems_GetOSFamily
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceOSFamilyResource
GetCloudServiceOSFamilyAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}
  • Operation Id: CloudServiceOperatingSystems_GetOSFamily
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceOSFamilyResource
GetCloudServiceOSFamilyResource(ArmClient, ResourceIdentifier)

Gets an object representing a CloudServiceOSFamilyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a CloudServiceOSFamilyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCloudServiceOSFamilyResource(ResourceIdentifier) instead.

GetCloudServiceOSVersion(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}
  • Operation Id: CloudServiceOperatingSystems_GetOSVersion
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceOSVersionResource
GetCloudServiceOSVersionAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}
  • Operation Id: CloudServiceOperatingSystems_GetOSVersion
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceOSVersionResource
GetCloudServiceOSVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CloudServiceOSVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a CloudServiceOSVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCloudServiceOSVersionResource(ResourceIdentifier) instead.

GetCloudServiceOSVersions(SubscriptionResource, AzureLocation)

Gets a collection of CloudServiceOSVersionResources in the SubscriptionResource. MockingTo mock this method, please mock GetCloudServiceOSVersions(AzureLocation) instead.

GetCloudServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a CloudServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a CloudServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCloudServiceResource(ResourceIdentifier) instead.

GetCloudServiceRoleInstanceResource(ArmClient, ResourceIdentifier)

Gets an object representing a CloudServiceRoleInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a CloudServiceRoleInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCloudServiceRoleInstanceResource(ResourceIdentifier) instead.

GetCloudServiceRoleResource(ArmClient, ResourceIdentifier)

Gets an object representing a CloudServiceRoleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a CloudServiceRoleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCloudServiceRoleResource(ResourceIdentifier) instead.

GetCloudServices(ResourceGroupResource)

Gets a collection of CloudServiceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCloudServices() instead.

GetCloudServices(SubscriptionResource, CancellationToken)

Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices
  • Operation Id: CloudServices_ListAll
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceResource
GetCloudServicesAsync(SubscriptionResource, CancellationToken)

Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices
  • Operation Id: CloudServices_ListAll
  • Default Api Version: 2022-09-04
  • Resource: CloudServiceResource
GetCommunityGalleries(SubscriptionResource)

Gets a collection of CommunityGalleryResources in the SubscriptionResource. MockingTo mock this method, please mock GetCommunityGalleries() instead.

GetCommunityGallery(SubscriptionResource, AzureLocation, String, CancellationToken)

Get a community gallery by gallery public name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
  • Operation Id: CommunityGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: CommunityGalleryResource
GetCommunityGalleryAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get a community gallery by gallery public name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}
  • Operation Id: CommunityGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: CommunityGalleryResource
GetCommunityGalleryImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a CommunityGalleryImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String, String) to create a CommunityGalleryImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCommunityGalleryImageResource(ResourceIdentifier) instead.

GetCommunityGalleryImageVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CommunityGalleryImageVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String, String, String) to create a CommunityGalleryImageVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCommunityGalleryImageVersionResource(ResourceIdentifier) instead.

GetCommunityGalleryResource(ArmClient, ResourceIdentifier)

Gets an object representing a CommunityGalleryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a CommunityGalleryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCommunityGalleryResource(ResourceIdentifier) instead.

GetComputePrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ComputePrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ComputePrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetComputePrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetComputeResourceSkus(SubscriptionResource, String, String, CancellationToken)

Gets the list of Microsoft.Compute SKUs available for your Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus
  • Operation Id: ResourceSkus_List
  • Default Api Version: 2021-07-01
GetComputeResourceSkusAsync(SubscriptionResource, String, String, CancellationToken)

Gets the list of Microsoft.Compute SKUs available for your Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus
  • Operation Id: ResourceSkus_List
  • Default Api Version: 2021-07-01
GetDedicatedHostGroup(ResourceGroupResource, String, Nullable<InstanceViewType>, CancellationToken)

Retrieves information about a dedicated host group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • Operation Id: DedicatedHostGroups_Get
  • Default Api Version: 2023-09-01
  • Resource: DedicatedHostGroupResource
GetDedicatedHostGroupAsync(ResourceGroupResource, String, Nullable<InstanceViewType>, CancellationToken)

Retrieves information about a dedicated host group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • Operation Id: DedicatedHostGroups_Get
  • Default Api Version: 2023-09-01
  • Resource: DedicatedHostGroupResource
GetDedicatedHostGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a DedicatedHostGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DedicatedHostGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDedicatedHostGroupResource(ResourceIdentifier) instead.

GetDedicatedHostGroups(ResourceGroupResource)

Gets a collection of DedicatedHostGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDedicatedHostGroups() instead.

GetDedicatedHostGroups(SubscriptionResource, CancellationToken)

Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups
  • Operation Id: DedicatedHostGroups_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: DedicatedHostGroupResource
GetDedicatedHostGroupsAsync(SubscriptionResource, CancellationToken)

Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups
  • Operation Id: DedicatedHostGroups_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: DedicatedHostGroupResource
GetDedicatedHostResource(ArmClient, ResourceIdentifier)

Gets an object representing a DedicatedHostResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DedicatedHostResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDedicatedHostResource(ResourceIdentifier) instead.

GetDiskAccess(ResourceGroupResource, String, CancellationToken)

Gets information about a disk access resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
  • Operation Id: DiskAccesses_Get
  • Default Api Version: 2023-10-02
  • Resource: DiskAccessResource
GetDiskAccessAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a disk access resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
  • Operation Id: DiskAccesses_Get
  • Default Api Version: 2023-10-02
  • Resource: DiskAccessResource
GetDiskAccesses(ResourceGroupResource)

Gets a collection of DiskAccessResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDiskAccesses() instead.

GetDiskAccesses(SubscriptionResource, CancellationToken)

Lists all the disk access resources under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses
  • Operation Id: DiskAccesses_List
  • Default Api Version: 2023-10-02
  • Resource: DiskAccessResource
GetDiskAccessesAsync(SubscriptionResource, CancellationToken)

Lists all the disk access resources under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses
  • Operation Id: DiskAccesses_List
  • Default Api Version: 2023-10-02
  • Resource: DiskAccessResource
GetDiskAccessResource(ArmClient, ResourceIdentifier)

Gets an object representing a DiskAccessResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DiskAccessResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiskAccessResource(ResourceIdentifier) instead.

GetDiskEncryptionSet(ResourceGroupResource, String, CancellationToken)

Gets information about a disk encryption set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
  • Operation Id: DiskEncryptionSets_Get
  • Default Api Version: 2023-10-02
  • Resource: DiskEncryptionSetResource
GetDiskEncryptionSetAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a disk encryption set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
  • Operation Id: DiskEncryptionSets_Get
  • Default Api Version: 2023-10-02
  • Resource: DiskEncryptionSetResource
GetDiskEncryptionSetResource(ArmClient, ResourceIdentifier)

Gets an object representing a DiskEncryptionSetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DiskEncryptionSetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiskEncryptionSetResource(ResourceIdentifier) instead.

GetDiskEncryptionSets(ResourceGroupResource)

Gets a collection of DiskEncryptionSetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDiskEncryptionSets() instead.

GetDiskEncryptionSets(SubscriptionResource, CancellationToken)

Lists all the disk encryption sets under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets
  • Operation Id: DiskEncryptionSets_List
  • Default Api Version: 2023-10-02
  • Resource: DiskEncryptionSetResource
GetDiskEncryptionSetsAsync(SubscriptionResource, CancellationToken)

Lists all the disk encryption sets under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets
  • Operation Id: DiskEncryptionSets_List
  • Default Api Version: 2023-10-02
  • Resource: DiskEncryptionSetResource
GetDiskImage(ResourceGroupResource, String, String, CancellationToken)

Gets an image.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
  • Operation Id: Images_Get
  • Default Api Version: 2023-09-01
  • Resource: DiskImageResource
GetDiskImageAsync(ResourceGroupResource, String, String, CancellationToken)

Gets an image.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
  • Operation Id: Images_Get
  • Default Api Version: 2023-09-01
  • Resource: DiskImageResource
GetDiskImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a DiskImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DiskImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiskImageResource(ResourceIdentifier) instead.

GetDiskImages(ResourceGroupResource)

Gets a collection of DiskImageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDiskImages() instead.

GetDiskImages(SubscriptionResource, CancellationToken)

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/images
  • Operation Id: Images_List
  • Default Api Version: 2023-09-01
  • Resource: DiskImageResource
GetDiskImagesAsync(SubscriptionResource, CancellationToken)

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/images
  • Operation Id: Images_List
  • Default Api Version: 2023-09-01
  • Resource: DiskImageResource
GetDiskRestorePointResource(ArmClient, ResourceIdentifier)

Gets an object representing a DiskRestorePointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DiskRestorePointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiskRestorePointResource(ResourceIdentifier) instead.

GetGalleries(ResourceGroupResource)

Gets a collection of GalleryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetGalleries() instead.

GetGalleries(SubscriptionResource, CancellationToken)

List galleries under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries
  • Operation Id: Galleries_List
  • Default Api Version: 2023-07-03
  • Resource: GalleryResource
GetGalleriesAsync(SubscriptionResource, CancellationToken)

List galleries under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries
  • Operation Id: Galleries_List
  • Default Api Version: 2023-07-03
  • Resource: GalleryResource
GetGallery(ResourceGroupResource, String, Nullable<SelectPermission>, Nullable<GalleryExpand>, CancellationToken)

Retrieves information about a Shared Image Gallery.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}
  • Operation Id: Galleries_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryResource
GetGalleryApplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing a GalleryApplicationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a GalleryApplicationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGalleryApplicationResource(ResourceIdentifier) instead.

GetGalleryApplicationVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a GalleryApplicationVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a GalleryApplicationVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGalleryApplicationVersionResource(ResourceIdentifier) instead.

GetGalleryAsync(ResourceGroupResource, String, Nullable<SelectPermission>, Nullable<GalleryExpand>, CancellationToken)

Retrieves information about a Shared Image Gallery.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}
  • Operation Id: Galleries_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryResource
GetGalleryImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a GalleryImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a GalleryImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGalleryImageResource(ResourceIdentifier) instead.

GetGalleryImageVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a GalleryImageVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a GalleryImageVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGalleryImageVersionResource(ResourceIdentifier) instead.

GetGalleryResource(ArmClient, ResourceIdentifier)

Gets an object representing a GalleryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a GalleryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGalleryResource(ResourceIdentifier) instead.

GetManagedDisk(ResourceGroupResource, String, CancellationToken)

Gets information about a disk.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • Operation Id: Disks_Get
  • Default Api Version: 2023-10-02
  • Resource: ManagedDiskResource
GetManagedDiskAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a disk.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • Operation Id: Disks_Get
  • Default Api Version: 2023-10-02
  • Resource: ManagedDiskResource
GetManagedDiskResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedDiskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ManagedDiskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedDiskResource(ResourceIdentifier) instead.

GetManagedDisks(ResourceGroupResource)

Gets a collection of ManagedDiskResources in the ResourceGroupResource. MockingTo mock this method, please mock GetManagedDisks() instead.

GetManagedDisks(SubscriptionResource, CancellationToken)

Lists all the disks under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks
  • Operation Id: Disks_List
  • Default Api Version: 2023-10-02
  • Resource: ManagedDiskResource
GetManagedDisksAsync(SubscriptionResource, CancellationToken)

Lists all the disks under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks
  • Operation Id: Disks_List
  • Default Api Version: 2023-10-02
  • Resource: ManagedDiskResource
GetOffersVirtualMachineImagesEdgeZones(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Gets a list of virtual machine image offers for the specified location, edge zone and publisher.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers
  • Operation Id: VirtualMachineImagesEdgeZone_ListOffers
  • Default Api Version: 2023-09-01
GetOffersVirtualMachineImagesEdgeZonesAsync(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Gets a list of virtual machine image offers for the specified location, edge zone and publisher.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers
  • Operation Id: VirtualMachineImagesEdgeZone_ListOffers
  • Default Api Version: 2023-09-01
GetProximityPlacementGroup(ResourceGroupResource, String, String, CancellationToken)

Retrieves information about a proximity placement group .

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2023-09-01
  • Resource: ProximityPlacementGroupResource
GetProximityPlacementGroupAsync(ResourceGroupResource, String, String, CancellationToken)

Retrieves information about a proximity placement group .

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
  • Operation Id: ProximityPlacementGroups_Get
  • Default Api Version: 2023-09-01
  • Resource: ProximityPlacementGroupResource
GetProximityPlacementGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a ProximityPlacementGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ProximityPlacementGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetProximityPlacementGroupResource(ResourceIdentifier) instead.

GetProximityPlacementGroups(ResourceGroupResource)

Gets a collection of ProximityPlacementGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetProximityPlacementGroups() instead.

GetProximityPlacementGroups(SubscriptionResource, CancellationToken)

Lists all proximity placement groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups
  • Operation Id: ProximityPlacementGroups_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: ProximityPlacementGroupResource
GetProximityPlacementGroupsAsync(SubscriptionResource, CancellationToken)

Lists all proximity placement groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups
  • Operation Id: ProximityPlacementGroups_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: ProximityPlacementGroupResource
GetPublishersVirtualMachineImagesEdgeZones(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets a list of virtual machine image publishers for the specified Azure location and edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers
  • Operation Id: VirtualMachineImagesEdgeZone_ListPublishers
  • Default Api Version: 2023-09-01
GetPublishersVirtualMachineImagesEdgeZonesAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets a list of virtual machine image publishers for the specified Azure location and edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers
  • Operation Id: VirtualMachineImagesEdgeZone_ListPublishers
  • Default Api Version: 2023-09-01
GetRestorePointGroup(ResourceGroupResource, String, Nullable<RestorePointGroupExpand>, CancellationToken)

The operation to get the restore point collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2023-09-01
  • Resource: RestorePointGroupResource
GetRestorePointGroupAsync(ResourceGroupResource, String, Nullable<RestorePointGroupExpand>, CancellationToken)

The operation to get the restore point collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
  • Operation Id: RestorePointCollections_Get
  • Default Api Version: 2023-09-01
  • Resource: RestorePointGroupResource
GetRestorePointGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a RestorePointGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a RestorePointGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRestorePointGroupResource(ResourceIdentifier) instead.

GetRestorePointGroups(ResourceGroupResource)

Gets a collection of RestorePointGroupResources in the ResourceGroupResource. MockingTo mock this method, please mock GetRestorePointGroups() instead.

GetRestorePointGroups(SubscriptionResource, CancellationToken)

Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections
  • Operation Id: RestorePointCollections_ListAll
  • Default Api Version: 2023-09-01
  • Resource: RestorePointGroupResource
GetRestorePointGroupsAsync(SubscriptionResource, CancellationToken)

Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections
  • Operation Id: RestorePointCollections_ListAll
  • Default Api Version: 2023-09-01
  • Resource: RestorePointGroupResource
GetRestorePointResource(ArmClient, ResourceIdentifier)

Gets an object representing a RestorePointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a RestorePointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRestorePointResource(ResourceIdentifier) instead.

GetSharedGalleries(SubscriptionResource, AzureLocation)

Gets a collection of SharedGalleryResources in the SubscriptionResource. MockingTo mock this method, please mock GetSharedGalleries(AzureLocation) instead.

GetSharedGallery(SubscriptionResource, AzureLocation, String, CancellationToken)

Get a shared gallery by subscription id or tenant id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}
  • Operation Id: SharedGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: SharedGalleryResource
GetSharedGalleryAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get a shared gallery by subscription id or tenant id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}
  • Operation Id: SharedGalleries_Get
  • Default Api Version: 2023-07-03
  • Resource: SharedGalleryResource
GetSharedGalleryImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a SharedGalleryImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String, String) to create a SharedGalleryImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSharedGalleryImageResource(ResourceIdentifier) instead.

GetSharedGalleryImageVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a SharedGalleryImageVersionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String, String, String) to create a SharedGalleryImageVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSharedGalleryImageVersionResource(ResourceIdentifier) instead.

GetSharedGalleryResource(ArmClient, ResourceIdentifier)

Gets an object representing a SharedGalleryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a SharedGalleryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSharedGalleryResource(ResourceIdentifier) instead.

GetSnapshot(ResourceGroupResource, String, CancellationToken)

Gets information about a snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
  • Operation Id: Snapshots_Get
  • Default Api Version: 2023-10-02
  • Resource: SnapshotResource
GetSnapshotAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
  • Operation Id: Snapshots_Get
  • Default Api Version: 2023-10-02
  • Resource: SnapshotResource
GetSnapshotResource(ArmClient, ResourceIdentifier)

Gets an object representing a SnapshotResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SnapshotResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSnapshotResource(ResourceIdentifier) instead.

GetSnapshots(ResourceGroupResource)

Gets a collection of SnapshotResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSnapshots() instead.

GetSnapshots(SubscriptionResource, CancellationToken)

Lists snapshots under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots
  • Operation Id: Snapshots_List
  • Default Api Version: 2023-10-02
  • Resource: SnapshotResource
GetSnapshotsAsync(SubscriptionResource, CancellationToken)

Lists snapshots under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots
  • Operation Id: Snapshots_List
  • Default Api Version: 2023-10-02
  • Resource: SnapshotResource
GetSshPublicKey(ResourceGroupResource, String, CancellationToken)

Retrieves information about an SSH public key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}
  • Operation Id: SshPublicKeys_Get
  • Default Api Version: 2023-09-01
  • Resource: SshPublicKeyResource
GetSshPublicKeyAsync(ResourceGroupResource, String, CancellationToken)

Retrieves information about an SSH public key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}
  • Operation Id: SshPublicKeys_Get
  • Default Api Version: 2023-09-01
  • Resource: SshPublicKeyResource
GetSshPublicKeyResource(ArmClient, ResourceIdentifier)

Gets an object representing a SshPublicKeyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SshPublicKeyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSshPublicKeyResource(ResourceIdentifier) instead.

GetSshPublicKeys(ResourceGroupResource)

Gets a collection of SshPublicKeyResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSshPublicKeys() instead.

GetSshPublicKeys(SubscriptionResource, CancellationToken)

Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys
  • Operation Id: SshPublicKeys_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: SshPublicKeyResource
GetSshPublicKeysAsync(SubscriptionResource, CancellationToken)

Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys
  • Operation Id: SshPublicKeys_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: SshPublicKeyResource
GetUsages(SubscriptionResource, AzureLocation, CancellationToken)

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages
  • Operation Id: Usage_List
  • Default Api Version: 2023-09-01
GetUsagesAsync(SubscriptionResource, AzureLocation, CancellationToken)

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages
  • Operation Id: Usage_List
  • Default Api Version: 2023-09-01
GetVirtualMachine(ResourceGroupResource, String, Nullable<InstanceViewType>, CancellationToken)

Retrieves information about the model view or the instance view of a virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
GetVirtualMachineAsync(ResourceGroupResource, String, Nullable<InstanceViewType>, CancellationToken)

Retrieves information about the model view or the instance view of a virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}
  • Operation Id: VirtualMachines_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
GetVirtualMachineExtensionImage(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

Gets a virtual machine extension image.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineExtensionImageResource
GetVirtualMachineExtensionImageAsync(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

Gets a virtual machine extension image.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineExtensionImageResource
GetVirtualMachineExtensionImageResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineExtensionImageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String, String, String) to create a VirtualMachineExtensionImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineExtensionImageResource(ResourceIdentifier) instead.

GetVirtualMachineExtensionImages(SubscriptionResource, AzureLocation, String)

Gets a collection of VirtualMachineExtensionImageResources in the SubscriptionResource. MockingTo mock this method, please mock GetVirtualMachineExtensionImages(AzureLocation, String) instead.

GetVirtualMachineExtensionResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineExtensionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VirtualMachineExtensionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineExtensionResource(ResourceIdentifier) instead.

GetVirtualMachineImage(SubscriptionResource, AzureLocation, String, String, String, String, CancellationToken)

Gets a virtual machine image.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImages_Get
  • Default Api Version: 2023-09-01
GetVirtualMachineImageAsync(SubscriptionResource, AzureLocation, String, String, String, String, CancellationToken)

Gets a virtual machine image.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImages_Get
  • Default Api Version: 2023-09-01
GetVirtualMachineImageEdgeZoneSkus(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus
  • Operation Id: VirtualMachineImagesEdgeZone_ListSkus
  • Default Api Version: 2023-09-01
GetVirtualMachineImageEdgeZoneSkusAsync(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus
  • Operation Id: VirtualMachineImagesEdgeZone_ListSkus
  • Default Api Version: 2023-09-01
GetVirtualMachineImageOffers(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets a list of virtual machine image offers for the specified location and publisher.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers
  • Operation Id: VirtualMachineImages_ListOffers
  • Default Api Version: 2023-09-01
GetVirtualMachineImageOffersAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets a list of virtual machine image offers for the specified location and publisher.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers
  • Operation Id: VirtualMachineImages_ListOffers
  • Default Api Version: 2023-09-01
GetVirtualMachineImagePublishers(SubscriptionResource, AzureLocation, CancellationToken)

Gets a list of virtual machine image publishers for the specified Azure location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers
  • Operation Id: VirtualMachineImages_ListPublishers
  • Default Api Version: 2023-09-01
GetVirtualMachineImagePublishersAsync(SubscriptionResource, AzureLocation, CancellationToken)

Gets a list of virtual machine image publishers for the specified Azure location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers
  • Operation Id: VirtualMachineImages_ListPublishers
  • Default Api Version: 2023-09-01
GetVirtualMachineImages(SubscriptionResource, AzureLocation, String, String, String, String, Nullable<Int32>, String, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImages_List
GetVirtualMachineImages(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesOptions, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImages_List
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesAsync(SubscriptionResource, AzureLocation, String, String, String, String, Nullable<Int32>, String, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImages_List
GetVirtualMachineImagesAsync(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesOptions, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImages_List
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesByEdgeZone(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets a list of all virtual machine image versions for the specified edge zone

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages
  • Operation Id: VirtualMachineImages_ListByEdgeZone
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesByEdgeZoneAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets a list of all virtual machine image versions for the specified edge zone

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages
  • Operation Id: VirtualMachineImages_ListByEdgeZone
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesEdgeZone(SubscriptionResource, AzureLocation, String, String, String, String, String, CancellationToken)

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
GetVirtualMachineImagesEdgeZone(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesEdgeZoneAsync(SubscriptionResource, AzureLocation, String, String, String, String, String, CancellationToken)

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
GetVirtualMachineImagesEdgeZoneAsync(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesEdgeZones(SubscriptionResource, AzureLocation, String, String, String, String, String, Nullable<Int32>, String, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImagesEdgeZone_List
GetVirtualMachineImagesEdgeZones(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImagesEdgeZone_List
  • Default Api Version: 2023-09-01
GetVirtualMachineImagesEdgeZonesAsync(SubscriptionResource, AzureLocation, String, String, String, String, String, Nullable<Int32>, String, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImagesEdgeZone_List
GetVirtualMachineImagesEdgeZonesAsync(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, CancellationToken)

Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
  • Operation Id: VirtualMachineImagesEdgeZone_List
  • Default Api Version: 2023-09-01
GetVirtualMachineImageSkus(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus
  • Operation Id: VirtualMachineImages_ListSkus
  • Default Api Version: 2023-09-01
GetVirtualMachineImageSkusAsync(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus
  • Operation Id: VirtualMachineImages_ListSkus
  • Default Api Version: 2023-09-01
GetVirtualMachineResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VirtualMachineResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineResource(ResourceIdentifier) instead.

GetVirtualMachineRunCommand(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets specific run command for a subscription in a location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}
  • Operation Id: VirtualMachineRunCommands_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
GetVirtualMachineRunCommandAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Gets specific run command for a subscription in a location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}
  • Operation Id: VirtualMachineRunCommands_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
GetVirtualMachineRunCommandResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineRunCommandResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VirtualMachineRunCommandResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineRunCommandResource(ResourceIdentifier) instead.

GetVirtualMachineRunCommands(SubscriptionResource, AzureLocation, CancellationToken)

Lists all available run commands for a subscription in a location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands
  • Operation Id: VirtualMachineRunCommands_List
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
GetVirtualMachineRunCommandsAsync(SubscriptionResource, AzureLocation, CancellationToken)

Lists all available run commands for a subscription in a location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands
  • Operation Id: VirtualMachineRunCommands_List
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
GetVirtualMachines(ResourceGroupResource)

Gets a collection of VirtualMachineResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualMachines() instead.

GetVirtualMachines(SubscriptionResource, String, String, Nullable<ExpandTypesForListVm>, CancellationToken)

Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines
  • Operation Id: VirtualMachines_ListAll
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
GetVirtualMachinesAsync(SubscriptionResource, String, String, Nullable<ExpandTypesForListVm>, CancellationToken)

Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines
  • Operation Id: VirtualMachines_ListAll
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
GetVirtualMachinesByLocation(SubscriptionResource, AzureLocation, CancellationToken)

Gets all the virtual machines under the specified subscription for the specified location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines
  • Operation Id: VirtualMachines_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
GetVirtualMachinesByLocationAsync(SubscriptionResource, AzureLocation, CancellationToken)

Gets all the virtual machines under the specified subscription for the specified location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines
  • Operation Id: VirtualMachines_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
GetVirtualMachineScaleSet(ResourceGroupResource, String, Nullable<VirtualMachineScaleSetGetExpand>, CancellationToken)

Display information about a virtual machine scale set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}
  • Operation Id: VirtualMachineScaleSets_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineScaleSetAsync(ResourceGroupResource, String, Nullable<VirtualMachineScaleSetGetExpand>, CancellationToken)

Display information about a virtual machine scale set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}
  • Operation Id: VirtualMachineScaleSets_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineScaleSetExtensionResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineScaleSetExtensionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VirtualMachineScaleSetExtensionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineScaleSetExtensionResource(ResourceIdentifier) instead.

GetVirtualMachineScaleSetResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineScaleSetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VirtualMachineScaleSetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineScaleSetResource(ResourceIdentifier) instead.

GetVirtualMachineScaleSetRollingUpgradeResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineScaleSetRollingUpgradeResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VirtualMachineScaleSetRollingUpgradeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineScaleSetRollingUpgradeResource(ResourceIdentifier) instead.

GetVirtualMachineScaleSets(ResourceGroupResource)

Gets a collection of VirtualMachineScaleSetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetVirtualMachineScaleSets() instead.

GetVirtualMachineScaleSets(SubscriptionResource, CancellationToken)

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets
  • Operation Id: VirtualMachineScaleSets_ListAll
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineScaleSetsAsync(SubscriptionResource, CancellationToken)

Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets
  • Operation Id: VirtualMachineScaleSets_ListAll
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineScaleSetsByLocation(SubscriptionResource, AzureLocation, CancellationToken)

Gets all the VM scale sets under the specified subscription for the specified location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets
  • Operation Id: VirtualMachineScaleSets_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineScaleSetsByLocationAsync(SubscriptionResource, AzureLocation, CancellationToken)

Gets all the VM scale sets under the specified subscription for the specified location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets
  • Operation Id: VirtualMachineScaleSets_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineScaleSetVmExtensionResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineScaleSetVmExtensionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a VirtualMachineScaleSetVmExtensionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineScaleSetVmExtensionResource(ResourceIdentifier) instead.

GetVirtualMachineScaleSetVmResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineScaleSetVmResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VirtualMachineScaleSetVmResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineScaleSetVmResource(ResourceIdentifier) instead.

GetVirtualMachineScaleSetVmRunCommandResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualMachineScaleSetVmRunCommandResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a VirtualMachineScaleSetVmRunCommandResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualMachineScaleSetVmRunCommandResource(ResourceIdentifier) instead.

GetVirtualMachineSizes(SubscriptionResource, AzureLocation, CancellationToken)

This API is deprecated. Use Resources Skus

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes
  • Operation Id: VirtualMachineSizes_List
  • Default Api Version: 2023-09-01
GetVirtualMachineSizesAsync(SubscriptionResource, AzureLocation, CancellationToken)

This API is deprecated. Use Resources Skus

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes
  • Operation Id: VirtualMachineSizes_List
  • Default Api Version: 2023-09-01

Applies to