MockableMaintenanceResourceGroupResource.GetApplyUpdatesByParentAsync Method

Definition

Overloads

GetApplyUpdatesByParentAsync(String, String, String, String, String, String, CancellationToken)

Track maintenance updates to resource with parent

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • Operation Id: ApplyUpdates_GetParent
GetApplyUpdatesByParentAsync(ResourceGroupResourceGetApplyUpdatesByParentOptions, CancellationToken)

Track maintenance updates to resource with parent

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • Operation Id: ApplyUpdates_GetParent
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceApplyUpdateResource

GetApplyUpdatesByParentAsync(String, String, String, String, String, String, CancellationToken)

Source:
MockableMaintenanceResourceGroupResource.cs

Track maintenance updates to resource with parent

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • Operation Id: ApplyUpdates_GetParent
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>> GetApplyUpdatesByParentAsync (string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string applyUpdateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplyUpdatesByParentAsync : string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
override this.GetApplyUpdatesByParentAsync : string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
Public Overridable Function GetApplyUpdatesByParentAsync (providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, applyUpdateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceApplyUpdateResource))

Parameters

providerName
String

Resource provider name.

resourceParentType
String

Resource parent type.

resourceParentName
String

Resource parent identifier.

resourceType
String

Resource type.

resourceName
String

Resource identifier.

applyUpdateName
String

applyUpdate Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

providerName, resourceParentType, resourceParentName, resourceType, resourceName or applyUpdateName is an empty string, and was expected to be non-empty.

providerName, resourceParentType, resourceParentName, resourceType, resourceName or applyUpdateName is null.

Applies to

GetApplyUpdatesByParentAsync(ResourceGroupResourceGetApplyUpdatesByParentOptions, CancellationToken)

Source:
MockableMaintenanceResourceGroupResource.cs

Track maintenance updates to resource with parent

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • Operation Id: ApplyUpdates_GetParent
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenanceApplyUpdateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>> GetApplyUpdatesByParentAsync (Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplyUpdatesByParentAsync : Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
override this.GetApplyUpdatesByParentAsync : Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>>
Public Overridable Function GetApplyUpdatesByParentAsync (options As ResourceGroupResourceGetApplyUpdatesByParentOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaintenanceApplyUpdateResource))

Parameters

options
ResourceGroupResourceGetApplyUpdatesByParentOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

options is null.

Applies to