ShareModelFactory.ShareProperties 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.
Creates a new ShareProperties instance for mocking.
public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties (string accessTier = default, DateTimeOffset? lastModified = default, int? provisionedIops = default, int? provisionedIngressMBps = default, int? provisionedEgressMBps = default, DateTimeOffset? nextAllowedQuotaDowngradeTime = default, DateTimeOffset? deletedOn = default, int? remainingRetentionDays = default, Azure.ETag? eTag = default, DateTimeOffset? accessTierChangeTime = default, string accessTierTransitionState = default, Azure.Storage.Files.Shares.Models.ShareLeaseStatus? leaseStatus = default, Azure.Storage.Files.Shares.Models.ShareLeaseState? leaseState = default, Azure.Storage.Files.Shares.Models.ShareLeaseDuration? leaseDuration = default, int? quotaInGB = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.Storage.Files.Shares.Models.ShareProtocols? protocols = default, Azure.Storage.Files.Shares.Models.ShareRootSquash? rootSquash = default, bool? enableSnapshotVirtualDirectoryAccess = default, bool? enablePaidBursting = default, long? paidBurstingMaxIops = default, long? paidBustingMaxBandwidthMibps = default, long? includedBurstIops = default, long? maxBurstCreditsForIops = default, DateTimeOffset? nextAllowedProvisionedIopsDowngradeTime = default, DateTimeOffset? nextAllowedProvisionedBandwidthDowngradeTime = default);
static member ShareProperties : string * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<Azure.ETag> * Nullable<DateTimeOffset> * string * Nullable<Azure.Storage.Files.Shares.Models.ShareLeaseStatus> * Nullable<Azure.Storage.Files.Shares.Models.ShareLeaseState> * Nullable<Azure.Storage.Files.Shares.Models.ShareLeaseDuration> * Nullable<int> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.Storage.Files.Shares.Models.ShareProtocols> * Nullable<Azure.Storage.Files.Shares.Models.ShareRootSquash> * Nullable<bool> * Nullable<bool> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Storage.Files.Shares.Models.ShareProperties
Public Shared Function ShareProperties (Optional accessTier As String = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional provisionedIops As Nullable(Of Integer) = Nothing, Optional provisionedIngressMBps As Nullable(Of Integer) = Nothing, Optional provisionedEgressMBps As Nullable(Of Integer) = Nothing, Optional nextAllowedQuotaDowngradeTime As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional remainingRetentionDays As Nullable(Of Integer) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional accessTierChangeTime As Nullable(Of DateTimeOffset) = Nothing, Optional accessTierTransitionState As String = Nothing, Optional leaseStatus As Nullable(Of ShareLeaseStatus) = Nothing, Optional leaseState As Nullable(Of ShareLeaseState) = Nothing, Optional leaseDuration As Nullable(Of ShareLeaseDuration) = Nothing, Optional quotaInGB As Nullable(Of Integer) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional protocols As Nullable(Of ShareProtocols) = Nothing, Optional rootSquash As Nullable(Of ShareRootSquash) = Nothing, Optional enableSnapshotVirtualDirectoryAccess As Nullable(Of Boolean) = Nothing, Optional enablePaidBursting As Nullable(Of Boolean) = Nothing, Optional paidBurstingMaxIops As Nullable(Of Long) = Nothing, Optional paidBustingMaxBandwidthMibps As Nullable(Of Long) = Nothing, Optional includedBurstIops As Nullable(Of Long) = Nothing, Optional maxBurstCreditsForIops As Nullable(Of Long) = Nothing, Optional nextAllowedProvisionedIopsDowngradeTime As Nullable(Of DateTimeOffset) = Nothing, Optional nextAllowedProvisionedBandwidthDowngradeTime As Nullable(Of DateTimeOffset) = Nothing) As ShareProperties
Parameters
- accessTier
- String
- lastModified
- Nullable<DateTimeOffset>
- nextAllowedQuotaDowngradeTime
- Nullable<DateTimeOffset>
- deletedOn
- Nullable<DateTimeOffset>
- accessTierChangeTime
- Nullable<DateTimeOffset>
- accessTierTransitionState
- String
- leaseStatus
- Nullable<ShareLeaseStatus>
- leaseState
- Nullable<ShareLeaseState>
- leaseDuration
- Nullable<ShareLeaseDuration>
- metadata
- IDictionary<String,String>
- protocols
- Nullable<ShareProtocols>
- rootSquash
- Nullable<ShareRootSquash>
- nextAllowedProvisionedIopsDowngradeTime
- Nullable<DateTimeOffset>
- nextAllowedProvisionedBandwidthDowngradeTime
- Nullable<DateTimeOffset>
Returns
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET