MockableMaintenanceSubscriptionResource.GetConfigurationAssignmentsBySubscriptionAsync Method

Definition

Get configuration assignment within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments
  • Operation Id: ConfigurationAssignmentsWithinSubscription_List
  • Default Api Version: 2023-10-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> GetConfigurationAssignmentsBySubscriptionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfigurationAssignmentsBySubscriptionAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
override this.GetConfigurationAssignmentsBySubscriptionAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
Public Overridable Function GetConfigurationAssignmentsBySubscriptionAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MaintenanceConfigurationAssignmentData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MaintenanceConfigurationAssignmentData that may take multiple service requests to iterate over.

Applies to