Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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
56 changes: 56 additions & 0 deletions lib/services/serviceBusManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,36 @@ export interface MigrationConfigProperties extends Resource {
readonly migrationState?: string;
}

/**
* @class
* Initializes a new instance of the IpFilterRule class.
* @constructor
* Single item in a List or Get IpFilterRules operation
*
* @member {string} [ipMask] IP Mask
* @member {string} [action] The IP Filter Action. Possible values include:
* 'Accept', 'Reject'
* @member {string} [filterName] IP Filter name
*/
export interface IpFilterRule extends Resource {
ipMask?: string;
action?: string;
filterName?: string;
}

/**
* @class
* Initializes a new instance of the VirtualNetworkRule class.
* @constructor
* Single item in a List or Get VirtualNetworkRules operation
*
* @member {string} [virtualNetworkSubnetId] Resource ID of Virtual Network
* Subnet
*/
export interface VirtualNetworkRule extends Resource {
virtualNetworkSubnetId?: string;
}


/**
* @class
Expand Down Expand Up @@ -916,6 +946,32 @@ export interface SBAuthorizationRuleListResult extends Array<SBAuthorizationRule
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the IpFilterRuleListResult class.
* @constructor
* The response from the List namespace operation.
*
* @member {string} [nextLink] Link to the next set of results. Not empty if
* Value contains an incomplete list of IpFilter Rules
*/
export interface IpFilterRuleListResult extends Array<IpFilterRule> {
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the VirtualNetworkRuleListResult class.
* @constructor
* The response from the List namespace operation.
*
* @member {string} [nextLink] Link to the next set of results. Not empty if
* Value contains an incomplete list of VirtualNetwork Rules
*/
export interface VirtualNetworkRuleListResult extends Array<VirtualNetworkRule> {
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the ArmDisasterRecoveryListResult class.
Expand Down
4 changes: 4 additions & 0 deletions lib/services/serviceBusManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ exports.CaptureDescription = require('./captureDescription');
exports.Eventhub = require('./eventhub');
exports.ArmDisasterRecovery = require('./armDisasterRecovery');
exports.MigrationConfigProperties = require('./migrationConfigProperties');
exports.IpFilterRule = require('./ipFilterRule');
exports.VirtualNetworkRule = require('./virtualNetworkRule');
exports.OperationListResult = require('./operationListResult');
exports.SBNamespaceListResult = require('./sBNamespaceListResult');
exports.SBAuthorizationRuleListResult = require('./sBAuthorizationRuleListResult');
exports.IpFilterRuleListResult = require('./ipFilterRuleListResult');
exports.VirtualNetworkRuleListResult = require('./virtualNetworkRuleListResult');
exports.ArmDisasterRecoveryListResult = require('./armDisasterRecoveryListResult');
exports.MigrationConfigListResult = require('./migrationConfigListResult');
exports.SBQueueListResult = require('./sBQueueListResult');
Expand Down
97 changes: 97 additions & 0 deletions lib/services/serviceBusManagement2/lib/models/ipFilterRule.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/*
* 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.
*/

'use strict';

const models = require('./index');

/**
* Single item in a List or Get IpFilterRules operation
*
* @extends models['Resource']
*/
class IpFilterRule extends models['Resource'] {
/**
* Create a IpFilterRule.
* @member {string} [ipMask] IP Mask
* @member {string} [action] The IP Filter Action. Possible values include:
* 'Accept', 'Reject'
* @member {string} [filterName] IP Filter name
*/
constructor() {
super();
}

/**
* Defines the metadata of IpFilterRule
*
* @returns {object} metadata of IpFilterRule
*
*/
mapper() {
return {
required: false,
serializedName: 'IpFilterRule',
type: {
name: 'Composite',
className: 'IpFilterRule',
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
ipMask: {
required: false,
serializedName: 'properties.ipMask',
type: {
name: 'String'
}
},
action: {
required: false,
serializedName: 'properties.action',
type: {
name: 'String'
}
},
filterName: {
required: false,
serializedName: 'properties.filterName',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = IpFilterRule;
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
* 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.
*/

'use strict';

/**
* The response from the List namespace operation.
*/
class IpFilterRuleListResult extends Array {
/**
* Create a IpFilterRuleListResult.
* @member {string} [nextLink] Link to the next set of results. Not empty if
* Value contains an incomplete list of IpFilter Rules
*/
constructor() {
super();
}

/**
* Defines the metadata of IpFilterRuleListResult
*
* @returns {object} metadata of IpFilterRuleListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'IpFilterRuleListResult',
type: {
name: 'Composite',
className: 'IpFilterRuleListResult',
modelProperties: {
value: {
required: false,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'IpFilterRuleElementType',
type: {
name: 'Composite',
className: 'IpFilterRule'
}
}
}
},
nextLink: {
required: false,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = IpFilterRuleListResult;
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*
* 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.
*/

'use strict';

const models = require('./index');

/**
* Single item in a List or Get VirtualNetworkRules operation
*
* @extends models['Resource']
*/
class VirtualNetworkRule extends models['Resource'] {
/**
* Create a VirtualNetworkRule.
* @member {string} [virtualNetworkSubnetId] Resource ID of Virtual Network
* Subnet
*/
constructor() {
super();
}

/**
* Defines the metadata of VirtualNetworkRule
*
* @returns {object} metadata of VirtualNetworkRule
*
*/
mapper() {
return {
required: false,
serializedName: 'VirtualNetworkRule',
type: {
name: 'Composite',
className: 'VirtualNetworkRule',
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
virtualNetworkSubnetId: {
required: false,
serializedName: 'properties.virtualNetworkSubnetId',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = VirtualNetworkRule;
Loading