ArmAppServiceModelFactory.AppServiceStorageAccessInfo Method
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.
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, Azure.ResourceManager.AppService.Models.AppServiceStorageProtocol? protocol = default);
static member AppServiceStorageAccessInfo : Nullable<Azure.ResourceManager.AppService.Models.AppServiceStorageType> * string * string * string * string * Nullable<Azure.ResourceManager.AppService.Models.AppServiceStorageAccountState> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceStorageProtocol> -> 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, Optional protocol As Nullable(Of AppServiceStorageProtocol) = 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 of the storage account.
- protocol
- Nullable<AppServiceStorageProtocol>
Mounting protocol to use for the storage account.
Returns
A new AppServiceStorageAccessInfo instance for mocking.
Applies to
Azure SDK for .NET