@@ -37,8 +37,8 @@ public PSStorageInsight(StorageInsight storageInsight, string resourceGroupName,
37
37
this . Type = storageInsight . Type ;
38
38
this . StorageAccountResourceId = storageInsight . StorageAccount ? . Id ;
39
39
this . StorageAccountKey = storageInsight . StorageAccount ? . Key ;
40
- this . Tables = storageInsight . Tables . ToList ( ) ;
41
- this . Containers = storageInsight . Containers . ToList ( ) ;
40
+ this . Tables = storageInsight . Tables ? . ToList ( ) ;
41
+ this . Containers = storageInsight . Containers ? . ToList ( ) ;
42
42
this . State = storageInsight . Status ? . State ;
43
43
this . StateDescription = storageInsight . Status ? . Description ;
44
44
this . ETag = storageInsight . ETag ;
@@ -53,22 +53,22 @@ public PSStorageInsight(StorageInsight storageInsight, string resourceGroupName,
53
53
54
54
public string WorkspaceName { get ; set ; }
55
55
56
- public string Type { get ; set ; } //added
56
+ public string Type { get ; set ; }
57
57
58
58
public string StorageAccountResourceId { get ; set ; }
59
59
60
- public string StorageAccountKey { get ; set ; } // new prop
60
+ public string StorageAccountKey { get ; set ; }
61
61
62
62
public string State { get ; set ; }
63
63
64
- public string StateDescription { get ; set ; } //new prop
64
+ public string StateDescription { get ; set ; }
65
65
66
66
public List < string > Tables { get ; set ; }
67
67
68
68
public List < string > Containers { get ; set ; }
69
69
70
- public Hashtable Tags { get ; set ; } //new prop
70
+ public Hashtable Tags { get ; set ; }
71
71
72
- public string ETag { get ; set ; } //new prop
72
+ public string ETag { get ; set ; }
73
73
}
74
74
}
0 commit comments