< Summary

Class:Azure.Storage.Blobs.Models.PageBlobCreateOptions
Assembly:Azure.Storage.Blobs
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\PageBlobCreateOptions.cs
Covered lines:1
Uncovered lines:4
Coverable lines:5
Total lines:43
Line coverage:20% (1 of 5)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_SequenceNumber()-0%100%
get_HttpHeaders()-0%100%
get_Conditions()-0%100%
get_Metadata()-0%100%
get_Tags()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\PageBlobCreateOptions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using Metadata = System.Collections.Generic.IDictionary<string, string>;
 5using Tags = System.Collections.Generic.IDictionary<string, string>;
 6
 7namespace Azure.Storage.Blobs.Models
 8{
 9    /// <summary>
 10    /// Optional parameters for creating an Page Blob.
 11    /// </summary>
 12    public class PageBlobCreateOptions
 13    {
 14        /// <summary>
 15        /// Optional user-controlled value that you can use to track requests.
 16        /// The value of the SequenceNumber must be between
 17        /// 0 and 2^63 - 1.  The default value is 0.
 18        /// </summary>
 019        public long? SequenceNumber { get; set; }
 20
 21        /// <summary>
 22        /// Optional standard HTTP header properties that can be set for the
 23        /// new page blob.
 24        /// </summary>
 025        public BlobHttpHeaders HttpHeaders { get; set; }
 26
 27        /// <summary>
 28        /// Optional <see cref="PageBlobRequestConditions"/> to add
 29        /// conditions on the creation of this new page blob.
 30        /// </summary>
 031        public PageBlobRequestConditions Conditions { get; set; }
 32
 33        /// <summary>
 34        /// Optional custom metadata to set for this page blob.
 35        /// </summary>
 036        public Metadata Metadata { get; set; }
 37
 38        /// <summary>
 39        /// Options tags to set for this append blob.
 40        /// </summary>
 1241        public Tags Tags { get; set; }
 42    }
 43}