Пример #1
0
 /// <summary>
 /// Initializes a new instance of the StorageAccount class.
 /// </summary>
 /// <param name="type">The type of the storage account. Possible values
 /// include: 'Primary', 'Secondary'</param>
 /// <param name="id">The ID of the storage account resource. Media
 /// Services relies on tables and queues as well as blobs, so the
 /// primary storage account must be a Standard Storage account (either
 /// Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage
 /// accounts can be added as secondary storage accounts.</param>
 /// <param name="identity">The storage account identity.</param>
 /// <param name="status">The current status of the storage account
 /// mapping.</param>
 public StorageAccount(StorageAccountType type, string id = default(string), ResourceIdentity identity = default(ResourceIdentity), string status = default(string))
 {
     Id       = id;
     Type     = type;
     Identity = identity;
     Status   = status;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the StorageAccount class.
 /// </summary>
 /// <param name="type">The type of the storage account. Possible values
 /// include: 'Primary', 'Secondary'</param>
 /// <param name="id">The ID of the storage account resource. Media
 /// Services relies on tables and queues as well as blobs, so the
 /// primary storage account must be a Standard Storage account (either
 /// Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage
 /// accounts can be added as secondary storage accounts.</param>
 public StorageAccount(StorageAccountType type, string id = default(string))
 {
     Id   = id;
     Type = type;
     CustomInit();
 }