Compartir a través de


NetworkFunctionCollection.GetIfExists(String, CancellationToken) Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}
  • IdNetworkFunctions_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.NetworkFunctionResource> GetIfExists (string networkFunctionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.NetworkFunctionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.NetworkFunctionResource>
Public Overridable Function GetIfExists (networkFunctionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkFunctionResource)

Parámetros

networkFunctionName
String

Nombre del recurso de función de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

networkFunctionName es una cadena vacía y se espera que no esté vacía.

networkFunctionName es null.

Se aplica a