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

[AutoPR network/resource-manager] Removed QueryConnectionMOnitors API #3357

Merged
merged 1 commit into from
Aug 16, 2018
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
10 changes: 5 additions & 5 deletions lib/services/networkManagement2/lib/models/backendAddressPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class BackendAddressPool extends models['SubResource'] {
* IP addresses defined in network interfaces.
* @member {array} [loadBalancingRules] Gets load balancing rules that use
* this backend address pool.
* @member {object} [outboundNatRule] Gets outbound rules that use this
* backend address pool.
* @member {string} [outboundNatRule.id] Resource ID.
* @member {object} [outboundRule] Gets outbound rules that use this backend
* address pool.
* @member {string} [outboundRule.id] Resource ID.
* @member {string} [provisioningState] Get provisioning state of the public
* IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
* @member {string} [name] Gets name of the resource that is unique within a
Expand Down Expand Up @@ -91,10 +91,10 @@ class BackendAddressPool extends models['SubResource'] {
}
}
},
outboundNatRule: {
outboundRule: {
required: false,
readOnly: true,
serializedName: 'properties.outboundNatRule',
serializedName: 'properties.outboundRule',
type: {
name: 'Composite',
className: 'SubResource'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class FrontendIPConfiguration extends models['SubResource'] {
* this frontend IP.
* @member {array} [inboundNatPools] Read only. Inbound pools URIs that use
* this frontend IP.
* @member {array} [outboundNatRules] Read only. Outbound rules URIs that use
* @member {array} [outboundRules] Read only. Outbound rules URIs that use
* this frontend IP.
* @member {array} [loadBalancingRules] Gets load balancing rules URIs that
* use this frontend IP.
Expand Down Expand Up @@ -209,6 +209,9 @@ class FrontendIPConfiguration extends models['SubResource'] {
* changes whenever the resource is updated.
* @member {array} [publicIPAddress.zones] A list of availability zones
* denoting the IP allocated for the resource needs to come from.
* @member {object} [publicIPPrefix] The reference of the Public IP Prefix
* resource.
* @member {string} [publicIPPrefix.id] Resource ID.
* @member {string} [provisioningState] Gets the provisioning state of the
* public IP resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
Expand Down Expand Up @@ -276,10 +279,10 @@ class FrontendIPConfiguration extends models['SubResource'] {
}
}
},
outboundNatRules: {
outboundRules: {
required: false,
readOnly: true,
serializedName: 'properties.outboundNatRules',
serializedName: 'properties.outboundRules',
type: {
name: 'Sequence',
element: {
Expand Down Expand Up @@ -338,6 +341,14 @@ class FrontendIPConfiguration extends models['SubResource'] {
className: 'PublicIPAddress'
}
},
publicIPPrefix: {
required: false,
serializedName: 'properties.publicIPPrefix',
type: {
name: 'Composite',
className: 'SubResource'
}
},
provisioningState: {
required: false,
serializedName: 'properties.provisioningState',
Expand Down
77 changes: 25 additions & 52 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ export interface AzureFirewall extends Resource {
* IP addresses defined in network interfaces.
* @member {array} [loadBalancingRules] Gets load balancing rules that use this
* backend address pool.
* @member {object} [outboundNatRule] Gets outbound rules that use this backend
* @member {object} [outboundRule] Gets outbound rules that use this backend
* address pool.
* @member {string} [outboundNatRule.id] Resource ID.
* @member {string} [outboundRule.id] Resource ID.
* @member {string} [provisioningState] Get provisioning state of the public IP
* resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
* @member {string} [name] Gets name of the resource that is unique within a
Expand All @@ -259,7 +259,7 @@ export interface AzureFirewall extends Resource {
export interface BackendAddressPool extends SubResource {
readonly backendIPConfigurations?: NetworkInterfaceIPConfiguration[];
readonly loadBalancingRules?: SubResource[];
readonly outboundNatRule?: SubResource;
readonly outboundRule?: SubResource;
provisioningState?: string;
name?: string;
etag?: string;
Expand Down Expand Up @@ -3577,8 +3577,8 @@ export interface LoadBalancerSku {
* this frontend IP.
* @member {array} [inboundNatPools] Read only. Inbound pools URIs that use
* this frontend IP.
* @member {array} [outboundNatRules] Read only. Outbound rules URIs that use
* this frontend IP.
* @member {array} [outboundRules] Read only. Outbound rules URIs that use this
* frontend IP.
* @member {array} [loadBalancingRules] Gets load balancing rules URIs that use
* this frontend IP.
* @member {string} [privateIPAddress] The private IP address of the IP
Expand Down Expand Up @@ -3757,6 +3757,9 @@ export interface LoadBalancerSku {
* changes whenever the resource is updated.
* @member {array} [publicIPAddress.zones] A list of availability zones
* denoting the IP allocated for the resource needs to come from.
* @member {object} [publicIPPrefix] The reference of the Public IP Prefix
* resource.
* @member {string} [publicIPPrefix.id] Resource ID.
* @member {string} [provisioningState] Gets the provisioning state of the
* public IP resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
Expand All @@ -3770,12 +3773,13 @@ export interface LoadBalancerSku {
export interface FrontendIPConfiguration extends SubResource {
readonly inboundNatRules?: SubResource[];
readonly inboundNatPools?: SubResource[];
readonly outboundNatRules?: SubResource[];
readonly outboundRules?: SubResource[];
readonly loadBalancingRules?: SubResource[];
privateIPAddress?: string;
privateIPAllocationMethod?: string;
subnet?: Subnet;
publicIPAddress?: PublicIPAddress;
publicIPPrefix?: SubResource;
provisioningState?: string;
name?: string;
etag?: string;
Expand Down Expand Up @@ -3947,9 +3951,9 @@ export interface InboundNatPool extends SubResource {

/**
* @class
* Initializes a new instance of the OutboundNatRule class.
* Initializes a new instance of the OutboundRule class.
* @constructor
* Outbound NAT pool of the load balancer.
* Outbound pool of the load balancer.
*
* @member {number} [allocatedOutboundPorts] The number of outbound ports to be
* used for NAT.
Expand All @@ -3961,16 +3965,26 @@ export interface InboundNatPool extends SubResource {
* @member {string} [provisioningState] Gets the provisioning state of the
* PublicIP resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [protocol] Protocol - TCP, UDP or All. Possible values
* include: 'Tcp', 'Udp', 'All'
* @member {boolean} [enableTcpReset] Receive bidirectional TCP Reset on TCP
* flow idle timeout or unexpected connection termination. This element is only
* used when the protocol is set to TCP.
* @member {number} [idleTimeoutInMinutes] The timeout for the TCP idle
* connection
* @member {string} [name] The name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [etag] A unique read-only string that changes whenever the
* resource is updated.
*/
export interface OutboundNatRule extends SubResource {
export interface OutboundRule extends SubResource {
allocatedOutboundPorts?: number;
frontendIPConfigurations?: SubResource[];
backendAddressPool: SubResource;
provisioningState?: string;
protocol?: string;
enableTcpReset?: boolean;
idleTimeoutInMinutes?: number;
name?: string;
etag?: string;
}
Expand Down Expand Up @@ -4006,7 +4020,7 @@ export interface OutboundNatRule extends SubResource {
* Nat rules. Inbound NAT pools are referenced from virtual machine scale sets.
* NICs that are associated with individual virtual machines cannot reference
* an inbound NAT pool. They have to reference individual inbound NAT rules.
* @member {array} [outboundNatRules] The outbound NAT rules.
* @member {array} [outboundRules] The outbound rules.
* @member {string} [resourceGuid] The resource GUID property of the load
* balancer resource.
* @member {string} [provisioningState] Gets the provisioning state of the
Expand All @@ -4023,7 +4037,7 @@ export interface LoadBalancer extends Resource {
probes?: Probe[];
inboundNatRules?: InboundNatRule[];
inboundNatPools?: InboundNatPool[];
outboundNatRules?: OutboundNatRule[];
outboundRules?: OutboundRule[];
resourceGuid?: string;
provisioningState?: string;
etag?: string;
Expand Down Expand Up @@ -5678,35 +5692,6 @@ export interface NetworkConfigurationDiagnosticResponse {
readonly results?: NetworkConfigurationDiagnosticResult[];
}

/**
* @class
* Initializes a new instance of the QueryConnectionMonitorsParameters class.
* @constructor
* Parameters to query connection monitors.
*
* @member {array} [connectionMonitorIds] List of connection monitors ID.
*/
export interface QueryConnectionMonitorsParameters {
connectionMonitorIds?: string[];
}

/**
* @class
* Initializes a new instance of the ConnectionMonitorsQueryResultItem class.
* @constructor
* Results of query particular connection monitor.
*
* @member {string} [resourceId] Connection monitor resource ID.
* @member {object} [report]
* @member {string} [report.sourceStatus] Status of connection monitor source.
* Possible values include: 'Uknown', 'Active', 'Inactive'
* @member {array} [report.states] Information about connection states.
*/
export interface ConnectionMonitorsQueryResultItem {
resourceId?: string;
report?: ConnectionMonitorQueryResult;
}

/**
* @class
* Initializes a new instance of the OperationDisplay class.
Expand Down Expand Up @@ -7601,18 +7586,6 @@ export interface SecurityRuleListResult extends Array<SecurityRule> {
export interface NetworkWatcherListResult extends Array<NetworkWatcher> {
}

/**
* @class
* Initializes a new instance of the QueryConnectionMonitorsResponse class.
* @constructor
* Results of query connection monitors.
*
* @member {string} [nextLink] URL to get the next set of results.
*/
export interface QueryConnectionMonitorsResponse extends Array<ConnectionMonitorsQueryResultItem> {
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the PacketCaptureListResult class.
Expand Down
5 changes: 1 addition & 4 deletions lib/services/networkManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ exports.FrontendIPConfiguration = require('./frontendIPConfiguration');
exports.LoadBalancingRule = require('./loadBalancingRule');
exports.Probe = require('./probe');
exports.InboundNatPool = require('./inboundNatPool');
exports.OutboundNatRule = require('./outboundNatRule');
exports.OutboundRule = require('./outboundRule');
exports.LoadBalancer = require('./loadBalancer');
exports.ErrorDetails = require('./errorDetails');
exports.ErrorModel = require('./errorModel');
Expand Down Expand Up @@ -191,8 +191,6 @@ exports.EvaluatedNetworkSecurityGroup = require('./evaluatedNetworkSecurityGroup
exports.NetworkSecurityGroupResult = require('./networkSecurityGroupResult');
exports.NetworkConfigurationDiagnosticResult = require('./networkConfigurationDiagnosticResult');
exports.NetworkConfigurationDiagnosticResponse = require('./networkConfigurationDiagnosticResponse');
exports.QueryConnectionMonitorsParameters = require('./queryConnectionMonitorsParameters');
exports.ConnectionMonitorsQueryResultItem = require('./connectionMonitorsQueryResultItem');
exports.OperationDisplay = require('./operationDisplay');
exports.Availability = require('./availability');
exports.Dimension = require('./dimension');
Expand Down Expand Up @@ -272,7 +270,6 @@ exports.NetworkInterfaceLoadBalancerListResult = require('./networkInterfaceLoad
exports.NetworkSecurityGroupListResult = require('./networkSecurityGroupListResult');
exports.SecurityRuleListResult = require('./securityRuleListResult');
exports.NetworkWatcherListResult = require('./networkWatcherListResult');
exports.QueryConnectionMonitorsResponse = require('./queryConnectionMonitorsResponse');
exports.PacketCaptureListResult = require('./packetCaptureListResult');
exports.ConnectionMonitorListResult = require('./connectionMonitorListResult');
exports.OperationListResult = require('./operationListResult');
Expand Down
10 changes: 5 additions & 5 deletions lib/services/networkManagement2/lib/models/loadBalancer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class LoadBalancer extends models['Resource'] {
* virtual machine scale sets. NICs that are associated with individual
* virtual machines cannot reference an inbound NAT pool. They have to
* reference individual inbound NAT rules.
* @member {array} [outboundNatRules] The outbound NAT rules.
* @member {array} [outboundRules] The outbound rules.
* @member {string} [resourceGuid] The resource GUID property of the load
* balancer resource.
* @member {string} [provisioningState] Gets the provisioning state of the
Expand Down Expand Up @@ -215,17 +215,17 @@ class LoadBalancer extends models['Resource'] {
}
}
},
outboundNatRules: {
outboundRules: {
required: false,
serializedName: 'properties.outboundNatRules',
serializedName: 'properties.outboundRules',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'OutboundNatRuleElementType',
serializedName: 'OutboundRuleElementType',
type: {
name: 'Composite',
className: 'OutboundNatRule'
className: 'OutboundRule'
}
}
}
Expand Down
Loading