Share via


ResourcesOperationsExtensions.CheckExistenceById Methode

Definition

Überprüft anhand der ID, ob eine Ressource vorhanden ist.

public static bool CheckExistenceById (this Microsoft.Azure.Management.ResourceManager.IResourcesOperations operations, string resourceId, string apiVersion);
static member CheckExistenceById : Microsoft.Azure.Management.ResourceManager.IResourcesOperations * string * string -> bool
<Extension()>
Public Function CheckExistenceById (operations As IResourcesOperations, resourceId As String, apiVersion As String) As Boolean

Parameter

operations
IResourcesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceId
String

Die vollständig qualifizierte ID der Ressource, einschließlich des Ressourcennamens und des Ressourcentyps. Verwenden Sie das Format /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}

apiVersion
String

Die API-Version, die für den Vorgang verwendet werden soll.

Gibt zurück

Gilt für: