MockableDependencyMapResourceGroupResource.GetDependencyMapAsync 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 a MapsResource
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DependencyMap/maps/{mapName}
- Operation Id: MapsResource_Get
- Default Api Version: 2025-01-31-preview
- Resource: DependencyMapResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DependencyMap.DependencyMapResource>> GetDependencyMapAsync(string mapName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDependencyMapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DependencyMap.DependencyMapResource>>
override this.GetDependencyMapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DependencyMap.DependencyMapResource>>
Public Overridable Function GetDependencyMapAsync (mapName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DependencyMapResource))
Parameters
- mapName
- String
Maps resource name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
mapName
is null.
mapName
is an empty string, and was expected to be non-empty.