ArmSqlModelFactory.StorageCapability 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 StorageCapability.
public static Azure.ResourceManager.Sql.Models.StorageCapability StorageCapability (Azure.ResourceManager.Sql.Models.StorageCapabilityStorageAccountType? storageAccountType = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member StorageCapability : Nullable<Azure.ResourceManager.Sql.Models.StorageCapabilityStorageAccountType> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.StorageCapability
Public Shared Function StorageCapability (Optional storageAccountType As Nullable(Of StorageCapabilityStorageAccountType) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As StorageCapability
Parameters
- storageAccountType
- Nullable<StorageCapabilityStorageAccountType>
The storage account type for the database's backups.
- status
- Nullable<SqlCapabilityStatus>
The status of the capability.
- reason
- String
The reason for the capability not being available.
Returns
A new StorageCapability instance for mocking.