Sdílet prostřednictvím


MobileNetworkSiteCollection Class

Definition

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

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

Constructors

MobileNetworkSiteCollection()

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

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

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

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified mobile network site.

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

Lists all sites in the mobile network.

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

Lists all sites in the mobile network.

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

Gets information about the specified mobile network site.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkSiteResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to