VirtualEnclaveCommunityResource.GetVirtualEnclaveTransitHubAsync 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 TransitHubResource
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}
- Operation Id: TransitHubResource_Get
- Default Api Version: 2025-05-01-preview
- Resource: VirtualEnclaveTransitHubResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveTransitHubResource>> GetVirtualEnclaveTransitHubAsync(string transitHubName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualEnclaveTransitHubAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveTransitHubResource>>
override this.GetVirtualEnclaveTransitHubAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveTransitHubResource>>
Public Overridable Function GetVirtualEnclaveTransitHubAsync (transitHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualEnclaveTransitHubResource))
Parameters
- transitHubName
- String
The name of the TransitHub Resource.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
transitHubName
is null.
transitHubName
is an empty string, and was expected to be non-empty.