Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the ImmutabilityPolicyInner class.
 /// </summary>
 /// <param name="immutabilityPeriodSinceCreationInDays">The
 /// immutability period for the blobs in the container since the policy
 /// creation, in days.</param>
 /// <param name="etag">Resource Etag.</param>
 /// <param name="state">The ImmutabilityPolicy state of a blob
 /// container, possible values include: Locked and Unlocked. Possible
 /// values include: 'Locked', 'Unlocked'</param>
 public ImmutabilityPolicyInner(int immutabilityPeriodSinceCreationInDays, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), ImmutabilityPolicyState state = default(ImmutabilityPolicyState))
     : base(id, name, type, etag)
 {
     ImmutabilityPeriodSinceCreationInDays = immutabilityPeriodSinceCreationInDays;
     State = state;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ImmutabilityPolicyProperties
 /// class.
 /// </summary>
 /// <param name="immutabilityPeriodSinceCreationInDays">The
 /// immutability period for the blobs in the container since the policy
 /// creation, in days.</param>
 /// <param name="state">The ImmutabilityPolicy state of a blob
 /// container, possible values include: Locked and Unlocked. Possible
 /// values include: 'Locked', 'Unlocked'</param>
 /// <param name="etag">ImmutabilityPolicy Etag.</param>
 /// <param name="updateHistory">The ImmutabilityPolicy update history
 /// of the blob container.</param>
 public ImmutabilityPolicyProperties(int immutabilityPeriodSinceCreationInDays, ImmutabilityPolicyState state = default(ImmutabilityPolicyState), string etag = default(string), IList <UpdateHistoryProperty> updateHistory = default(IList <UpdateHistoryProperty>))
 {
     ImmutabilityPeriodSinceCreationInDays = immutabilityPeriodSinceCreationInDays;
     State         = state;
     Etag          = etag;
     UpdateHistory = updateHistory;
     CustomInit();
 }