ArmStorageModelFactory.LastAccessTimeTrackingPolicy 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.
The blob service properties for Last access time based tracking policy.
public static Azure.ResourceManager.Storage.Models.LastAccessTimeTrackingPolicy LastAccessTimeTrackingPolicy(bool isEnabled = false, Azure.ResourceManager.Storage.Models.LastAccessTimeTrackingPolicyName? name = default, int? trackingGranularityInDays = default, System.Collections.Generic.IEnumerable<string> blobType = default);
static member LastAccessTimeTrackingPolicy : bool * Nullable<Azure.ResourceManager.Storage.Models.LastAccessTimeTrackingPolicyName> * Nullable<int> * seq<string> -> Azure.ResourceManager.Storage.Models.LastAccessTimeTrackingPolicy
Public Shared Function LastAccessTimeTrackingPolicy (Optional isEnabled As Boolean = false, Optional name As Nullable(Of LastAccessTimeTrackingPolicyName) = Nothing, Optional trackingGranularityInDays As Nullable(Of Integer) = Nothing, Optional blobType As IEnumerable(Of String) = Nothing) As LastAccessTimeTrackingPolicy
Parameters
- isEnabled
- Boolean
When set to true last access time based tracking is enabled.
Name of the policy. The valid value is AccessTimeTracking. This field is currently read only.
The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1.
- blobType
- IEnumerable<String>
An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only.
Returns
A new LastAccessTimeTrackingPolicy instance for mocking.