Compartir a través de


OutboundFirewallRuleCollection.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.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • IdOutboundFirewallRules_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.OutboundFirewallRuleResource> GetIfExists (string outboundRuleFqdn, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.OutboundFirewallRuleResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.OutboundFirewallRuleResource>
Public Overridable Function GetIfExists (outboundRuleFqdn As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of OutboundFirewallRuleResource)

Parámetros

outboundRuleFqdn
String

Cadena que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

outboundRuleFqdn es una cadena vacía y se esperaba que no estuviera vacía.

outboundRuleFqdn es null.

Se aplica a