Freigeben über


AppPlatformServiceCollection Class

Definition

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

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

Constructors

Name Description
AppPlatformServiceCollection()

Initializes a new instance of the AppPlatformServiceCollection class for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, AppPlatformServiceData, CancellationToken)

Create a new Service or update an exiting Service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • Operation Id: Services_CreateOrUpdate
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
CreateOrUpdateAsync(WaitUntil, String, AppPlatformServiceData, CancellationToken)

Create a new Service or update an exiting Service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • Operation Id: Services_CreateOrUpdate
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
Get(String, CancellationToken)

Get a Service and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
GetAll(CancellationToken)

Handles requests to list all resources in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring
  • Operation Id: Services_List
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
GetAllAsync(CancellationToken)

Handles requests to list all resources in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring
  • Operation Id: Services_List
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
GetAsync(String, CancellationToken)

Get a Service and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
IAsyncEnumerable<AppPlatformServiceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppPlatformServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ChunkByKey<TSource,TKey>(IAsyncEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>, CancellationToken)

Chunks the async enumerable sequence into groups based on a key selector function.

ChunkOnChange<TSource>(IAsyncEnumerable<TSource>, Func<TSource,TSource,Boolean>, CancellationToken)

Chunks the async enumerable sequence into groups based on when consecutive elements change.

Peek<T>(IAsyncEnumerable<T>, CancellationToken)

Peeks at the first element of an async enumerable sequence without consuming the sequence.

ToSseResult<T>(IAsyncEnumerable<T>, Func<T,SseFrame>, ILogger, CancellationToken, Nullable<TimeSpan>)

Converts an async enumerable source to an SSE result with frame transformation.

Applies to