Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public partial interface IVirtualNetworkGatewaysOperations
Task<AzureOperationResponse<IPage<VirtualNetworkGateway>>> ListWithHttpMessagesAsync(string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The Reset VirtualNetworkGateway operation resets the primary of
/// the virtual network gatewayin the specified resource group
/// the virtual network gateway in the specified resource group
/// through Network resource provider.
/// </summary>
/// <param name='resourceGroupName'>
Expand All @@ -156,7 +156,7 @@ public partial interface IVirtualNetworkGatewaysOperations
Task<AzureOperationResponse<VirtualNetworkGateway>> ResetWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VirtualNetworkGateway parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The Reset VirtualNetworkGateway operation resets the primary of
/// the virtual network gatewayin the specified resource group
/// the virtual network gateway in the specified resource group
/// through Network resource provider.
/// </summary>
/// <param name='resourceGroupName'>
Expand All @@ -177,6 +177,29 @@ public partial interface IVirtualNetworkGatewaysOperations
/// </param>
Task<AzureOperationResponse<VirtualNetworkGateway>> BeginResetWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VirtualNetworkGateway parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The Generatevpnclientpackage operation generates Vpn client
/// package for P2S client of the virtual network gateway in the
/// specified resource group through Network resource provider.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkGatewayName'>
/// The name of the virtual network gateway.
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the Begin Generating Virtual Network
/// Gateway Vpn client package operation through Network resource
/// provider.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<AzureOperationResponse<string>> GeneratevpnclientpackageWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkGatewayName, VpnClientParameters parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The List VirtualNetworkGateways opertion retrieves all the virtual
/// network gateways stored.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// Defines values for ProcessorArchitecture.
/// </summary>
public static class ProcessorArchitecture
{
public const string Amd64 = "Amd64";
public const string X86 = "X86";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ public VirtualNetworkGateway() { }
/// <summary>
/// Initializes a new instance of the VirtualNetworkGateway class.
/// </summary>
public VirtualNetworkGateway(string etag = default(string), IList<VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList<VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), bool? enableBgp = default(bool?), SubResource gatewayDefaultSite = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string))
public VirtualNetworkGateway(string etag = default(string), IList<VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList<VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), bool? enableBgp = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), string resourceGuid = default(string), string provisioningState = default(string))
{
Etag = etag;
IpConfigurations = ipConfigurations;
GatewayType = gatewayType;
VpnType = vpnType;
EnableBgp = enableBgp;
GatewayDefaultSite = gatewayDefaultSite;
Sku = sku;
VpnClientConfiguration = vpnClientConfiguration;
ResourceGuid = resourceGuid;
ProvisioningState = provisioningState;
}
Expand Down Expand Up @@ -82,6 +84,21 @@ public VirtualNetworkGateway() { }
[JsonProperty(PropertyName = "properties.gatewayDefaultSite")]
public SubResource GatewayDefaultSite { get; set; }

/// <summary>
/// Gets or sets the reference of the VirtualNetworkGatewaySku
/// resource which represents the sku selected for Virtual network
/// gateway.
/// </summary>
[JsonProperty(PropertyName = "properties.sku")]
public VirtualNetworkGatewaySku Sku { get; set; }

/// <summary>
/// Gets or sets the reference of the VpnClientConfiguration resource
/// which represents the P2S VpnClient configurations.
/// </summary>
[JsonProperty(PropertyName = "properties.vpnClientConfiguration")]
public VpnClientConfiguration VpnClientConfiguration { get; set; }

/// <summary>
/// Gets or sets resource guid property of the VirtualNetworkGateway
/// resource
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// VirtualNetworkGatewaySku details
/// </summary>
public partial class VirtualNetworkGatewaySku
{
/// <summary>
/// Initializes a new instance of the VirtualNetworkGatewaySku class.
/// </summary>
public VirtualNetworkGatewaySku() { }

/// <summary>
/// Initializes a new instance of the VirtualNetworkGatewaySku class.
/// </summary>
public VirtualNetworkGatewaySku(string name = default(string), string tier = default(string), int? capacity = default(int?))
{
Name = name;
Tier = tier;
Capacity = capacity;
}

/// <summary>
/// Gateway sku name -Basic/HighPerformance/Standard. Possible values
/// for this property include: 'Basic', 'HighPerformance', 'Standard'.
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

/// <summary>
/// Gateway sku tier -Basic/HighPerformance/Standard. Possible values
/// for this property include: 'Basic', 'HighPerformance', 'Standard'.
/// </summary>
[JsonProperty(PropertyName = "tier")]
public string Tier { get; set; }

/// <summary>
/// The capacity
/// </summary>
[JsonProperty(PropertyName = "capacity")]
public int? Capacity { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// Defines values for VirtualNetworkGatewaySkuName.
/// </summary>
public static class VirtualNetworkGatewaySkuName
{
public const string Basic = "Basic";
public const string HighPerformance = "HighPerformance";
public const string Standard = "Standard";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// Defines values for VirtualNetworkGatewaySkuTier.
/// </summary>
public static class VirtualNetworkGatewaySkuTier
{
public const string Basic = "Basic";
public const string HighPerformance = "HighPerformance";
public const string Standard = "Standard";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// VpnClientConfiguration for P2S client
/// </summary>
public partial class VpnClientConfiguration
{
/// <summary>
/// Initializes a new instance of the VpnClientConfiguration class.
/// </summary>
public VpnClientConfiguration() { }

/// <summary>
/// Initializes a new instance of the VpnClientConfiguration class.
/// </summary>
public VpnClientConfiguration(AddressSpace vpnClientAddressPool = default(AddressSpace), IList<VpnClientRootCertificate> vpnClientRootCertificates = default(IList<VpnClientRootCertificate>), IList<VpnClientRevokedCertificate> vpnClientRevokedCertificates = default(IList<VpnClientRevokedCertificate>))
{
VpnClientAddressPool = vpnClientAddressPool;
VpnClientRootCertificates = vpnClientRootCertificates;
VpnClientRevokedCertificates = vpnClientRevokedCertificates;
}

/// <summary>
/// Gets or sets the reference of the Address space resource which
/// represents Address space for P2S VpnClient.
/// </summary>
[JsonProperty(PropertyName = "vpnClientAddressPool")]
public AddressSpace VpnClientAddressPool { get; set; }

/// <summary>
/// VpnClientRootCertificate for Virtual network gateway.
/// </summary>
[JsonProperty(PropertyName = "vpnClientRootCertificates")]
public IList<VpnClientRootCertificate> VpnClientRootCertificates { get; set; }

/// <summary>
/// VpnClientRevokedCertificate for Virtual network gateway.
/// </summary>
[JsonProperty(PropertyName = "vpnClientRevokedCertificates")]
public IList<VpnClientRevokedCertificate> VpnClientRevokedCertificates { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// VpnClientParameters
/// </summary>
public partial class VpnClientParameters
{
/// <summary>
/// Initializes a new instance of the VpnClientParameters class.
/// </summary>
public VpnClientParameters() { }

/// <summary>
/// Initializes a new instance of the VpnClientParameters class.
/// </summary>
public VpnClientParameters(string processorArchitecture = default(string))
{
ProcessorArchitecture = processorArchitecture;
}

/// <summary>
/// VPN client Processor Architecture -Amd64/X86. Possible values for
/// this property include: 'Amd64', 'X86'.
/// </summary>
[JsonProperty(PropertyName = "ProcessorArchitecture")]
public string ProcessorArchitecture { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// 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.13.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

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

/// <summary>
/// VPN client revoked certificate of virtual network gateway
/// </summary>
public partial class VpnClientRevokedCertificate : SubResource
{
/// <summary>
/// Initializes a new instance of the VpnClientRevokedCertificate
/// class.
/// </summary>
public VpnClientRevokedCertificate() { }

/// <summary>
/// Initializes a new instance of the VpnClientRevokedCertificate
/// class.
/// </summary>
public VpnClientRevokedCertificate(string name = default(string), string etag = default(string), string thumbprint = default(string), string provisioningState = default(string))
{
Name = name;
Etag = etag;
Thumbprint = thumbprint;
ProvisioningState = provisioningState;
}

/// <summary>
/// Gets name of the resource that is unique within a resource group.
/// This name can be used to access the resource
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

/// <summary>
/// A unique read-only string that changes whenever the resource is
/// updated
/// </summary>
[JsonProperty(PropertyName = "etag")]
public string Etag { get; set; }

/// <summary>
/// Gets or sets the revoked Vpn client certificate thumbprint
/// </summary>
[JsonProperty(PropertyName = "properties.thumbprint")]
public string Thumbprint { get; set; }

/// <summary>
/// Gets or sets Provisioning state of the VPN client revoked
/// certificate resource Updating/Deleting/Failed
/// </summary>
[JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState { get; set; }

}
}
Loading