Skip to content

Commit

Permalink
Regenerate Key Vault client using AutoRest v1.0 and pick the document…
Browse files Browse the repository at this point in the history
…ation updates to swagger. (Azure#2837)
  • Loading branch information
pomortaz authored and shahabhijeet committed Feb 22, 2017
1 parent e288264 commit 336007e
Show file tree
Hide file tree
Showing 58 changed files with 2,612 additions and 2,318 deletions.
415 changes: 221 additions & 194 deletions src/KeyVault/Microsoft.Azure.KeyVault/Generated/IKeyVaultClient.cs

Large diffs are not rendered by default.

2,651 changes: 1,459 additions & 1,192 deletions src/KeyVault/Microsoft.Azure.KeyVault/Generated/KeyVaultClient.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions src/KeyVault/Microsoft.Azure.KeyVault/Generated/Models/Action.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
// 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 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.KeyVault.Models
{
using System;
using System.Linq;
using System.Collections.Generic;
using Azure;
using KeyVault;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;
using System.Linq;

/// <summary>
/// The action that will be executed.
Expand Down Expand Up @@ -45,3 +42,4 @@ public Action() { }

}
}

Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
// 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 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.KeyVault.Models
{
using Azure;
using KeyVault;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime;
using System.Runtime.Serialization;

/// <summary>
Expand All @@ -24,3 +27,4 @@ public enum ActionType
AutoRenew
}
}

Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
// 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 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.KeyVault.Models
{
using System;
using System.Linq;
using System.Collections.Generic;
using Azure;
using KeyVault;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;
using System.Linq;

/// <summary>
/// Details of the organization administrator of the certificate issuer
/// Details of the organization administrator of the certificate issuer.
/// </summary>
public partial class AdministratorDetails
{
Expand Down Expand Up @@ -67,3 +64,4 @@ public AdministratorDetails() { }

}
}

Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
// 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 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.KeyVault.Models
{
using System;
using System.Linq;
using System.Collections.Generic;
using Azure;
using KeyVault;
using Rest;
using Rest.Serialization;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;
using System.Linq;

/// <summary>
/// The object attributes managed by the KeyVault service
/// The object attributes managed by the KeyVault service.
/// </summary>
public partial class Attributes
{
Expand All @@ -30,12 +29,12 @@ public Attributes() { }
/// Initializes a new instance of the Attributes class.
/// </summary>
/// <param name="enabled">Determines whether the object is
/// enabled</param>
/// <param name="notBefore">Not before date in UTC</param>
/// <param name="expires">Expiry date in UTC</param>
/// <param name="created">Creation time in UTC</param>
/// <param name="updated">Last updated time in UTC</param>
public Attributes(bool? enabled = default(bool?), DateTime? notBefore = default(DateTime?), DateTime? expires = default(DateTime?), DateTime? created = default(DateTime?), DateTime? updated = default(DateTime?))
/// enabled.</param>
/// <param name="notBefore">Not before date in UTC.</param>
/// <param name="expires">Expiry date in UTC.</param>
/// <param name="created">Creation time in UTC.</param>
/// <param name="updated">Last updated time in UTC.</param>
public Attributes(bool? enabled = default(bool?), System.DateTime? notBefore = default(System.DateTime?), System.DateTime? expires = default(System.DateTime?), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?))
{
Enabled = enabled;
NotBefore = notBefore;
Expand All @@ -45,38 +44,39 @@ public Attributes() { }
}

/// <summary>
/// Gets or sets determines whether the object is enabled
/// Gets or sets determines whether the object is enabled.
/// </summary>
[JsonProperty(PropertyName = "enabled")]
public bool? Enabled { get; set; }

/// <summary>
/// Gets or sets not before date in UTC
/// Gets or sets not before date in UTC.
/// </summary>
[JsonConverter(typeof(UnixTimeJsonConverter))]
[JsonProperty(PropertyName = "nbf")]
public DateTime? NotBefore { get; set; }
public System.DateTime? NotBefore { get; set; }

/// <summary>
/// Gets or sets expiry date in UTC
/// Gets or sets expiry date in UTC.
/// </summary>
[JsonConverter(typeof(UnixTimeJsonConverter))]
[JsonProperty(PropertyName = "exp")]
public DateTime? Expires { get; set; }
public System.DateTime? Expires { get; set; }

/// <summary>
/// Gets creation time in UTC
/// Gets creation time in UTC.
/// </summary>
[JsonConverter(typeof(UnixTimeJsonConverter))]
[JsonProperty(PropertyName = "created")]
public DateTime? Created { get; private set; }
public System.DateTime? Created { get; protected set; }

/// <summary>
/// Gets last updated time in UTC
/// Gets last updated time in UTC.
/// </summary>
[JsonConverter(typeof(UnixTimeJsonConverter))]
[JsonProperty(PropertyName = "updated")]
public DateTime? Updated { get; private set; }
public System.DateTime? Updated { get; protected set; }

}
}

Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
// 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 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.KeyVault.Models
{
using System;
using System.Linq;
using System.Collections.Generic;
using Azure;
using KeyVault;
using Rest;
using Rest.Serialization;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;
using System.Linq;

/// <summary>
/// The backup key result, containing the backup blob
/// The backup key result, containing the backup blob.
/// </summary>
public partial class BackupKeyResult
{
Expand All @@ -30,18 +29,19 @@ public BackupKeyResult() { }
/// Initializes a new instance of the BackupKeyResult class.
/// </summary>
/// <param name="value">The backup blob containing the backed up
/// key</param>
/// key.</param>
public BackupKeyResult(byte[] value = default(byte[]))
{
Value = value;
}

/// <summary>
/// Gets the backup blob containing the backed up key
/// Gets the backup blob containing the backed up key.
/// </summary>
[JsonConverter(typeof(Base64UrlJsonConverter))]
[JsonProperty(PropertyName = "value")]
public byte[] Value { get; private set; }
public byte[] Value { get; protected set; }

}
}

Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
// 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 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.KeyVault.Models
{
using System;
using Azure;
using KeyVault;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;

/// <summary>
/// The certificate management attributes
/// The certificate management attributes.
/// </summary>
public partial class CertificateAttributes : Attributes
{
Expand All @@ -30,15 +26,16 @@ public CertificateAttributes() { }
/// Initializes a new instance of the CertificateAttributes class.
/// </summary>
/// <param name="enabled">Determines whether the object is
/// enabled</param>
/// <param name="notBefore">Not before date in UTC</param>
/// <param name="expires">Expiry date in UTC</param>
/// <param name="created">Creation time in UTC</param>
/// <param name="updated">Last updated time in UTC</param>
public CertificateAttributes(bool? enabled = default(bool?), DateTime? notBefore = default(DateTime?), DateTime? expires = default(DateTime?), DateTime? created = default(DateTime?), DateTime? updated = default(DateTime?))
/// enabled.</param>
/// <param name="notBefore">Not before date in UTC.</param>
/// <param name="expires">Expiry date in UTC.</param>
/// <param name="created">Creation time in UTC.</param>
/// <param name="updated">Last updated time in UTC.</param>
public CertificateAttributes(bool? enabled = default(bool?), System.DateTime? notBefore = default(System.DateTime?), System.DateTime? expires = default(System.DateTime?), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?))
: base(enabled, notBefore, expires, created, updated)
{
}

}
}

Loading

0 comments on commit 336007e

Please sign in to comment.