共用方式為


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
AppPlatformStorageCollection
Implements

Constructors

AppPlatformStorageCollection()

Initializes a new instance of the AppPlatformStorageCollection 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, 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
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<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.

Applies to