MaintenanceExtensions.GetMaintenanceGroupApplyUpdates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetMaintenanceGroupApplyUpdates(ArmClient, ResourceIdentifier) |
Gets a collection of MaintenanceGroupApplyUpdateCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetMaintenanceGroupApplyUpdates(ResourceIdentifier) instead. </item> |
| GetMaintenanceGroupApplyUpdates(SubscriptionResource, CancellationToken) |
Get Configuration records within a subscription <item> Mocking. To mock this method, please mock GetMaintenanceGroupApplyUpdates(CancellationToken) instead. </item> |
GetMaintenanceGroupApplyUpdates(ArmClient, ResourceIdentifier)
- Source:
- MaintenanceExtensions.cs
Gets a collection of MaintenanceGroupApplyUpdateCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetMaintenanceGroupApplyUpdates(ResourceIdentifier) instead. </item>
public static Azure.ResourceManager.Maintenance.MaintenanceGroupApplyUpdateCollection GetMaintenanceGroupApplyUpdates(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetMaintenanceGroupApplyUpdates : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Maintenance.MaintenanceGroupApplyUpdateCollection
<Extension()>
Public Function GetMaintenanceGroupApplyUpdates (client As ArmClient, scope As ResourceIdentifier) As MaintenanceGroupApplyUpdateCollection
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
Returns
Returns a collection of MaintenanceGroupApplyUpdateResource objects.
Exceptions
client is null.
Applies to
GetMaintenanceGroupApplyUpdates(SubscriptionResource, CancellationToken)
- Source:
- MaintenanceExtensions.cs
Get Configuration records within a subscription <item> Mocking. To mock this method, please mock GetMaintenanceGroupApplyUpdates(CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceGroupApplyUpdateResource> GetMaintenanceGroupApplyUpdates(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMaintenanceGroupApplyUpdates : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceGroupApplyUpdateResource>
<Extension()>
Public Function GetMaintenanceGroupApplyUpdates (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaintenanceGroupApplyUpdateResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of MaintenanceGroupApplyUpdateResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource is null.