Share via


EventGridTopicResource.GetTopicNetworkSecurityPerimeterConfigurationAsync Method

Definition

Get a specific network security perimeter configuration with a topic or domain.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{resourceType}/{resourceName}/networkSecurityPerimeterConfigurations/{perimeterGuid}.{associationName}
  • Operation Id: NetworkSecurityPerimeterConfigurations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: TopicNetworkSecurityPerimeterConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.TopicNetworkSecurityPerimeterConfigurationResource>> GetTopicNetworkSecurityPerimeterConfigurationAsync (string perimeterGuid, string associationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTopicNetworkSecurityPerimeterConfigurationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.TopicNetworkSecurityPerimeterConfigurationResource>>
override this.GetTopicNetworkSecurityPerimeterConfigurationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.TopicNetworkSecurityPerimeterConfigurationResource>>
Public Overridable Function GetTopicNetworkSecurityPerimeterConfigurationAsync (perimeterGuid As String, associationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TopicNetworkSecurityPerimeterConfigurationResource))

Parameters

perimeterGuid
String

Unique identifier for perimeter.

associationName
String

Association name to association network security perimeter resource to profile.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

perimeterGuid or associationName is null.

perimeterGuid or associationName is an empty string, and was expected to be non-empty.

Applies to