Example #1
0
 /// <summary>
 /// Initializes a new instance of the SasDefinitionItem class.
 /// </summary>
 /// <param name="id">The storage SAS identifier.</param>
 /// <param name="secretId">The storage account SAS definition secret
 /// id.</param>
 /// <param name="attributes">The SAS definition management
 /// attributes.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs.</param>
 public SasDefinitionItem(string id = default(string), string secretId = default(string), SasDefinitionAttributes attributes = default(SasDefinitionAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Id         = id;
     SecretId   = secretId;
     Attributes = attributes;
     Tags       = tags;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the SasDefinitionUpdateParameters
 /// class.
 /// </summary>
 /// <param name="templateUri">The SAS definition token template signed
 /// with an arbitrary key.  Tokens created according to the SAS
 /// definition will have the same properties as the template.</param>
 /// <param name="sasType">The type of SAS token the SAS definition will
 /// create. Possible values include: 'account', 'service'</param>
 /// <param name="validityPeriod">The validity period of SAS tokens
 /// created according to the SAS definition.</param>
 /// <param name="sasDefinitionAttributes">The attributes of the SAS
 /// definition.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs.</param>
 public SasDefinitionUpdateParameters(string templateUri = default(string), string sasType = default(string), string validityPeriod = default(string), SasDefinitionAttributes sasDefinitionAttributes = default(SasDefinitionAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     TemplateUri             = templateUri;
     SasType                 = sasType;
     ValidityPeriod          = validityPeriod;
     SasDefinitionAttributes = sasDefinitionAttributes;
     Tags = tags;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SasDefinitionBundle class.
 /// </summary>
 /// <param name="id">The SAS definition id.</param>
 /// <param name="secretId">Storage account SAS definition secret
 /// id.</param>
 /// <param name="templateUri">The SAS definition token template signed
 /// with an arbitrary key.  Tokens created according to the SAS
 /// definition will have the same properties as the template.</param>
 /// <param name="sasType">The type of SAS token the SAS definition will
 /// create. Possible values include: 'account', 'service'</param>
 /// <param name="validityPeriod">The validity period of SAS tokens
 /// created according to the SAS definition.</param>
 /// <param name="attributes">The SAS definition attributes.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs</param>
 public SasDefinitionBundle(string id = default(string), string secretId = default(string), string templateUri = default(string), string sasType = default(string), string validityPeriod = default(string), SasDefinitionAttributes attributes = default(SasDefinitionAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Id             = id;
     SecretId       = secretId;
     TemplateUri    = templateUri;
     SasType        = sasType;
     ValidityPeriod = validityPeriod;
     Attributes     = attributes;
     Tags           = tags;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DeletedSasDefinitionBundle class.
 /// </summary>
 /// <param name="id">The SAS definition id.</param>
 /// <param name="secretId">Storage account SAS definition secret
 /// id.</param>
 /// <param name="templateUri">The SAS definition token template signed
 /// with an arbitrary key.  Tokens created according to the SAS
 /// definition will have the same properties as the template.</param>
 /// <param name="sasType">The type of SAS token the SAS definition will
 /// create. Possible values include: 'account', 'service'</param>
 /// <param name="validityPeriod">The validity period of SAS tokens
 /// created according to the SAS definition.</param>
 /// <param name="attributes">The SAS definition attributes.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs</param>
 /// <param name="recoveryId">The url of the recovery object, used to
 /// identify and recover the deleted SAS definition.</param>
 /// <param name="scheduledPurgeDate">The time when the SAS definition
 /// is scheduled to be purged, in UTC</param>
 /// <param name="deletedDate">The time when the SAS definition was
 /// deleted, in UTC</param>
 public DeletedSasDefinitionBundle(string id = default(string), string secretId = default(string), string templateUri = default(string), string sasType = default(string), string validityPeriod = default(string), SasDefinitionAttributes attributes = default(SasDefinitionAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), string recoveryId = default(string), System.DateTime?scheduledPurgeDate = default(System.DateTime?), System.DateTime?deletedDate = default(System.DateTime?))
     : base(id, secretId, templateUri, sasType, validityPeriod, attributes, tags)
 {
     RecoveryId         = recoveryId;
     ScheduledPurgeDate = scheduledPurgeDate;
     DeletedDate        = deletedDate;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DeletedSasDefinitionItem class.
 /// </summary>
 /// <param name="id">The storage SAS identifier.</param>
 /// <param name="secretId">The storage account SAS definition secret
 /// id.</param>
 /// <param name="attributes">The SAS definition management
 /// attributes.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs.</param>
 /// <param name="recoveryId">The url of the recovery object, used to
 /// identify and recover the deleted SAS definition.</param>
 /// <param name="scheduledPurgeDate">The time when the SAS definition
 /// is scheduled to be purged, in UTC</param>
 /// <param name="deletedDate">The time when the SAS definition was
 /// deleted, in UTC</param>
 public DeletedSasDefinitionItem(string id = default(string), string secretId = default(string), SasDefinitionAttributes attributes = default(SasDefinitionAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), string recoveryId = default(string), System.DateTime?scheduledPurgeDate = default(System.DateTime?), System.DateTime?deletedDate = default(System.DateTime?))
     : base(id, secretId, attributes, tags)
 {
     RecoveryId         = recoveryId;
     ScheduledPurgeDate = scheduledPurgeDate;
     DeletedDate        = deletedDate;
     CustomInit();
 }