MockableComputeSubscriptionResource Class

Definition

A class to add extension methods to SubscriptionResource.

public class MockableComputeSubscriptionResource : Azure.ResourceManager.ArmResource
type MockableComputeSubscriptionResource = class
    inherit ArmResource
Public Class MockableComputeSubscriptionResource
Inherits ArmResource
Inheritance
MockableComputeSubscriptionResource

Constructors

Name Description
MockableComputeSubscriptionResource()

Initializes a new instance of MockableComputeSubscriptionResource for mocking.

Properties

Name Description
Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmResource)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmResource)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmResource)
Id

Gets the resource identifier.

(Inherited from ArmResource)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmResource)

Methods

Name Description
CanUseTagResource(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
CanUseTagResourceAsync(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
ExportLogAnalyticsRequestRateByInterval(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. : LogAnalyticsOperationGroup_ExportRequestRateByInterval.
  • Default Api Version. : 2025-11-01.
ExportLogAnalyticsRequestRateByIntervalAsync(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. : LogAnalyticsOperationGroup_ExportRequestRateByInterval.
  • Default Api Version. : 2025-11-01.
ExportLogAnalyticsThrottledRequests(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. : LogAnalyticsOperationGroup_ExportThrottledRequests.
  • Default Api Version. : 2025-11-01.
ExportLogAnalyticsThrottledRequestsAsync(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. : LogAnalyticsOperationGroup_ExportThrottledRequests.
  • Default Api Version. : 2025-11-01.
GetAvailabilitySets(String, CancellationToken)

Lists all availability sets in a subscription.

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

Lists all availability sets in a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets.
  • Operation Id. : AvailabilitySets_ListBySubscription.
  • Default Api Version. : 2025-11-01.
GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetCapacityReservationGroups(Nullable<CapacityReservationGroupGetExpand>, Nullable<ResourceIdOptionsForGetCapacityReservationGroup>, 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. : 2025-11-01.
GetCapacityReservationGroupsAsync(Nullable<CapacityReservationGroupGetExpand>, Nullable<ResourceIdOptionsForGetCapacityReservationGroup>, 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. : 2025-11-01.
GetCommunityGallery(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: 2024-03-03
  • Resource: Azure.ResourceManager.Compute.CommunityGalleryResource
GetCommunityGalleryAsync(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: 2024-03-03
  • Resource: Azure.ResourceManager.Compute.CommunityGalleryResource
GetCommunityGalleryData(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. : 2025-03-03.
GetCommunityGalleryDataAsync(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. : 2025-03-03.
GetCommunityGalleryImage(AzureLocation, String, String, CancellationToken)

Get a community gallery image.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}.
  • Operation Id. : CommunityGalleryImages_Get.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImageAsync(AzureLocation, String, String, CancellationToken)

Get a community gallery image.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}.
  • Operation Id. : CommunityGalleryImages_Get.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImages(AzureLocation, String, CancellationToken)

List community gallery images inside a gallery.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images.
  • Operation Id. : CommunityGalleryImages_List.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImagesAsync(AzureLocation, String, CancellationToken)

List community gallery images inside a gallery.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images.
  • Operation Id. : CommunityGalleryImages_List.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImageVersion(AzureLocation, String, String, String, CancellationToken)

Get a community gallery image version.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}.
  • Operation Id. : CommunityGalleryImageVersions_Get.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImageVersionAsync(AzureLocation, String, String, String, CancellationToken)

Get a community gallery image version.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}.
  • Operation Id. : CommunityGalleryImageVersions_Get.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImageVersions(AzureLocation, String, String, CancellationToken)

List community gallery image versions inside an image.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions.
  • Operation Id. : CommunityGalleryImageVersions_List.
  • Default Api Version. : 2025-03-03.
GetCommunityGalleryImageVersionsAsync(AzureLocation, String, String, CancellationToken)

List community gallery image versions inside an image.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions.
  • Operation Id. : CommunityGalleryImageVersions_List.
  • Default Api Version. : 2025-03-03.
GetComputeResourceSkus(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(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.
GetDedicatedHostGroups(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. : 2025-11-01.
GetDedicatedHostGroupsAsync(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. : 2025-11-01.
GetDiskAccesses(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. : 2025-01-02.
GetDiskAccessesAsync(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. : 2025-01-02.
GetDiskEncryptionSets(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. : 2025-01-02.
GetDiskEncryptionSetsAsync(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. : 2025-01-02.
GetDiskImages(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. : 2025-11-01.
GetDiskImagesAsync(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. : 2025-11-01.
GetGalleries(CancellationToken)

List galleries under a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries.
  • Operation Id. : Galleries_List.
  • Default Api Version. : 2025-03-03.
GetGalleriesAsync(CancellationToken)

List galleries under a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries.
  • Operation Id. : Galleries_List.
  • Default Api Version. : 2025-03-03.
GetManagedDisks(CancellationToken)

Lists all the disks under a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks.
  • Operation Id. : Disks_List.
  • Default Api Version. : 2025-01-02.
GetManagedDisksAsync(CancellationToken)

Lists all the disks under a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks.
  • Operation Id. : Disks_List.
  • Default Api Version. : 2025-01-02.
GetManagementLock(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLockAsync(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLocks()

Gets a collection of ManagementLockResources in the ArmResource.

(Inherited from ArmResource)
GetOffersVirtualMachineImagesEdgeZones(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. : VirtualMachineImagesEdgeZoneOperationGroup_ListOffers.
  • Default Api Version. : 2025-11-01.
GetOffersVirtualMachineImagesEdgeZonesAsync(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. : VirtualMachineImagesEdgeZoneOperationGroup_ListOffers.
  • Default Api Version. : 2025-11-01.
GetPolicyAssignment(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignments()

Gets a collection of PolicyAssignmentResources in the ArmResource.

(Inherited from ArmResource)
GetProximityPlacementGroups(CancellationToken)

Lists all proximity placement groups in a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups.
  • Operation Id. : ProximityPlacementGroups_ListBySubscription.
  • Default Api Version. : 2025-11-01.
GetProximityPlacementGroupsAsync(CancellationToken)

Lists all proximity placement groups in a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups.
  • Operation Id. : ProximityPlacementGroups_ListBySubscription.
  • Default Api Version. : 2025-11-01.
GetPublishersVirtualMachineImagesEdgeZones(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. : VirtualMachineImagesEdgeZoneOperationGroup_ListPublishers.
  • Default Api Version. : 2025-11-01.
GetPublishersVirtualMachineImagesEdgeZonesAsync(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. : VirtualMachineImagesEdgeZoneOperationGroup_ListPublishers.
  • Default Api Version. : 2025-11-01.
GetRestorePointGroups(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. : 2025-11-01.
GetRestorePointGroupsAsync(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. : 2025-11-01.
GetSharedGalleries(AzureLocation, Nullable<SharedToValue>, CancellationToken)

List shared galleries by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries.
  • Operation Id. : SharedGalleries_List.
  • Default Api Version. : 2025-03-03.
GetSharedGalleriesAsync(AzureLocation, Nullable<SharedToValue>, CancellationToken)

List shared galleries by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries.
  • Operation Id. : SharedGalleries_List.
  • Default Api Version. : 2025-03-03.
GetSharedGallery(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: 2024-03-03
  • Resource: Azure.ResourceManager.Compute.SharedGalleryResource
GetSharedGalleryAsync(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: 2024-03-03
  • Resource: Azure.ResourceManager.Compute.SharedGalleryResource
GetSharedGalleryData(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. : 2025-03-03.
GetSharedGalleryDataAsync(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. : 2025-03-03.
GetSharedGalleryImage(AzureLocation, String, String, CancellationToken)

Get a shared gallery image by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}.
  • Operation Id. : SharedGalleryImages_Get.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImageAsync(AzureLocation, String, String, CancellationToken)

Get a shared gallery image by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}.
  • Operation Id. : SharedGalleryImages_Get.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImages(AzureLocation, String, Nullable<SharedToValue>, CancellationToken)

List shared gallery images by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images.
  • Operation Id. : SharedGalleryImages_List.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImagesAsync(AzureLocation, String, Nullable<SharedToValue>, CancellationToken)

List shared gallery images by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images.
  • Operation Id. : SharedGalleryImages_List.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImageVersion(AzureLocation, String, String, String, CancellationToken)

Get a shared gallery image version by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}.
  • Operation Id. : SharedGalleryImageVersions_Get.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImageVersionAsync(AzureLocation, String, String, String, CancellationToken)

Get a shared gallery image version by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}.
  • Operation Id. : SharedGalleryImageVersions_Get.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImageVersions(AzureLocation, String, String, Nullable<SharedToValue>, CancellationToken)

List shared gallery image versions by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions.
  • Operation Id. : SharedGalleryImageVersions_List.
  • Default Api Version. : 2025-03-03.
GetSharedGalleryImageVersionsAsync(AzureLocation, String, String, Nullable<SharedToValue>, CancellationToken)

List shared gallery image versions by subscription id or tenant id.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions.
  • Operation Id. : SharedGalleryImageVersions_List.
  • Default Api Version. : 2025-03-03.
GetSnapshots(CancellationToken)

Lists snapshots under a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots.
  • Operation Id. : Snapshots_List.
  • Default Api Version. : 2025-01-02.
GetSnapshotsAsync(CancellationToken)

Lists snapshots under a subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots.
  • Operation Id. : Snapshots_List.
  • Default Api Version. : 2025-01-02.
GetSshPublicKeys(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. : SshPublicKeyResources_ListBySubscription.
  • Default Api Version. : 2025-11-01.
GetSshPublicKeysAsync(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. : SshPublicKeyResources_ListBySubscription.
  • Default Api Version. : 2025-11-01.
GetTagResource()

Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource.

(Inherited from ArmResource)
GetUsages(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. : UsageOperationGroup_List.
  • Default Api Version. : 2025-11-01.
GetUsagesAsync(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. : UsageOperationGroup_List.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineExtensionImage(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. : 2025-11-01.
GetVirtualMachineExtensionImageAsync(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. : 2025-11-01.
GetVirtualMachineExtensionImages(AzureLocation, String)

Gets a collection of VirtualMachineExtensionImages in the SubscriptionResource.

GetVirtualMachineImage(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. : VirtualMachineImagesOperationGroup_Get.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImageAsync(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. : VirtualMachineImagesOperationGroup_Get.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImageEdgeZoneSkus(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. : VirtualMachineImagesEdgeZoneOperationGroup_ListSkus.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImageEdgeZoneSkusAsync(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. : VirtualMachineImagesEdgeZoneOperationGroup_ListSkus.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImageOffers(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. : VirtualMachineImagesOperationGroup_ListOffers.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImageOffersAsync(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. : VirtualMachineImagesOperationGroup_ListOffers.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagePublishers(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. : VirtualMachineImagesOperationGroup_ListPublishers.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagePublishersAsync(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. : VirtualMachineImagesOperationGroup_ListPublishers.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImages(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(SubscriptionResourceGetVirtualMachineImagesOptions, CancellationToken)

Gets a list of virtual machine images.

GetVirtualMachineImagesAsync(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(SubscriptionResourceGetVirtualMachineImagesOptions, CancellationToken)

Gets a list of virtual machine images.

GetVirtualMachineImagesByEdgeZone(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. : VirtualMachineImagesOperationGroup_ListByEdgeZone.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesByEdgeZoneAsync(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. : VirtualMachineImagesOperationGroup_ListByEdgeZone.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesEdgeZone(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. : VirtualMachineImagesEdgeZoneOperationGroup_Get.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesEdgeZone(SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Gets a virtual machine image in an edge zone.

GetVirtualMachineImagesEdgeZoneAsync(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. : VirtualMachineImagesEdgeZoneOperationGroup_Get.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesEdgeZoneAsync(SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Gets a virtual machine image in an edge zone.

GetVirtualMachineImagesEdgeZones(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(SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, CancellationToken)

Gets a list of virtual machine images in an edge zone.

GetVirtualMachineImagesEdgeZonesAsync(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(SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, CancellationToken)

Gets a list of virtual machine images in an edge zone.

GetVirtualMachineImageSkus(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. : VirtualMachineImagesOperationGroup_ListSkus.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImageSkusAsync(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. : VirtualMachineImagesOperationGroup_ListSkus.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesWithProperties(AzureLocation, String, String, String, String, Nullable<Int32>, String, CancellationToken)

GetVirtualMachineImagesWithProperties

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions?$expand=Properties.
  • Operation Id. : VirtualMachineImagesOperationGroup_ListWithProperties.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesWithProperties(SubscriptionResourceGetVirtualMachineImagesWithPropertiesOptions, CancellationToken)

Gets a list of virtual machine images with their detailed properties.

GetVirtualMachineImagesWithPropertiesAsync(AzureLocation, String, String, String, String, Nullable<Int32>, String, CancellationToken)

GetVirtualMachineImagesWithProperties

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions?$expand=Properties.
  • Operation Id. : VirtualMachineImagesOperationGroup_ListWithProperties.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineImagesWithPropertiesAsync(SubscriptionResourceGetVirtualMachineImagesWithPropertiesOptions, CancellationToken)

Gets a list of virtual machine images with their detailed properties.

GetVirtualMachineRunCommand(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. : VirtualMachineRunCommandsOperationGroup_Get.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineRunCommandAsync(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. : VirtualMachineRunCommandsOperationGroup_Get.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineRunCommands(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. : VirtualMachineRunCommandsOperationGroup_List.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineRunCommandsAsync(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. : VirtualMachineRunCommandsOperationGroup_List.
  • Default Api Version. : 2025-11-01.
GetVirtualMachines(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. : 2025-11-01.
GetVirtualMachinesAsync(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. : 2025-11-01.
GetVirtualMachinesByLocation(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. : VirtualMachinesOperationGroup_ListByLocation.
  • Default Api Version. : 2025-11-01.
GetVirtualMachinesByLocationAsync(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. : VirtualMachinesOperationGroup_ListByLocation.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineScaleSets(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. : 2025-11-01.
GetVirtualMachineScaleSetsAsync(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. : 2025-11-01.
GetVirtualMachineScaleSetsByLocation(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. : VirtualMachineScaleSetsOperationGroup_ListByLocation.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineScaleSetsByLocationAsync(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. : VirtualMachineScaleSetsOperationGroup_ListByLocation.
  • Default Api Version. : 2025-11-01.
GetVirtualMachineSizes(AzureLocation, CancellationToken)

This API is deprecated. Use Resources Skus

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

This API is deprecated. Use Resources Skus

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes.
  • Operation Id. : VirtualMachineSizesOperationGroup_List.
  • Default Api Version. : 2025-11-01.
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmResource)

Extension Methods

Name Description
GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinition(ResourceIdentifier, CancellationToken) instead.</item>
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitionAsync(ResourceIdentifier, CancellationToken) instead.</item>
GetAuthorizationRoleDefinitions(ArmResource)

Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. <item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead.</item>

GetDenyAssignment(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
<item>MockingTo mock this method, please mock GetDenyAssignment(String, CancellationToken) instead.</item>
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
<item>MockingTo mock this method, please mock GetDenyAssignmentAsync(String, CancellationToken) instead.</item>
GetDenyAssignments(ArmResource)

Gets a collection of DenyAssignmentResources in the ArmResource. <item>MockingTo mock this method, please mock GetDenyAssignments() instead.</item>

GetLinkerResource(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
  • Default Api Version: 2022-05-01
  • Resource: LinkerResource
<item>MockingTo mock this method, please mock GetLinkerResource(String, CancellationToken) instead.</item>
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
  • Default Api Version: 2022-05-01
  • Resource: LinkerResource
<item>MockingTo mock this method, please mock GetLinkerResourceAsync(String, CancellationToken) instead.</item>
GetLinkerResources(ArmResource)

Gets a collection of LinkerResources in the ArmResource. <item>MockingTo mock this method, please mock GetLinkerResources() instead.</item>

GetRoleAssignment(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
<item>MockingTo mock this method, please mock GetRoleAssignment(String, String, CancellationToken) instead.</item>
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
<item>MockingTo mock this method, please mock GetRoleAssignmentAsync(String, String, CancellationToken) instead.</item>
GetRoleAssignments(ArmResource)

Gets a collection of RoleAssignmentResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignments() instead.</item>

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
<item>MockingTo mock this method, please mock GetRoleAssignmentSchedule(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleAsync(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstance(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstanceAsync(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstances(ArmResource)

Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead.</item>

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequest(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequestAsync(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleRequests(ArmResource)

Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead.</item>

GetRoleAssignmentSchedules(ArmResource)

Gets a collection of RoleAssignmentScheduleResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead.</item>

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
<item>MockingTo mock this method, please mock GetRoleEligibilitySchedule(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleAsync(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstance(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstanceAsync(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstances(ArmResource)

Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead.</item>

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequest(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequestAsync(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleRequests(ArmResource)

Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead.</item>

GetRoleEligibilitySchedules(ArmResource)

Gets a collection of RoleEligibilityScheduleResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead.</item>

GetRoleManagementPolicies(ArmResource)

Gets a collection of RoleManagementPolicyResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleManagementPolicies() instead.</item>

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicy(String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignment(String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignmentAsync(String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignments(ArmResource)

Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. <item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead.</item>

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAsync(String, CancellationToken) instead.</item>
GetSystemAssignedIdentity(ArmResource)

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource scope.

Applies to