共用方式為


ArmSqlModelFactory.StorageCapability Method

Definition

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.

Applies to