From b2ca04db187aca8559d8f4e5beb4880f1df672d8 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 1 Oct 2020 18:13:18 +0000 Subject: [PATCH] Generated from af838c6ac7a77b93d1dd233b02ddf0b07df5c838 --- sdk/network/arm-network/src/models/index.ts | 8 ++++---- sdk/network/arm-network/src/models/mappers.ts | 15 ++++++--------- .../arm-network/src/operations/natGateways.ts | 4 +--- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 69193e63ed28..3d98a20aa5b9 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -11618,12 +11618,12 @@ export interface HubRouteTable extends SubResource { * List of all connections associated with this route table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly associatedConnections?: SubResource[]; + readonly associatedConnections?: string[]; /** * List of all connections that advertise to this route table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly propagatingConnections?: SubResource[]; + readonly propagatingConnections?: string[]; /** * The provisioning state of the RouteTable resource. Possible values include: 'Succeeded', * 'Updating', 'Deleting', 'Failed' @@ -12169,7 +12169,7 @@ export interface VirtualHubEffectiveRoute { /** * EffectiveRoutes List. */ -export interface VirtualHubEffectiveRouteEffectiveRouteList { +export interface VirtualHubEffectiveRouteList { /** * The list of effective routes configured on the virtual hub or the specified resource. */ @@ -12183,7 +12183,7 @@ export interface EffectiveRoutesParameters { /** * The resource whose effective routes are being requested. */ - resourceId?: Resource; + resourceId?: string; /** * The type of the specified resource like RouteTable, ExpressRouteConnection, * HubVirtualNetworkConnection, VpnConnection and P2SConnection. diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 289160c16a23..70c110fdac84 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -19656,8 +19656,7 @@ export const HubRouteTable: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Composite", - className: "SubResource" + name: "String" } } } @@ -19669,8 +19668,7 @@ export const HubRouteTable: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "Composite", - className: "SubResource" + name: "String" } } } @@ -20615,11 +20613,11 @@ export const VirtualHubEffectiveRoute: msRest.CompositeMapper = { } }; -export const VirtualHubEffectiveRouteEffectiveRouteList: msRest.CompositeMapper = { - serializedName: "VirtualHubEffectiveRouteEffectiveRouteList", +export const VirtualHubEffectiveRouteList: msRest.CompositeMapper = { + serializedName: "VirtualHubEffectiveRouteList", type: { name: "Composite", - className: "VirtualHubEffectiveRouteEffectiveRouteList", + className: "VirtualHubEffectiveRouteList", modelProperties: { value: { serializedName: "value", @@ -20646,8 +20644,7 @@ export const EffectiveRoutesParameters: msRest.CompositeMapper = { resourceId: { serializedName: "resourceId", type: { - name: "Composite", - className: "Resource" + name: "String" } }, virtualWanResourceType: { diff --git a/sdk/network/arm-network/src/operations/natGateways.ts b/sdk/network/arm-network/src/operations/natGateways.ts index a0c43b685f99..58992edc1dee 100644 --- a/sdk/network/arm-network/src/operations/natGateways.ts +++ b/sdk/network/arm-network/src/operations/natGateways.ts @@ -427,9 +427,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 201: { bodyMapper: Mappers.NatGateway }, - 202: { - bodyMapper: Mappers.NatGateway - }, + 202: {}, default: { bodyMapper: Mappers.CloudError }