Language

ApplicationSecurityGroupResource.GetAddressPrefixSetAsync Method

Definition

Gets the specified address prefix set.

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

Parameters

addressPrefixSetName
String

The name of the address prefix set.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

addressPrefixSetName is null.

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

Applies to