MaintenanceExtensions.GetApplyUpdatesByParent 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
GetApplyUpdatesByParent(ResourceGroupResource, ResourceGroupResourceGetApplyUpdatesByParentOptions, CancellationToken) |
Track maintenance updates to resource with parent
|
GetApplyUpdatesByParent(ResourceGroupResource, String, String, String, String, String, String, CancellationToken) |
Track maintenance updates to resource with parent
|
GetApplyUpdatesByParent(ResourceGroupResource, ResourceGroupResourceGetApplyUpdatesByParentOptions, CancellationToken)
- Source:
- MaintenanceExtensions.cs
- Source:
- MaintenanceExtensions.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 static Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource> GetApplyUpdatesByParent (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetApplyUpdatesByParent : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.Maintenance.Models.ResourceGroupResourceGetApplyUpdatesByParentOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>
<Extension()>
Public Function GetApplyUpdatesByParent (resourceGroupResource As ResourceGroupResource, options As ResourceGroupResourceGetApplyUpdatesByParentOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceApplyUpdateResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
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
resourceGroupResource
or options
is null.
Applies to
GetApplyUpdatesByParent(ResourceGroupResource, String, String, String, String, String, String, CancellationToken)
- Source:
- MaintenanceExtensions.cs
- Source:
- MaintenanceExtensions.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 static Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource> GetApplyUpdatesByParent (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string applyUpdateName, System.Threading.CancellationToken cancellationToken = default);
static member GetApplyUpdatesByParent : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>
<Extension()>
Public Function GetApplyUpdatesByParent (resourceGroupResource As ResourceGroupResource, providerName As String, resourceParentType As String, resourceParentName As String, resourceType As String, resourceName As String, applyUpdateName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaintenanceApplyUpdateResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- 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
Azure SDK for .NET