public PSEventHubClusterAttributes(Cluster cluster) { if (cluster != null) { Id = cluster.Id; Name = cluster.Name; Location = cluster.Location; CreatedAt = cluster.CreatedAt; UpdatedAt = cluster.UpdatedAt; Status = cluster.Status; Sku = new PSEventHubsClusterSkuAttributes(cluster.Sku); if (cluster.Tags.Count > 0) { Tags = new Dictionary <string, string>(cluster.Tags); } } }
public PSEventHubClusterAttributes() { Sku = new PSEventHubsClusterSkuAttributes(); }