Share via


MaintenanceExtensions.GetMaintenanceApplyUpdates Method

Definition

Overloads

GetMaintenanceApplyUpdates(ResourceGroupResource)

Gets a collection of MaintenanceApplyUpdateResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMaintenanceApplyUpdates() instead.

GetMaintenanceApplyUpdates(ResourceGroupResource, CancellationToken)

Get Configuration records within a subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/applyUpdates
  • Operation Id: ApplyUpdateForResourceGroup_List
  • Default Api Version: 2023-10-01-preview
GetMaintenanceApplyUpdates(SubscriptionResource, CancellationToken)

Get Configuration records within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/applyUpdates
  • Operation Id: ApplyUpdates_List
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceApplyUpdateResource

GetMaintenanceApplyUpdates(ResourceGroupResource)

Source:
MaintenanceExtensions.cs
Source:
MaintenanceExtensions.cs

Gets a collection of MaintenanceApplyUpdateResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMaintenanceApplyUpdates() instead.

public static Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateCollection GetMaintenanceApplyUpdates (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMaintenanceApplyUpdates : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateCollection
<Extension()>
Public Function GetMaintenanceApplyUpdates (resourceGroupResource As ResourceGroupResource) As MaintenanceApplyUpdateCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of MaintenanceApplyUpdateResources and their operations over a MaintenanceApplyUpdateResource.

Exceptions

resourceGroupResource is null.

Applies to

GetMaintenanceApplyUpdates(ResourceGroupResource, CancellationToken)

Source:
MaintenanceExtensions.cs
Source:
MaintenanceExtensions.cs

Get Configuration records within a subscription and resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/applyUpdates
  • Operation Id: ApplyUpdateForResourceGroup_List
  • Default Api Version: 2023-10-01-preview
public static Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource> GetMaintenanceApplyUpdates (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMaintenanceApplyUpdates : Azure.ResourceManager.Resources.ResourceGroupResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>
<Extension()>
Public Function GetMaintenanceApplyUpdates (resourceGroupResource As ResourceGroupResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaintenanceApplyUpdateResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MaintenanceApplyUpdateResource that may take multiple service requests to iterate over.

Exceptions

resourceGroupResource is null.

Applies to

GetMaintenanceApplyUpdates(SubscriptionResource, CancellationToken)

Source:
MaintenanceExtensions.cs
Source:
MaintenanceExtensions.cs

Get Configuration records within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/applyUpdates
  • Operation Id: ApplyUpdates_List
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceApplyUpdateResource
public static Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource> GetMaintenanceApplyUpdates (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMaintenanceApplyUpdates : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>
<Extension()>
Public Function GetMaintenanceApplyUpdates (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MaintenanceApplyUpdateResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of MaintenanceApplyUpdateResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to