Share via


MobileAttachedDataNetworkCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}/attachedDataNetworks/{attachedDataNetworkName}
  • Operation Id: AttachedDataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileAttachedDataNetworkResource
public virtual Azure.NullableResponse<Azure.ResourceManager.MobileNetwork.MobileAttachedDataNetworkResource> GetIfExists (string attachedDataNetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MobileNetwork.MobileAttachedDataNetworkResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MobileNetwork.MobileAttachedDataNetworkResource>
Public Overridable Function GetIfExists (attachedDataNetworkName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MobileAttachedDataNetworkResource)

Parameters

attachedDataNetworkName
String

The name of the attached data network.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

attachedDataNetworkName is null.

Applies to