CognitiveServicesManagedNetworkSettingsCollection.GetAsync Method

Definition

Get API for managed network settings of a cognitive services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}.
  • Operation Id. : ManagedNetworkSettingsPropertiesBasicResources_Get.
  • Default Api Version. : 2026-03-15-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedNetworkSettingsResource>> GetAsync(string managedNetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedNetworkSettingsResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedNetworkSettingsResource>>
Public Overridable Function GetAsync (managedNetworkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesManagedNetworkSettingsResource))

Parameters

managedNetworkName
String

Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managedNetworkName is null.

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

Applies to