Freigeben über


ShareModelFactory.ShareProperties Method

Definition

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>
provisionedIops
Nullable<Int32>
provisionedIngressMBps
Nullable<Int32>
provisionedEgressMBps
Nullable<Int32>
nextAllowedQuotaDowngradeTime
Nullable<DateTimeOffset>
remainingRetentionDays
Nullable<Int32>
eTag
Nullable<ETag>
accessTierChangeTime
Nullable<DateTimeOffset>
accessTierTransitionState
String
leaseStatus
Nullable<ShareLeaseStatus>
leaseDuration
Nullable<ShareLeaseDuration>
quotaInGB
Nullable<Int32>
enableSnapshotVirtualDirectoryAccess
Nullable<Boolean>
enablePaidBursting
Nullable<Boolean>
paidBurstingMaxIops
Nullable<Int64>
paidBustingMaxBandwidthMibps
Nullable<Int64>
includedBurstIops
Nullable<Int64>
maxBurstCreditsForIops
Nullable<Int64>
nextAllowedProvisionedIopsDowngradeTime
Nullable<DateTimeOffset>
nextAllowedProvisionedBandwidthDowngradeTime
Nullable<DateTimeOffset>

Returns

Applies to