Share via


AppPlatformStorageCollection Class

Definition

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

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

Constructors

AppPlatformStorageCollection()

Initializes a new instance of the AppPlatformStorageCollection class for mocking.

Methods

CreateOrUpdate(WaitUntil, String, AppPlatformStorageData, CancellationToken)

Create or update storage resource.

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

Create or update storage resource.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get the storage resource.

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

List all the storages of one Azure Spring Apps resource.

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

List all the storages of one Azure Spring Apps resource.

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

Get the storage resource.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/storages/{storageName}
  • Operation Id: Storages_Get
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformStorageResource

Explicit Interface Implementations

IAsyncEnumerable<AppPlatformStorageResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppPlatformStorageResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to