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 @@ -766,6 +766,10 @@ public partial interface INetworkManagementClient : System.IDisposable
/// Gets the IVirtualNetworkAppliancesOperations
/// </summary>
IVirtualNetworkAppliancesOperations VirtualNetworkAppliances { get; }
/// <summary>
/// Gets the IVirtualNetworkApplianceCapabilitiesOperations
/// </summary>
IVirtualNetworkApplianceCapabilitiesOperations VirtualNetworkApplianceCapabilities { get; }

/// <summary>
/// Gets the IExpressRouteGatewaysOperations
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
// 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>
/// VirtualNetworkApplianceCapabilitiesOperations operations.
/// </summary>
public partial interface IVirtualNetworkApplianceCapabilitiesOperations
{
/// <summary>
/// Gets all capabilities of a virtual network appliance.
/// </summary>
/// <remarks>
/// Gets all capabilities of a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </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<Microsoft.Rest.Azure.IPage<VirtualNetworkApplianceCapability>>> ListWithHttpMessagesAsync(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 the specified capability of a virtual network appliance.
/// </summary>
/// <remarks>
/// Gets the specified capability of a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='capabilityName'>
/// The name of the virtual network appliance capability.
/// </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<VirtualNetworkApplianceCapability>> GetWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, string capabilityName, 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 capability on a virtual network appliance.
/// </summary>
/// <remarks>
/// Creates or updates a capability on a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='capabilityName'>
/// The name of the virtual network appliance capability.
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the create or update virtual network appliance
/// capability 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<VirtualNetworkApplianceCapability,VirtualNetworkApplianceCapabilitiesCreateOrUpdateHeaders>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, string capabilityName, VirtualNetworkApplianceCapability parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes the specified capability of a virtual network appliance.
/// </summary>
/// <remarks>
/// Deletes the specified capability of a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='capabilityName'>
/// The name of the virtual network appliance capability.
/// </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<VirtualNetworkApplianceCapabilitiesDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, string capabilityName, 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 capability on a virtual network appliance.
/// </summary>
/// <remarks>
/// Creates or updates a capability on a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='capabilityName'>
/// The name of the virtual network appliance capability.
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the create or update virtual network appliance
/// capability 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<VirtualNetworkApplianceCapability,VirtualNetworkApplianceCapabilitiesCreateOrUpdateHeaders>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, string capabilityName, VirtualNetworkApplianceCapability parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes the specified capability of a virtual network appliance.
/// </summary>
/// <remarks>
/// Deletes the specified capability of a virtual network appliance.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='virtualNetworkApplianceName'>
/// The name of the virtual network appliance.
/// </param>
/// <param name='capabilityName'>
/// The name of the virtual network appliance capability.
/// </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<VirtualNetworkApplianceCapabilitiesDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string virtualNetworkApplianceName, string capabilityName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets all capabilities of a virtual network appliance.
/// </summary>
/// <remarks>
/// Gets all capabilities of a virtual network appliance.
/// </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<VirtualNetworkApplianceCapability>>> 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,65 @@
// 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>
/// Concrete proxy resource types can be created by aliasing this type using a
/// specific property type.
/// </summary>
public partial class Components1Tw8E2RSchemasVirtualnetworkappliancecapabilityAllof0 : ProxyResourceAutoGenerated
{
/// <summary>
/// Initializes a new instance of the Components1Tw8E2RSchemasVirtualnetworkappliancecapabilityAllof0 class.
/// </summary>
public Components1Tw8E2RSchemasVirtualnetworkappliancecapabilityAllof0()
{
CustomInit();
}

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

/// <param name="id">Fully qualified resource ID for the resource. E.g.
/// &#34;/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}&#34;
/// </param>

/// <param name="name">The name of the resource
/// </param>

/// <param name="type">The type of the resource. E.g. &#34;Microsoft.Compute/virtualMachines&#34; or
/// &#34;Microsoft.Storage/storageAccounts&#34;
/// </param>

/// <param name="systemData">Azure Resource Manager metadata containing createdBy and modifiedBy
/// information.
/// </param>

/// <param name="properties">The resource-specific properties for this resource.
/// </param>
public Components1Tw8E2RSchemasVirtualnetworkappliancecapabilityAllof0(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), VirtualNetworkApplianceCapabilityProperties properties = default(VirtualNetworkApplianceCapabilityProperties))

: base(id, name, type, systemData)
{
this.Properties = properties;
CustomInit();
}

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


/// <summary>
/// Gets or sets the resource-specific properties for this resource.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties")]
public VirtualNetworkApplianceCapabilityProperties Properties {get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// 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>
/// The NAT64 capability. Enables stateful NAT64 translation (IPv6-only
/// workloads reaching IPv4
/// destinations) on the appliance&#39;s floating NIC; supported on a dual-stack
/// appliance. This kind is
/// property-less: it carries no `ipVersion` (the parent appliance&#39;s
/// dual-stack configuration is the
/// precondition, service-validated) beyond the properties common to every
/// capability.
/// </summary>
[Newtonsoft.Json.JsonObject("NAT64")]
public partial class Nat64Capability : VirtualNetworkApplianceCapability
{
/// <summary>
/// Initializes a new instance of the Nat64Capability class.
/// </summary>
public Nat64Capability()
{
CustomInit();
}

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

/// <param name="id">Fully qualified resource ID for the resource. E.g.
/// &#34;/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}&#34;
/// </param>

/// <param name="name">The name of the resource
/// </param>

/// <param name="type">The type of the resource. E.g. &#34;Microsoft.Compute/virtualMachines&#34; or
/// &#34;Microsoft.Storage/storageAccounts&#34;
/// </param>

/// <param name="systemData">Azure Resource Manager metadata containing createdBy and modifiedBy
/// information.
/// </param>

/// <param name="properties">The resource-specific properties for this resource.
/// </param>
public Nat64Capability(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), VirtualNetworkApplianceCapabilityProperties properties = default(VirtualNetworkApplianceCapabilityProperties))

: base(id, name, type, systemData, properties)
{
CustomInit();
}

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

/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public override void Validate()
{
base.Validate();
}
}
}
Loading
Loading