Skip to content
Open
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 @@ -632,6 +632,11 @@ public partial interface INetworkManagementClient : System.IDisposable
/// </summary>
IVirtualNetworkPeeringsOperations VirtualNetworkPeerings { get; }

/// <summary>
/// Gets the IVirtualNetworkAppliancesOperations
/// </summary>
IVirtualNetworkAppliancesOperations VirtualNetworkAppliances { get; }

/// <summary>
/// Gets the IVirtualNetworkGatewaysOperations
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
// 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.

namespace Microsoft.Azure.Management.Network
{
using Microsoft.Rest.Azure;
using Models;

/// <summary>
/// VirtualNetworkAppliancesOperations operations.
/// </summary>
public partial interface IVirtualNetworkAppliancesOperations
{
/// <summary>
/// Deletes the specified virtual network appliance.
/// </summary>
/// <remarks>
/// Deletes the specified virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<VirtualNetworkAppliancesDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets information about the specified virtual network appliance.
/// </summary>
/// <remarks>
/// Gets information about the specified virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<VirtualNetworkAppliance>> GetWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Creates or updates a virtual network appliance.
/// </summary>
/// <remarks>
/// Creates or updates a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the create or update virtual network appliance
/// operation.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<VirtualNetworkAppliance>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, VirtualNetworkAppliance parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Updates a virtual network appliance tags.
/// </summary>
/// <remarks>
/// Updates a virtual network appliance tags.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='parameters'>
/// Parameters supplied to update virtual network appliance tags.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<VirtualNetworkAppliance>> UpdateTagsWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, TagsObject parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets all virtual network appliances in a subscription.
/// </summary>
/// <remarks>
/// Gets all virtual network appliances in a subscription.
/// </remarks>
/// <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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<VirtualNetworkAppliance>>> ListAllWithHttpMessagesAsync(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets all virtual network appliances in a resource group.
/// </summary>
/// <remarks>
/// Gets all virtual network appliances in a resource group.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<VirtualNetworkAppliance>>> ListWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes the specified virtual network appliance.
/// </summary>
/// <remarks>
/// Deletes the specified virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<VirtualNetworkAppliancesDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Creates or updates a virtual network appliance.
/// </summary>
/// <remarks>
/// Creates or updates a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the create or update virtual network appliance
/// operation.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<VirtualNetworkAppliance>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, VirtualNetworkAppliance parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets all virtual network appliances in a subscription.
/// </summary>
/// <remarks>
/// Gets all virtual network appliances in a subscription.
/// </remarks>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<VirtualNetworkAppliance>>> ListAllNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets all virtual network appliances in a resource group.
/// </summary>
/// <remarks>
/// Gets all virtual network appliances in a resource group.
/// </remarks>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<VirtualNetworkAppliance>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
// 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.

namespace Microsoft.Azure.Management.Network.Models
{
using System.Linq;

/// <summary>
/// A virtual network appliance in a resource group.
/// </summary>
[Microsoft.Rest.Serialization.JsonTransformation]
public partial class VirtualNetworkAppliance : Resource
{
/// <summary>
/// Initializes a new instance of the VirtualNetworkAppliance class.
/// </summary>
public VirtualNetworkAppliance()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the VirtualNetworkAppliance class.
/// </summary>

/// <param name="id">Resource ID.
/// </param>

/// <param name="name">Resource name.
/// </param>

/// <param name="type">Resource type.
/// </param>

/// <param name="location">Resource location.
/// </param>

/// <param name="tags">Resource tags.
/// </param>

/// <param name="etag">A unique read-only string that changes whenever the resource is updated.
/// </param>

/// <param name="provisioningState">The provisioning state of the virtual network appliance resource.
/// Possible values include: &#39;Failed&#39;, &#39;Succeeded&#39;, &#39;Canceled&#39;, &#39;Creating&#39;,
/// &#39;Updating&#39;, &#39;Deleting&#39;</param>

/// <param name="bandwidthInGbps">Bandwidth of the VirtualNetworkAppliance resource in Gbps.
/// </param>

/// <param name="ipConfigurations">A list of IPConfigurations of the virtual network appliance.
/// </param>

/// <param name="resourceGuid">The resource GUID property of the virtual network appliance resource.
/// </param>

/// <param name="subnet">The reference to the subnet resource.
/// </param>
public VirtualNetworkAppliance(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string provisioningState = default(string), string bandwidthInGbps = default(string), System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> ipConfigurations = default(System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration>), string resourceGuid = default(string), Subnet subnet = default(Subnet))

: base(id, name, type, location, tags)
{
this.Etag = etag;
this.ProvisioningState = provisioningState;
this.BandwidthInGbps = bandwidthInGbps;
this.IPConfigurations = ipConfigurations;
this.ResourceGuid = resourceGuid;
this.Subnet = subnet;
CustomInit();
}

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


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

/// <summary>
/// Gets the provisioning state of the virtual network appliance resource. Possible values include: &#39;Failed&#39;, &#39;Succeeded&#39;, &#39;Canceled&#39;, &#39;Creating&#39;, &#39;Updating&#39;, &#39;Deleting&#39;
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState {get; private set; }

/// <summary>
/// Gets or sets bandwidth of the VirtualNetworkAppliance resource in Gbps.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.bandwidthInGbps")]
public string BandwidthInGbps {get; set; }

/// <summary>
/// Gets a list of IPConfigurations of the virtual network appliance.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.ipConfigurations")]
public System.Collections.Generic.IList<VirtualNetworkApplianceIpConfiguration> IPConfigurations {get; private set; }

/// <summary>
/// Gets the resource GUID property of the virtual network appliance resource.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.resourceGuid")]
public string ResourceGuid {get; private set; }

/// <summary>
/// Gets or sets the reference to the subnet resource.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.subnet")]
public Subnet Subnet {get; set; }
}
}
Loading
Loading