Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR migrate/resource-manager/network/resource-manager] Created folder for 2018 08 01 api-version #3375

Closed
Closed
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
492 changes: 246 additions & 246 deletions lib/services/networkManagement2/lib/models/index.d.ts

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions lib/services/networkManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,9 @@ var msRestAzure = require('ms-rest-azure');
exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.SubResource = require('./subResource');
exports.AzureFirewallIPConfiguration = require('./azureFirewallIPConfiguration');
exports.AzureFirewallRCAction = require('./azureFirewallRCAction');
exports.AzureFirewallApplicationRuleProtocol = require('./azureFirewallApplicationRuleProtocol');
exports.AzureFirewallApplicationRule = require('./azureFirewallApplicationRule');
exports.AzureFirewallApplicationRuleCollection = require('./azureFirewallApplicationRuleCollection');
exports.AzureFirewallNetworkRule = require('./azureFirewallNetworkRule');
exports.AzureFirewallNetworkRuleCollection = require('./azureFirewallNetworkRuleCollection');
exports.Resource = require('./resource');
exports.AzureFirewall = require('./azureFirewall');
exports.BackendAddressPool = require('./backendAddressPool');
exports.InboundNatRule = require('./inboundNatRule');
exports.Resource = require('./resource');
exports.ApplicationSecurityGroup = require('./applicationSecurityGroup');
exports.SecurityRule = require('./securityRule');
exports.NetworkInterfaceDnsSettings = require('./networkInterfaceDnsSettings');
Expand Down Expand Up @@ -82,6 +74,14 @@ exports.ApplicationGatewayAvailableWafRuleSetsResult = require('./applicationGat
exports.ApplicationGatewayAvailableSslOptions = require('./applicationGatewayAvailableSslOptions');
exports.ApplicationGatewaySslPredefinedPolicy = require('./applicationGatewaySslPredefinedPolicy');
exports.TagsObject = require('./tagsObject');
exports.AzureFirewallIPConfiguration = require('./azureFirewallIPConfiguration');
exports.AzureFirewallRCAction = require('./azureFirewallRCAction');
exports.AzureFirewallApplicationRuleProtocol = require('./azureFirewallApplicationRuleProtocol');
exports.AzureFirewallApplicationRule = require('./azureFirewallApplicationRule');
exports.AzureFirewallApplicationRuleCollection = require('./azureFirewallApplicationRuleCollection');
exports.AzureFirewallNetworkRule = require('./azureFirewallNetworkRule');
exports.AzureFirewallNetworkRuleCollection = require('./azureFirewallNetworkRuleCollection');
exports.AzureFirewall = require('./azureFirewall');
exports.DnsNameAvailabilityResult = require('./dnsNameAvailabilityResult');
exports.DdosProtectionPlan = require('./ddosProtectionPlan');
exports.EndpointServiceResult = require('./endpointServiceResult');
Expand Down Expand Up @@ -246,10 +246,10 @@ exports.VpnConnection = require('./vpnConnection');
exports.Policies = require('./policies');
exports.VpnGateway = require('./vpnGateway');
exports.VpnSiteId = require('./vpnSiteId');
exports.AzureFirewallListResult = require('./azureFirewallListResult');
exports.ApplicationGatewayListResult = require('./applicationGatewayListResult');
exports.ApplicationGatewayAvailableSslPredefinedPolicies = require('./applicationGatewayAvailableSslPredefinedPolicies');
exports.ApplicationSecurityGroupListResult = require('./applicationSecurityGroupListResult');
exports.AzureFirewallListResult = require('./azureFirewallListResult');
exports.DdosProtectionPlanListResult = require('./ddosProtectionPlanListResult');
exports.EndpointServicesListResult = require('./endpointServicesListResult');
exports.AuthorizationListResult = require('./authorizationListResult');
Expand Down Expand Up @@ -280,6 +280,8 @@ exports.RouteFilterRuleListResult = require('./routeFilterRuleListResult');
exports.RouteTableListResult = require('./routeTableListResult');
exports.RouteListResult = require('./routeListResult');
exports.BgpServiceCommunityListResult = require('./bgpServiceCommunityListResult');
exports.ServiceEndpointPolicyListResult = require('./serviceEndpointPolicyListResult');
exports.ServiceEndpointPolicyDefinitionListResult = require('./serviceEndpointPolicyDefinitionListResult');
exports.UsagesListResult = require('./usagesListResult');
exports.VirtualNetworkListResult = require('./virtualNetworkListResult');
exports.VirtualNetworkListUsageResult = require('./virtualNetworkListUsageResult');
Expand All @@ -295,5 +297,3 @@ exports.ListVirtualHubsResult = require('./listVirtualHubsResult');
exports.ListHubVirtualNetworkConnectionsResult = require('./listHubVirtualNetworkConnectionsResult');
exports.ListVpnGatewaysResult = require('./listVpnGatewaysResult');
exports.ListVpnConnectionsResult = require('./listVpnConnectionsResult');
exports.ServiceEndpointPolicyListResult = require('./serviceEndpointPolicyListResult');
exports.ServiceEndpointPolicyDefinitionListResult = require('./serviceEndpointPolicyDefinitionListResult');
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export default class NetworkManagementClient extends AzureServiceClient {
generateClientRequestId: boolean;

// Operation groups
azureFirewalls: operations.AzureFirewalls;
applicationGateways: operations.ApplicationGateways;
applicationSecurityGroups: operations.ApplicationSecurityGroups;
azureFirewalls: operations.AzureFirewalls;
ddosProtectionPlans: operations.DdosProtectionPlans;
availableEndpointServices: operations.AvailableEndpointServices;
expressRouteCircuitAuthorizations: operations.ExpressRouteCircuitAuthorizations;
Expand Down Expand Up @@ -90,6 +90,8 @@ export default class NetworkManagementClient extends AzureServiceClient {
routeTables: operations.RouteTables;
routes: operations.Routes;
bgpServiceCommunities: operations.BgpServiceCommunities;
serviceEndpointPolicies: operations.ServiceEndpointPolicies;
serviceEndpointPolicyDefinitions: operations.ServiceEndpointPolicyDefinitions;
usages: operations.Usages;
virtualNetworks: operations.VirtualNetworks;
subnets: operations.Subnets;
Expand All @@ -104,8 +106,6 @@ export default class NetworkManagementClient extends AzureServiceClient {
hubVirtualNetworkConnections: operations.HubVirtualNetworkConnections;
vpnGateways: operations.VpnGateways;
vpnConnections: operations.VpnConnections;
serviceEndpointPolicies: operations.ServiceEndpointPolicies;
serviceEndpointPolicyDefinitions: operations.ServiceEndpointPolicyDefinitions;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function _checkDnsNameAvailability(location, domainNameLabel, options, callback)
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
Expand Down Expand Up @@ -218,9 +218,9 @@ class NetworkManagementClient extends ServiceClient {
if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) {
this.generateClientRequestId = options.generateClientRequestId;
}
this.azureFirewalls = new operations.AzureFirewalls(this);
this.applicationGateways = new operations.ApplicationGateways(this);
this.applicationSecurityGroups = new operations.ApplicationSecurityGroups(this);
this.azureFirewalls = new operations.AzureFirewalls(this);
this.ddosProtectionPlans = new operations.DdosProtectionPlans(this);
this.availableEndpointServices = new operations.AvailableEndpointServices(this);
this.expressRouteCircuitAuthorizations = new operations.ExpressRouteCircuitAuthorizations(this);
Expand Down Expand Up @@ -254,6 +254,8 @@ class NetworkManagementClient extends ServiceClient {
this.routeTables = new operations.RouteTables(this);
this.routes = new operations.Routes(this);
this.bgpServiceCommunities = new operations.BgpServiceCommunities(this);
this.serviceEndpointPolicies = new operations.ServiceEndpointPolicies(this);
this.serviceEndpointPolicyDefinitions = new operations.ServiceEndpointPolicyDefinitions(this);
this.usages = new operations.Usages(this);
this.virtualNetworks = new operations.VirtualNetworks(this);
this.subnets = new operations.Subnets(this);
Expand All @@ -268,8 +270,6 @@ class NetworkManagementClient extends ServiceClient {
this.hubVirtualNetworkConnections = new operations.HubVirtualNetworkConnections(this);
this.vpnGateways = new operations.VpnGateways(this);
this.vpnConnections = new operations.VpnConnections(this);
this.serviceEndpointPolicies = new operations.ServiceEndpointPolicies(this);
this.serviceEndpointPolicyDefinitions = new operations.ServiceEndpointPolicyDefinitions(this);
this.models = models;
this._checkDnsNameAvailability = _checkDnsNameAvailability;
msRest.addSerializationMixin(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function _get(resourceGroupName, applicationGatewayName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -551,7 +551,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -687,7 +687,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1029,7 +1029,7 @@ function _listAvailableWafRuleSets(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1161,7 +1161,7 @@ function _listAvailableSslOptions(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1294,7 +1294,7 @@ function _listAvailableSslPredefinedPolicies(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1428,7 +1428,7 @@ function _getSslPredefinedPolicy(predefinedPolicyName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -1566,7 +1566,7 @@ function _beginDeleteMethod(resourceGroupName, applicationGatewayName, options,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -1828,7 +1828,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationGatewayName, paramet
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2010,7 +2010,7 @@ function _beginUpdateTags(resourceGroupName, applicationGatewayName, parameters,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2169,7 +2169,7 @@ function _beginStart(resourceGroupName, applicationGatewayName, options, callbac
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2294,7 +2294,7 @@ function _beginStop(resourceGroupName, applicationGatewayName, options, callback
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -2426,7 +2426,7 @@ function _beginBackendHealth(resourceGroupName, applicationGatewayName, options,
throw new Error('callback cannot be null.');
}
let expand = (options && options.expand !== undefined) ? options.expand : undefined;
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function _get(resourceGroupName, applicationSecurityGroupName, options, callback
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -344,7 +344,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -478,7 +478,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -617,7 +617,7 @@ function _beginDeleteMethod(resourceGroupName, applicationSecurityGroupName, opt
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -754,7 +754,7 @@ function _beginCreateOrUpdate(resourceGroupName, applicationSecurityGroupName, p
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function _list(location, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (location === null || location === undefined || typeof location.valueOf() !== 'string') {
Expand Down
10 changes: 5 additions & 5 deletions lib/services/networkManagement2/lib/operations/azureFirewalls.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function _get(resourceGroupName, azureFirewallName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -354,7 +354,7 @@ function _list(resourceGroupName, options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -490,7 +490,7 @@ function _listAll(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down Expand Up @@ -624,7 +624,7 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down Expand Up @@ -772,7 +772,7 @@ function _beginCreateOrUpdate(resourceGroupName, azureFirewallName, parameters,
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function _list(options, callback) {
if (!callback) {
throw new Error('callback cannot be null.');
}
let apiVersion = '2018-07-01';
let apiVersion = '2018-08-01';
// Validate
try {
if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {
Expand Down
Loading