Language

SandboxGroupResource.GetSandboxGroupVnetConnectionAsync Method

Definition

Get the properties of a VnetConnection.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.SandboxGroupVnetConnectionResource>> GetSandboxGroupVnetConnectionAsync(string vnetConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSandboxGroupVnetConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.SandboxGroupVnetConnectionResource>>
override this.GetSandboxGroupVnetConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.SandboxGroupVnetConnectionResource>>
Public Overridable Function GetSandboxGroupVnetConnectionAsync (vnetConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SandboxGroupVnetConnectionResource))

Parameters

vnetConnectionName
String

The name of the VnetConnection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vnetConnectionName is null.

vnetConnectionName is an empty string, and was expected to be non-empty.

Applies to