Example #1
0
 /// <summary>
 /// Initializes a new instance of the StorageInsight class.
 /// </summary>
 /// <param name="storageAccount">The storage account connection
 /// details</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="containers">The names of the blob containers that the
 /// workspace should read</param>
 /// <param name="tables">The names of the Azure tables that the
 /// workspace should read</param>
 /// <param name="status">The status of the storage insight</param>
 /// <param name="eTag">The ETag of the storage insight.</param>
 public StorageInsight(StorageAccount storageAccount, string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary <string, string> tags = default(System.Collections.Generic.IDictionary <string, string>), System.Collections.Generic.IList <string> containers = default(System.Collections.Generic.IList <string>), System.Collections.Generic.IList <string> tables = default(System.Collections.Generic.IList <string>), StorageInsightStatus status = default(StorageInsightStatus), string eTag = default(string))
     : base(id, name, type, tags)
 {
     Containers     = containers;
     Tables         = tables;
     StorageAccount = storageAccount;
     Status         = status;
     ETag           = eTag;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the StorageInsight class.
 /// </summary>
 /// <param name="storageAccount">The storage account connection
 /// details</param>
 /// <param name="id">Fully qualified resource Id for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="containers">The names of the blob containers that the
 /// workspace should read</param>
 /// <param name="tables">The names of the Azure tables that the
 /// workspace should read</param>
 /// <param name="status">The status of the storage insight</param>
 /// <param name="eTag">The ETag of the storage insight.</param>
 /// <param name="tags">Resource tags.</param>
 public StorageInsight(StorageAccount storageAccount, string id = default(string), string name = default(string), string type = default(string), IList <string> containers = default(IList <string>), IList <string> tables = default(IList <string>), StorageInsightStatus status = default(StorageInsightStatus), string eTag = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
     : base(id, name, type)
 {
     Containers     = containers;
     Tables         = tables;
     StorageAccount = storageAccount;
     Status         = status;
     ETag           = eTag;
     Tags           = tags;
     CustomInit();
 }