Sdílet prostřednictvím


ArmAppServiceModelFactory.AppServiceStorageAccessInfo Method

Definition

Initializes a new instance of AppServiceStorageAccessInfo.

public static Azure.ResourceManager.AppService.Models.AppServiceStorageAccessInfo AppServiceStorageAccessInfo (Azure.ResourceManager.AppService.Models.AppServiceStorageType? storageType = default, string accountName = default, string shareName = default, string accessKey = default, string mountPath = default, Azure.ResourceManager.AppService.Models.AppServiceStorageAccountState? state = default);
static member AppServiceStorageAccessInfo : Nullable<Azure.ResourceManager.AppService.Models.AppServiceStorageType> * string * string * string * string * Nullable<Azure.ResourceManager.AppService.Models.AppServiceStorageAccountState> -> Azure.ResourceManager.AppService.Models.AppServiceStorageAccessInfo
Public Shared Function AppServiceStorageAccessInfo (Optional storageType As Nullable(Of AppServiceStorageType) = Nothing, Optional accountName As String = Nothing, Optional shareName As String = Nothing, Optional accessKey As String = Nothing, Optional mountPath As String = Nothing, Optional state As Nullable(Of AppServiceStorageAccountState) = Nothing) As AppServiceStorageAccessInfo

Parameters

storageType
Nullable<AppServiceStorageType>

Type of storage.

accountName
String

Name of the storage account.

shareName
String

Name of the file share (container name, for Blob storage).

accessKey
String

Access key for the storage account.

mountPath
String

Path to mount the storage within the site's runtime environment.

state
Nullable<AppServiceStorageAccountState>

State of the storage account.

Returns

A new AppServiceStorageAccessInfo instance for mocking.

Applies to