Skip to content

Commit

Permalink
Generated from 5d782b0929ca5ff0a010d07d0a4186ac77eab0e4
Browse files Browse the repository at this point in the history
fixed mistake
  • Loading branch information
SDK Automation committed Jan 30, 2020
1 parent a6328a7 commit a8cf33a
Show file tree
Hide file tree
Showing 23 changed files with 2,232 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ public partial interface IKeyVaultManagementClient : System.IDisposable
/// </summary>
IVaultsOperations Vaults { get; }

/// <summary>
/// Gets the IPrivateEndpointConnectionsOperations.
/// </summary>
IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; }

/// <summary>
/// Gets the IPrivateLinkResourcesOperations.
/// </summary>
IPrivateLinkResourcesOperations PrivateLinkResources { get; }

/// <summary>
/// Gets the IOperations.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
// <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.KeyVault
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// PrivateEndpointConnectionsOperations operations.
/// </summary>
public partial interface IPrivateEndpointConnectionsOperations
{
/// <summary>
/// Gets the specified private endpoint connection associated with the
/// key vault.
/// </summary>
/// <param name='resourceGroupName'>
/// Name of the resource group that contains the key vault.
/// </param>
/// <param name='vaultName'>
/// The name of the key vault.
/// </param>
/// <param name='privateEndpointConnectionName'>
/// Name of the private endpoint connection associated with the key
/// vault.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<PrivateEndpointConnection>> GetWithHttpMessagesAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Updates the specified private endpoint connection associated with
/// the key vault.
/// </summary>
/// <param name='resourceGroupName'>
/// Name of the resource group that contains the key vault.
/// </param>
/// <param name='vaultName'>
/// The name of the key vault.
/// </param>
/// <param name='privateEndpointConnectionName'>
/// Name of the private endpoint connection associated with the key
/// vault.
/// </param>
/// <param name='properties'>
/// The intended state of private endpoint connection.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<PrivateEndpointConnection,PrivateEndpointConnectionsPutHeaders>> PutWithHttpMessagesAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Deletes the specified private endpoint connection associated with
/// the key vault.
/// </summary>
/// <param name='resourceGroupName'>
/// Name of the resource group that contains the key vault.
/// </param>
/// <param name='vaultName'>
/// The name of the key vault.
/// </param>
/// <param name='privateEndpointConnectionName'>
/// Name of the private endpoint connection associated with the key
/// vault.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<PrivateEndpointConnection,PrivateEndpointConnectionsDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Deletes the specified private endpoint connection associated with
/// the key vault.
/// </summary>
/// <param name='resourceGroupName'>
/// Name of the resource group that contains the key vault.
/// </param>
/// <param name='vaultName'>
/// The name of the key vault.
/// </param>
/// <param name='privateEndpointConnectionName'>
/// Name of the private endpoint connection associated with the key
/// vault.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<PrivateEndpointConnection,PrivateEndpointConnectionsDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string vaultName, string privateEndpointConnectionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <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.KeyVault
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// PrivateLinkResourcesOperations operations.
/// </summary>
public partial interface IPrivateLinkResourcesOperations
{
/// <summary>
/// Gets the private link resources supported for the key vault.
/// </summary>
/// <param name='resourceGroupName'>
/// Name of the resource group that contains the key vault.
/// </param>
/// <param name='vaultName'>
/// The name of the key vault.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<PrivateLinkResourceListResult>> ListByVaultWithHttpMessagesAsync(string resourceGroupName, string vaultName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ public partial class KeyVaultManagementClient : ServiceClient<KeyVaultManagement
/// </summary>
public virtual IVaultsOperations Vaults { get; private set; }

/// <summary>
/// Gets the IPrivateEndpointConnectionsOperations.
/// </summary>
public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; }

/// <summary>
/// Gets the IPrivateLinkResourcesOperations.
/// </summary>
public virtual IPrivateLinkResourcesOperations PrivateLinkResources { get; private set; }

/// <summary>
/// Gets the IOperations.
/// </summary>
Expand Down Expand Up @@ -329,9 +339,11 @@ public KeyVaultManagementClient(System.Uri baseUri, ServiceClientCredentials cre
private void Initialize()
{
Vaults = new VaultsOperations(this);
PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this);
PrivateLinkResources = new PrivateLinkResourcesOperations(this);
Operations = new Operations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2018-02-14";
ApiVersion = "2019-09-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// <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.KeyVault.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Private endpoint object properties.
/// </summary>
public partial class PrivateEndpoint
{
/// <summary>
/// Initializes a new instance of the PrivateEndpoint class.
/// </summary>
public PrivateEndpoint()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the PrivateEndpoint class.
/// </summary>
/// <param name="id">Full identifier of the private endpoint
/// resource.</param>
public PrivateEndpoint(string id = default(string))
{
Id = id;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets full identifier of the private endpoint resource.
/// </summary>
[JsonProperty(PropertyName = "id")]
public string Id { get; private set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
// <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.KeyVault.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Private endpoint connection resource.
/// </summary>
[Rest.Serialization.JsonTransformation]
public partial class PrivateEndpointConnection : IResource
{
/// <summary>
/// Initializes a new instance of the PrivateEndpointConnection class.
/// </summary>
public PrivateEndpointConnection()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the PrivateEndpointConnection class.
/// </summary>
/// <param name="privateEndpoint">Properties of the private endpoint
/// object.</param>
/// <param name="privateLinkServiceConnectionState">Approval state of
/// the private link connection.</param>
/// <param name="provisioningState">Provisioning state of the private
/// endpoint connection. Possible values include: 'Succeeded',
/// 'Creating', 'Updating', 'Deleting', 'Failed',
/// 'Disconnected'</param>
public PrivateEndpointConnection(PrivateEndpoint privateEndpoint = default(PrivateEndpoint), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string provisioningState = default(string))
{
PrivateEndpoint = privateEndpoint;
PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
ProvisioningState = provisioningState;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets properties of the private endpoint object.
/// </summary>
[JsonProperty(PropertyName = "properties.privateEndpoint")]
public PrivateEndpoint PrivateEndpoint { get; set; }

/// <summary>
/// Gets or sets approval state of the private link connection.
/// </summary>
[JsonProperty(PropertyName = "properties.privateLinkServiceConnectionState")]
public PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get; set; }

/// <summary>
/// Gets or sets provisioning state of the private endpoint connection.
/// Possible values include: 'Succeeded', 'Creating', 'Updating',
/// 'Deleting', 'Failed', 'Disconnected'
/// </summary>
[JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState { get; set; }

}
}
Loading

0 comments on commit a8cf33a

Please sign in to comment.