AppPlatformStorageCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.ArmCollectionAppPlatformStorageCollection
- 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.
|
| CreateOrUpdateAsync(WaitUntil, String, AppPlatformStorageData, CancellationToken) |
Create or update storage resource.
|
| Exists(String, CancellationToken) |
Checks to see if the resource exists in azure.
|
| ExistsAsync(String, CancellationToken) |
Checks to see if the resource exists in azure.
|
| Get(String, CancellationToken) |
Get the storage resource.
|
| GetAll(CancellationToken) |
List all the storages of one Azure Spring Apps resource.
|
| GetAllAsync(CancellationToken) |
List all the storages of one Azure Spring Apps resource.
|
| GetAsync(String, CancellationToken) |
Get the storage resource.
|
| GetIfExists(String, CancellationToken) |
Tries to get details for this resource from the service.
|
| GetIfExistsAsync(String, CancellationToken) |
Tries to get details for this resource from the service.
|
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. |