Partager via


MaintenanceExtensions.GetConfigurationAssignmentsBySubscription Méthode

Définition

Obtenir l’affectation de configuration au sein d’un abonnement

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments
  • IdConfigurationAssignmentsWithinSubscription_List d’opération
public static Azure.Pageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData> GetConfigurationAssignmentsBySubscription (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetConfigurationAssignmentsBySubscription : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.Models.MaintenanceConfigurationAssignmentData>
<Extension()>
Public Function GetConfigurationAssignmentsBySubscription (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaintenanceConfigurationAssignmentData)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection de MaintenanceConfigurationAssignmentData qui peut nécessiter plusieurs demandes de service pour itérer.

S’applique à