Skip to content

Commit

Permalink
Generated code for Microsoft.Resource 2019-05-10 (Azure#6840)
Browse files Browse the repository at this point in the history
* Regenerate code

* Update version and release note
  • Loading branch information
hjhhh3000vitae authored and rileymckenna committed Jul 16, 2019
1 parent 4dce5e8 commit 9c69ce8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ internal DeploymentsOperations(ResourceManagementClient client)
string _requestContent = null;
if(parameters != null)
{
_requestContent = SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
Expand Down Expand Up @@ -2162,7 +2162,7 @@ internal DeploymentsOperations(ResourceManagementClient client)
string _requestContent = null;
if(parameters != null)
{
_requestContent = SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
Expand Down Expand Up @@ -3527,7 +3527,7 @@ internal DeploymentsOperations(ResourceManagementClient client)
string _requestContent = null;
if(parameters != null)
{
_requestContent = SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
Expand Down Expand Up @@ -4432,7 +4432,7 @@ internal DeploymentsOperations(ResourceManagementClient client)
string _requestContent = null;
if(parameters != null)
{
_requestContent = SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
Expand Down Expand Up @@ -4866,7 +4866,7 @@ internal DeploymentsOperations(ResourceManagementClient client)
string _requestContent = null;
if(parameters != null)
{
_requestContent = SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
Expand Down Expand Up @@ -5351,7 +5351,7 @@ internal DeploymentsOperations(ResourceManagementClient client)
string _requestContent = null;
if(parameters != null)
{
_requestContent = SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ public ExportTemplateRequest()
/// <summary>
/// Initializes a new instance of the ExportTemplateRequest class.
/// </summary>
/// <param name="resources">The IDs of the resources. The only
/// supported string currently is '*' (all resources). Future updates
/// will support exporting specific resources.</param>
/// <param name="options">The export template options. Supported values
/// include 'IncludeParameterDefaultValue', 'IncludeComments' or
/// 'IncludeParameterDefaultValue, IncludeComments</param>
/// <param name="resources">The IDs of the resources to filter the
/// export by. To export all resources, supply an array with single
/// entry '*'.</param>
/// <param name="options">The export template options. A CSV-formatted
/// list containing zero or more of the following:
/// 'IncludeParameterDefaultValue', 'IncludeComments',
/// 'SkipResourceNameParameterization',
/// 'SkipAllParameterization'</param>
public ExportTemplateRequest(IList<string> resources = default(IList<string>), string options = default(string))
{
Resources = resources;
Expand All @@ -50,17 +52,17 @@ public ExportTemplateRequest()
partial void CustomInit();

/// <summary>
/// Gets or sets the IDs of the resources. The only supported string
/// currently is '*' (all resources). Future updates will support
/// exporting specific resources.
/// Gets or sets the IDs of the resources to filter the export by. To
/// export all resources, supply an array with single entry '*'.
/// </summary>
[JsonProperty(PropertyName = "resources")]
public IList<string> Resources { get; set; }

/// <summary>
/// Gets or sets the export template options. Supported values include
/// 'IncludeParameterDefaultValue', 'IncludeComments' or
/// 'IncludeParameterDefaultValue, IncludeComments
/// Gets or sets the export template options. A CSV-formatted list
/// containing zero or more of the following:
/// 'IncludeParameterDefaultValue', 'IncludeComments',
/// 'SkipResourceNameParameterization', 'SkipAllParameterization'
/// </summary>
[JsonProperty(PropertyName = "options")]
public string Options { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private void Initialize()
Tags = new TagsOperations(this);
DeploymentOperations = new DeploymentOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2019-05-01";
ApiVersion = "2019-05-10";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_ResourceManagem
{
return new Tuple<string, string, string>[]
{
new Tuple<string, string, string>("Management", "DeploymentOperations", "2019-05-01"),
new Tuple<string, string, string>("Management", "Deployments", "2019-05-01"),
new Tuple<string, string, string>("ResourceManagementClient", "DeploymentOperations", "2019-05-01"),
new Tuple<string, string, string>("ResourceManagementClient", "Providers", "2019-05-01"),
new Tuple<string, string, string>("ResourceManagementClient", "ResourceGroups", "2019-05-01"),
new Tuple<string, string, string>("ResourceManagementClient", "Resources", "2019-05-01"),
new Tuple<string, string, string>("ResourceManagementClient", "Tags", "2019-05-01"),
new Tuple<string, string, string>("Resources", "DeploymentOperations", "2019-05-01"),
new Tuple<string, string, string>("Resources", "Deployments", "2019-05-01"),
new Tuple<string, string, string>("Resources", "Operations", "2019-05-01"),
new Tuple<string, string, string>("Management", "DeploymentOperations", "2019-05-10"),
new Tuple<string, string, string>("Management", "Deployments", "2019-05-10"),
new Tuple<string, string, string>("ResourceManagementClient", "DeploymentOperations", "2019-05-10"),
new Tuple<string, string, string>("ResourceManagementClient", "Providers", "2019-05-10"),
new Tuple<string, string, string>("ResourceManagementClient", "ResourceGroups", "2019-05-10"),
new Tuple<string, string, string>("ResourceManagementClient", "Resources", "2019-05-10"),
new Tuple<string, string, string>("ResourceManagementClient", "Tags", "2019-05-10"),
new Tuple<string, string, string>("Resources", "DeploymentOperations", "2019-05-10"),
new Tuple<string, string, string>("Resources", "Deployments", "2019-05-10"),
new Tuple<string, string, string>("Resources", "Operations", "2019-05-10"),
}.AsEnumerable();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<PackageId>Microsoft.Azure.Management.ResourceManager</PackageId>
<Description>Provides resource group and resource management capabilities for Microsoft Azure.</Description>
<AssemblyName>Microsoft.Azure.Management.ResourceManager</AssemblyName>
<Version>2.1.0-preview</Version>
<Version>2.2.0-preview</Version>
<PackageTags>Microsoft Azure resource management;resource management;resource groups;</PackageTags>
<PackageReleaseNotes>
<![CDATA[
This is a public release of the Azure Resource Manager SDK. This release introduces support for deployment at management group scope.
This is a public release of the Azure Resource Manager SDK. This release introduces support for new API version 2019-05-10.
]]>
</PackageReleaseNotes>
</PropertyGroup>
Expand Down

0 comments on commit 9c69ce8

Please sign in to comment.