ManagedNetworkFabricExtensions.GetNetworkFabric 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 Network Fabric resource details.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}
- Operation Id: NetworkFabrics_Get
- Default Api Version: 2023-06-15
- Resource: NetworkFabricResource
public static Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource> GetNetworkFabric(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkFabricName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabric : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource>
<Extension()>
Public Function GetNetworkFabric (resourceGroupResource As ResourceGroupResource, networkFabricName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkFabricResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- networkFabricName
- String
Name of the Network Fabric.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource
or networkFabricName
is null.
networkFabricName
is an empty string, and was expected to be non-empty.