Compartir a través de


MaintenanceApplyUpdateCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  • IdApplyUpdates_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource> GetIfExists (string providerName, string resourceType, string resourceName, string applyUpdateName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * string * string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>
override this.GetIfExists : string * string * string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Maintenance.MaintenanceApplyUpdateResource>
Public Overridable Function GetIfExists (providerName As String, resourceType As String, resourceName As String, applyUpdateName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MaintenanceApplyUpdateResource)

Parámetros

providerName
String

Nombre del proveedor de recursos.

resourceType
String

Tipo de recurso.

resourceName
String

Identificador de recursos.

applyUpdateName
String

applyUpdate Id.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

providerName, resourceTyperesourceName o applyUpdateName es una cadena vacía y se esperaba que no estuviera vacía.

providerName, resourceType, resourceName o applyUpdateName es un valor null.

Se aplica a