Language

ApplicationSecurityGroupResource.GetAddressPrefixSet Method

Definition

Gets the specified address prefix set.

public virtual Azure.Response<Azure.ResourceManager.Network.AddressPrefixSetResource> GetAddressPrefixSet(string addressPrefixSetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAddressPrefixSet : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.AddressPrefixSetResource>
override this.GetAddressPrefixSet : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.AddressPrefixSetResource>
Public Overridable Function GetAddressPrefixSet (addressPrefixSetName As String, Optional cancellationToken As CancellationToken = Nothing) As 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