diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGallery.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGallery.cs
index a3825c10e60c..14694805dc98 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGallery.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGallery.cs
@@ -10,12 +10,18 @@
namespace Microsoft.Azure.Management.Compute.Models
{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
/// Specifies information about the Community Gallery that you want to
/// create or update.
///
+ [Rest.Serialization.JsonTransformation]
public partial class CommunityGallery : PirCommunityGalleryResource
{
///
@@ -34,9 +40,12 @@ public CommunityGallery()
/// Resource type
/// The unique id of this community
/// gallery.
- public CommunityGallery(string name = default(string), string location = default(string), string type = default(string), string uniqueId = default(string))
+ public CommunityGallery(string name = default(string), string location = default(string), string type = default(string), string uniqueId = default(string), string disclaimer = default(string), IDictionary artifactTags = default(IDictionary), CommunityGalleryMetadata communityMetadata = default(CommunityGalleryMetadata))
: base(name, location, type, uniqueId)
{
+ Disclaimer = disclaimer;
+ ArtifactTags = artifactTags;
+ CommunityMetadata = communityMetadata;
CustomInit();
}
@@ -45,5 +54,20 @@ public CommunityGallery()
///
partial void CustomInit();
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.disclaimer")]
+ public string Disclaimer { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.artifactTags")]
+ public IDictionary ArtifactTags { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.communityMetadata")]
+ public CommunityGalleryMetadata CommunityMetadata { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImage.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImage.cs
index 94ebcc7d088b..0778eae362d7 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImage.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImage.cs
@@ -61,7 +61,7 @@ public CommunityGalleryImage()
/// current community gallery image.
/// End-user license agreement for the current
/// community gallery image.
- public CommunityGalleryImage(OperatingSystemTypes osType, OperatingSystemStateTypes osState, CommunityGalleryImageIdentifier identifier, string name = default(string), string location = default(string), string type = default(string), string uniqueId = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), string hyperVGeneration = default(string), IList features = default(IList), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string architecture = default(string), string privacyStatementUri = default(string), string eula = default(string))
+ public CommunityGalleryImage(OperatingSystemTypes osType, OperatingSystemStateTypes osState, CommunityGalleryImageIdentifier identifier, string name = default(string), string location = default(string), string type = default(string), string uniqueId = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), string hyperVGeneration = default(string), IList features = default(IList), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string architecture = default(string), string privacyStatementUri = default(string), string eula = default(string), string disclaimer = default(string), IDictionary artifactTags = default(IDictionary))
: base(name, location, type, uniqueId)
{
OsType = osType;
@@ -76,6 +76,8 @@ public CommunityGalleryImage()
Architecture = architecture;
PrivacyStatementUri = privacyStatementUri;
Eula = eula;
+ Disclaimer = disclaimer;
+ ArtifactTags = artifactTags;
CustomInit();
}
@@ -163,6 +165,16 @@ public CommunityGalleryImage()
[JsonProperty(PropertyName = "properties.eula")]
public string Eula { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.disclaimer")]
+ public string Disclaimer { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.artifactTags")]
+ public IDictionary ArtifactTags { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs
index 0829d3a39889..b73285bd1f51 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs
@@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.Compute.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -51,13 +53,15 @@ public CommunityGalleryImageVersion()
/// this Image Version.
/// Describes the storage profile of the
/// image version.
- public CommunityGalleryImageVersion(string name = default(string), string location = default(string), string type = default(string), string uniqueId = default(string), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), bool? excludeFromLatest = default(bool?), SharedGalleryImageVersionStorageProfile storageProfile = default(SharedGalleryImageVersionStorageProfile))
+ public CommunityGalleryImageVersion(string name = default(string), string location = default(string), string type = default(string), string uniqueId = default(string), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), bool? excludeFromLatest = default(bool?), SharedGalleryImageVersionStorageProfile storageProfile = default(SharedGalleryImageVersionStorageProfile), string disclaimer = default(string), IDictionary artifactTags = default(IDictionary))
: base(name, location, type, uniqueId)
{
PublishedDate = publishedDate;
EndOfLifeDate = endOfLifeDate;
ExcludeFromLatest = excludeFromLatest;
StorageProfile = storageProfile;
+ Disclaimer = disclaimer;
+ ArtifactTags = artifactTags;
CustomInit();
}
@@ -96,5 +100,15 @@ public CommunityGalleryImageVersion()
[JsonProperty(PropertyName = "properties.storageProfile")]
public SharedGalleryImageVersionStorageProfile StorageProfile { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.disclaimer")]
+ public string Disclaimer { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.artifactTags")]
+ public IDictionary ArtifactTags { get; set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryMetadata.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryMetadata.cs
new file mode 100644
index 000000000000..0c778735c598
--- /dev/null
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CommunityGalleryMetadata.cs
@@ -0,0 +1,89 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Compute.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// The metadata of community gallery.
+ ///
+ public partial class CommunityGalleryMetadata
+ {
+ ///
+ /// Initializes a new instance of the CommunityGalleryMetadata class.
+ ///
+ public CommunityGalleryMetadata()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the CommunityGalleryMetadata class.
+ ///
+ /// The publisher uri of this community
+ /// gallery.
+ /// The publisher contact of this
+ /// community gallery.
+ /// The eula of this community gallery.
+ /// A list of public names the gallery
+ /// has.
+ /// The privacyStatementUri of this
+ /// community gallery.
+ public CommunityGalleryMetadata(string publisherUri = default(string), string publisherContact = default(string), string eula = default(string), IList publicNames = default(IList), string privacyStatementUri = default(string))
+ {
+ PublisherUri = publisherUri;
+ PublisherContact = publisherContact;
+ Eula = eula;
+ PublicNames = publicNames;
+ PrivacyStatementUri = privacyStatementUri;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the publisher uri of this community gallery.
+ ///
+ [JsonProperty(PropertyName = "publisherUri")]
+ public string PublisherUri { get; set; }
+
+ ///
+ /// Gets or sets the publisher contact of this community gallery.
+ ///
+ [JsonProperty(PropertyName = "publisherContact")]
+ public string PublisherContact { get; set; }
+
+ ///
+ /// Gets or sets the eula of this community gallery.
+ ///
+ [JsonProperty(PropertyName = "eula")]
+ public string Eula { get; set; }
+
+ ///
+ /// Gets or sets a list of public names the gallery has.
+ ///
+ [JsonProperty(PropertyName = "publicNames")]
+ public IList PublicNames { get; set; }
+
+ ///
+ /// Gets or sets the privacyStatementUri of this community gallery.
+ ///
+ [JsonProperty(PropertyName = "privacyStatementUri")]
+ public string PrivacyStatementUri { get; set; }
+
+ }
+}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGallery.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGallery.cs
index aef86d0b185c..932c476503d0 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGallery.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGallery.cs
@@ -10,12 +10,18 @@
namespace Microsoft.Azure.Management.Compute.Models
{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
/// Specifies information about the Shared Gallery that you want to create
/// or update.
///
+ [Rest.Serialization.JsonTransformation]
public partial class SharedGallery : PirSharedGalleryResource
{
///
@@ -33,9 +39,10 @@ public SharedGallery()
/// Resource location
/// The unique id of this shared
/// gallery.
- public SharedGallery(string name = default(string), string location = default(string), string uniqueId = default(string))
+ public SharedGallery(string name = default(string), string location = default(string), string uniqueId = default(string), IDictionary artifactTags = default(IDictionary))
: base(name, location, uniqueId)
{
+ ArtifactTags = artifactTags;
CustomInit();
}
@@ -44,5 +51,10 @@ public SharedGallery()
///
partial void CustomInit();
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.artifactTags")]
+ public IDictionary ArtifactTags { get; private set; }
+
}
}
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImage.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImage.cs
index 61ee38ea3198..ab0a8a72cbdd 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImage.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImage.cs
@@ -60,7 +60,7 @@ public SharedGalleryImage()
/// current community gallery image.
/// End-user license agreement for the current
/// community gallery image.
- public SharedGalleryImage(OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string name = default(string), string location = default(string), string uniqueId = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), string hyperVGeneration = default(string), IList features = default(IList), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string architecture = default(string), string privacyStatementUri = default(string), string eula = default(string))
+ public SharedGalleryImage(OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string name = default(string), string location = default(string), string uniqueId = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), string hyperVGeneration = default(string), IList features = default(IList), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string architecture = default(string), string privacyStatementUri = default(string), string eula = default(string), IDictionary artifactTags = default(IDictionary))
: base(name, location, uniqueId)
{
OsType = osType;
@@ -75,6 +75,7 @@ public SharedGalleryImage()
Architecture = architecture;
PrivacyStatementUri = privacyStatementUri;
Eula = eula;
+ ArtifactTags = artifactTags;
CustomInit();
}
@@ -162,6 +163,11 @@ public SharedGalleryImage()
[JsonProperty(PropertyName = "properties.eula")]
public string Eula { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.artifactTags")]
+ public IDictionary ArtifactTags { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImageVersion.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImageVersion.cs
index c9c40cfc649c..c13a6c0b0cf0 100644
--- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImageVersion.cs
+++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SharedGalleryImageVersion.cs
@@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.Compute.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -48,13 +50,14 @@ public SharedGalleryImageVersion()
/// this Image Version.
/// Describes the storage profile of the
/// image version.
- public SharedGalleryImageVersion(string name = default(string), string location = default(string), string uniqueId = default(string), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), bool? excludeFromLatest = default(bool?), SharedGalleryImageVersionStorageProfile storageProfile = default(SharedGalleryImageVersionStorageProfile))
+ public SharedGalleryImageVersion(string name = default(string), string location = default(string), string uniqueId = default(string), System.DateTime? publishedDate = default(System.DateTime?), System.DateTime? endOfLifeDate = default(System.DateTime?), bool? excludeFromLatest = default(bool?), SharedGalleryImageVersionStorageProfile storageProfile = default(SharedGalleryImageVersionStorageProfile), IDictionary artifactTags = default(IDictionary))
: base(name, location, uniqueId)
{
PublishedDate = publishedDate;
EndOfLifeDate = endOfLifeDate;
ExcludeFromLatest = excludeFromLatest;
StorageProfile = storageProfile;
+ ArtifactTags = artifactTags;
CustomInit();
}
@@ -93,5 +96,10 @@ public SharedGalleryImageVersion()
[JsonProperty(PropertyName = "properties.storageProfile")]
public SharedGalleryImageVersionStorageProfile StorageProfile { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "properties.artifactTags")]
+ public IDictionary ArtifactTags { get; set; }
+
}
}