Bagikan melalui


MobileNetworkServiceCollection Class

Definition

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

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

Constructors

MobileNetworkServiceCollection()

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

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

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

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets information about the specified service.

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

Gets all the services in a mobile network.

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

Gets all the services in a mobile network.

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

Gets information about the specified service.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MobileNetworkServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to