-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Microsoft.StorageSync] Update SDK to use 2019-06-01 API version (#8632)
* update to 2019-06-01 API version, and update all test records * update SDK version, changelog, and props * Bump major version of SDK
- Loading branch information
Showing
40 changed files
with
7,154 additions
and
5,846 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Installing AutoRest version: latest | ||
AutoRest installed successfully. | ||
Commencing code generation | ||
Generating CSharp code | ||
Executing AutoRest command | ||
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/storagesync/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\github\anpint\azure-sdk-for-net\sdk | ||
2019-11-05 18:30:32 UTC | ||
Azure-rest-api-specs repository information | ||
GitHub fork: Azure | ||
Branch: master | ||
Commit: c42f3f3427766255b06a01846e1ec497c4d3c94a | ||
AutoRest information | ||
Requested version: latest | ||
Bootstrapper version: [email protected] |
2 changes: 1 addition & 1 deletion
2
sdk/storagesync/Microsoft.Azure.Management.StorageSync/AzSdk.RP.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file--> | ||
<PropertyGroup> | ||
<AzureApiTag>StorageSync_2019-03-01;</AzureApiTag> | ||
<AzureApiTag>StorageSync_2019-06-01;</AzureApiTag> | ||
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
</PropertyGroup> | ||
</Project> |
4 changes: 4 additions & 0 deletions
4
sdk/storagesync/Microsoft.Azure.Management.StorageSync/changelog.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
...oft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCloudTieringStatus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.StorageSync.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Server endpoint cloud tiering status object. | ||
/// </summary> | ||
public partial class ServerEndpointCloudTieringStatus | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ServerEndpointCloudTieringStatus | ||
/// class. | ||
/// </summary> | ||
public ServerEndpointCloudTieringStatus() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ServerEndpointCloudTieringStatus | ||
/// class. | ||
/// </summary> | ||
/// <param name="health">Cloud tiering health state. Possible values | ||
/// include: 'Healthy', 'Error'</param> | ||
/// <param name="lastUpdatedTimestamp">Last updated timestamp</param> | ||
/// <param name="lastCloudTieringResult">Last cloud tiering result | ||
/// (HResult)</param> | ||
/// <param name="lastSuccessTimestamp">Last cloud tiering success | ||
/// timestamp</param> | ||
public ServerEndpointCloudTieringStatus(string health = default(string), System.DateTime? lastUpdatedTimestamp = default(System.DateTime?), int? lastCloudTieringResult = default(int?), System.DateTime? lastSuccessTimestamp = default(System.DateTime?)) | ||
{ | ||
Health = health; | ||
LastUpdatedTimestamp = lastUpdatedTimestamp; | ||
LastCloudTieringResult = lastCloudTieringResult; | ||
LastSuccessTimestamp = lastSuccessTimestamp; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets cloud tiering health state. Possible values include: | ||
/// 'Healthy', 'Error' | ||
/// </summary> | ||
[JsonProperty(PropertyName = "health")] | ||
public string Health { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets last updated timestamp | ||
/// </summary> | ||
[JsonProperty(PropertyName = "lastUpdatedTimestamp")] | ||
public System.DateTime? LastUpdatedTimestamp { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets last cloud tiering result (HResult) | ||
/// </summary> | ||
[JsonProperty(PropertyName = "lastCloudTieringResult")] | ||
public int? LastCloudTieringResult { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets last cloud tiering success timestamp | ||
/// </summary> | ||
[JsonProperty(PropertyName = "lastSuccessTimestamp")] | ||
public System.DateTime? LastSuccessTimestamp { get; private set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
.../Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointRecallError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.StorageSync.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Server endpoint recall error object | ||
/// </summary> | ||
public partial class ServerEndpointRecallError | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ServerEndpointRecallError class. | ||
/// </summary> | ||
public ServerEndpointRecallError() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ServerEndpointRecallError class. | ||
/// </summary> | ||
/// <param name="errorCode">Error code (HResult)</param> | ||
/// <param name="count">Count of occurences of the error</param> | ||
public ServerEndpointRecallError(int? errorCode = default(int?), long? count = default(long?)) | ||
{ | ||
ErrorCode = errorCode; | ||
Count = count; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets error code (HResult) | ||
/// </summary> | ||
[JsonProperty(PropertyName = "errorCode")] | ||
public int? ErrorCode { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets count of occurences of the error | ||
/// </summary> | ||
[JsonProperty(PropertyName = "count")] | ||
public long? Count { get; private set; } | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public virtual void Validate() | ||
{ | ||
if (Count < 0) | ||
{ | ||
throw new ValidationException(ValidationRules.InclusiveMinimum, "Count", 0); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.