Udostępnij za pośrednictwem


MobileNetworkCollection Class

Definition

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

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

Constructors

MobileNetworkCollection()

Initializes a new instance of the MobileNetworkCollection 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, MobileNetworkData, CancellationToken)

Creates or updates a mobile network.

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

Creates or updates a mobile network.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified mobile network.

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

Lists all the mobile networks in a resource group.

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

Lists all the mobile networks in a resource group.

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

Gets information about the specified mobile network.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}
  • Operation Id: MobileNetworks_Get
  • Default Api Version: 2024-02-01
  • Resource: MobileNetworkResource
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<MobileNetworkResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to