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

MockableComputeSubscriptionResource()

Initializes a new instance of the MockableComputeSubscriptionResource class for mocking.

Properties

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

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: LogAnalytics_ExportRequestRateByInterval
  • Default Api Version: 2023-09-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: LogAnalytics_ExportRequestRateByInterval
  • Default Api Version: 2023-09-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: LogAnalytics_ExportThrottledRequests
  • Default Api Version: 2023-09-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: LogAnalytics_ExportThrottledRequests
  • Default Api Version: 2023-09-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: 2023-09-01
  • Resource: AvailabilitySetResource
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: 2023-09-01
  • Resource: AvailabilitySetResource
GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetCapacityReservationGroups(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(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
GetCloudServiceOSFamilies(AzureLocation)

Gets a collection of CloudServiceOSFamilyResources in the SubscriptionResource.

GetCloudServiceOSFamily(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(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
GetCloudServiceOSVersion(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(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
GetCloudServiceOSVersions(AzureLocation)

Gets a collection of CloudServiceOSVersionResources in the SubscriptionResource.

GetCloudServices(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(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()

Gets a collection of CommunityGalleryResources in the SubscriptionResource.

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: 2023-07-03
  • Resource: 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: 2023-07-03
  • Resource: CommunityGalleryResource
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: 2023-09-01
  • Resource: DedicatedHostGroupResource
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: 2023-09-01
  • Resource: DedicatedHostGroupResource
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: 2023-10-02
  • Resource: DiskAccessResource
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: 2023-10-02
  • Resource: DiskAccessResource
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: 2023-10-02
  • Resource: DiskEncryptionSetResource
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: 2023-10-02
  • Resource: DiskEncryptionSetResource
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: 2023-09-01
  • Resource: DiskImageResource
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: 2023-09-01
  • Resource: DiskImageResource
GetGalleries(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(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
GetManagedDisks(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(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
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: VirtualMachineImagesEdgeZone_ListOffers
  • Default Api Version: 2023-09-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: VirtualMachineImagesEdgeZone_ListOffers
  • Default Api Version: 2023-09-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: 2023-09-01
  • Resource: ProximityPlacementGroupResource
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: 2023-09-01
  • Resource: ProximityPlacementGroupResource
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: VirtualMachineImagesEdgeZone_ListPublishers
  • Default Api Version: 2023-09-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: VirtualMachineImagesEdgeZone_ListPublishers
  • Default Api Version: 2023-09-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: 2023-09-01
  • Resource: RestorePointGroupResource
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: 2023-09-01
  • Resource: RestorePointGroupResource
GetSharedGalleries(AzureLocation)

Gets a collection of SharedGalleryResources in the SubscriptionResource.

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: 2023-07-03
  • Resource: 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: 2023-07-03
  • Resource: SharedGalleryResource
GetSnapshots(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(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
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: SshPublicKeys_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: SshPublicKeyResource
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: SshPublicKeys_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: SshPublicKeyResource
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: Usage_List
  • Default Api Version: 2023-09-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: Usage_List
  • Default Api Version: 2023-09-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: 2023-09-01
  • Resource: VirtualMachineExtensionImageResource
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: 2023-09-01
  • Resource: VirtualMachineExtensionImageResource
GetVirtualMachineExtensionImages(AzureLocation, String)

Gets a collection of VirtualMachineExtensionImageResources 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: VirtualMachineImages_Get
  • Default Api Version: 2023-09-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: VirtualMachineImages_Get
  • Default Api Version: 2023-09-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: VirtualMachineImagesEdgeZone_ListSkus
  • Default Api Version: 2023-09-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: VirtualMachineImagesEdgeZone_ListSkus
  • Default Api Version: 2023-09-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: VirtualMachineImages_ListOffers
  • Default Api Version: 2023-09-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: VirtualMachineImages_ListOffers
  • Default Api Version: 2023-09-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: VirtualMachineImages_ListPublishers
  • Default Api Version: 2023-09-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: VirtualMachineImages_ListPublishers
  • Default Api Version: 2023-09-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 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(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 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(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(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(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(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(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(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(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 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(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 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(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(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
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: VirtualMachineRunCommands_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
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: VirtualMachineRunCommands_Get
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
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: VirtualMachineRunCommands_List
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
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: VirtualMachineRunCommands_List
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineRunCommandResource
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: 2023-09-01
  • Resource: VirtualMachineResource
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: 2023-09-01
  • Resource: VirtualMachineResource
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: VirtualMachines_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
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: VirtualMachines_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineResource
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: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
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: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
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: VirtualMachineScaleSets_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
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: VirtualMachineScaleSets_ListByLocation
  • Default Api Version: 2023-09-01
  • Resource: VirtualMachineScaleSetResource
GetVirtualMachineSizes(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(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
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmResource)

Extension Methods

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
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
GetAuthorizationRoleDefinitions(ArmResource)

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

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
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
GetDenyAssignments(ArmResource)

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

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
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
GetRoleAssignments(ArmResource)

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

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
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
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
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
GetRoleAssignmentScheduleInstances(ArmResource)

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

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
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
GetRoleAssignmentScheduleRequests(ArmResource)

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

GetRoleAssignmentSchedules(ArmResource)

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

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
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
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
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
GetRoleEligibilityScheduleInstances(ArmResource)

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

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
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
GetRoleEligibilityScheduleRequests(ArmResource)

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

GetRoleEligibilitySchedules(ArmResource)

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

GetRoleManagementPolicies(ArmResource)

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

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
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
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
GetRoleManagementPolicyAssignments(ArmResource)

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

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
GetSystemAssignedIdentity(ArmResource)

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource. MockingTo mock this method, please mock GetSystemAssignedIdentity() instead.

GetLinkerResource(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetLinkerResources(ArmResource)

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

Applies to