コード例 #1
0
ファイル: User.cs プロジェクト: NAXKX11/azure-sdk-for-net-1
 /// <summary>
 /// Initializes a new instance of the User class.
 /// </summary>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="encryptedPassword">The password details.</param>
 /// <param name="shareAccessRights">List of shares that the user has
 /// rights on. This field should not be specified during user
 /// creation.</param>
 public User(string id = default(string), string name = default(string), string type = default(string), AsymmetricEncryptedSecret encryptedPassword = default(AsymmetricEncryptedSecret), IList <ShareAccessRight> shareAccessRights = default(IList <ShareAccessRight>))
     : base(id, name, type)
 {
     EncryptedPassword = encryptedPassword;
     ShareAccessRights = shareAccessRights;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the StorageAccountCredential class.
 /// </summary>
 /// <param name="alias">Alias for the storage account.</param>
 /// <param name="sslStatus">Signifies whether SSL needs to be enabled
 /// or not. Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="accountType">Type of storage accessed on the storage
 /// account. Possible values include: 'GeneralPurposeStorage',
 /// 'BlobStorage'</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="userName">Username for the storage account.</param>
 /// <param name="accountKey">Encrypted storage key.</param>
 /// <param name="connectionString">Connection string for the storage
 /// account. Use this string if username and account key are not
 /// specified.</param>
 /// <param name="blobDomainName">Blob end point for private
 /// clouds.</param>
 public StorageAccountCredential(string alias, string sslStatus, string accountType, string id = default(string), string name = default(string), string type = default(string), string userName = default(string), AsymmetricEncryptedSecret accountKey = default(AsymmetricEncryptedSecret), string connectionString = default(string), string blobDomainName = default(string))
     : base(id, name, type)
 {
     Alias            = alias;
     UserName         = userName;
     AccountKey       = accountKey;
     ConnectionString = connectionString;
     SslStatus        = sslStatus;
     BlobDomainName   = blobDomainName;
     AccountType      = accountType;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the SymmetricKey class.
 /// </summary>
 /// <param name="connectionString">Connection string based on the
 /// symmetric key.</param>
 public SymmetricKey(AsymmetricEncryptedSecret connectionString = default(AsymmetricEncryptedSecret))
 {
     ConnectionString = connectionString;
     CustomInit();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the SecuritySettings class.
 /// </summary>
 /// <param name="deviceAdminPassword">Device administrator password as
 /// an encrypted string (encrypted using RSA PKCS #1) is used to sign
 /// into the  local web UI of the device. The Actual password should
 /// have at least 8 characters that are a combination of  uppercase,
 /// lowercase, numeric, and special characters.</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 public SecuritySettings(AsymmetricEncryptedSecret deviceAdminPassword, string id = default(string), string name = default(string), string type = default(string))
     : base(id, name, type)
 {
     DeviceAdminPassword = deviceAdminPassword;
     CustomInit();
 }