Share via


MobileDataNetworkCollection Class

Definition

A class representing a collection of MobileDataNetworkResource and their operations. Each MobileDataNetworkResource in the collection will belong to the same instance of MobileNetworkResource. To get a MobileDataNetworkCollection instance call the GetMobileDataNetworks method from an instance of MobileNetworkResource.

public class MobileDataNetworkCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.MobileNetwork.MobileDataNetworkResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MobileNetwork.MobileDataNetworkResource>
type MobileDataNetworkCollection = class
    inherit ArmCollection
    interface seq<MobileDataNetworkResource>
    interface IEnumerable
    interface IAsyncEnumerable<MobileDataNetworkResource>
Public Class MobileDataNetworkCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MobileDataNetworkResource), IEnumerable(Of MobileDataNetworkResource)
Inheritance
MobileDataNetworkCollection
Implements

Constructors

MobileDataNetworkCollection()

Initializes a new instance of the MobileDataNetworkCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MobileDataNetworkData, CancellationToken)

Creates or updates a data network. Must be created in the same location as its parent mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
CreateOrUpdateAsync(WaitUntil, String, MobileDataNetworkData, CancellationToken)

Creates or updates a data network. Must be created in the same location as its parent mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_CreateOrUpdate
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
Get(String, CancellationToken)

Gets information about the specified data network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
GetAll(CancellationToken)

Lists all data networks in the mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks
  • Operation Id: DataNetworks_ListByMobileNetwork
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
GetAllAsync(CancellationToken)

Lists all data networks in the mobile network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks
  • Operation Id: DataNetworks_ListByMobileNetwork
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
GetAsync(String, CancellationToken)

Gets information about the specified data network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
  • Operation Id: DataNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileDataNetworkResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MobileDataNetworkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileDataNetworkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to