CognitiveServicesAccountResource.GetCognitiveServicesManagedNetworkSettingsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get API for managed network settings of a cognitive services account.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedNetworkSettingsResource>> GetCognitiveServicesManagedNetworkSettingsAsync(string managedNetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCognitiveServicesManagedNetworkSettingsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedNetworkSettingsResource>>
override this.GetCognitiveServicesManagedNetworkSettingsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesManagedNetworkSettingsResource>>
Public Overridable Function GetCognitiveServicesManagedNetworkSettingsAsync (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.