Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-network] {VirtualWan} {HubRouteTables} : Fix parameter type #2020

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
8 changes: 4 additions & 4 deletions sdk/network/arm-network/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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.
*/
Expand All @@ -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.
Expand Down
15 changes: 6 additions & 9 deletions sdk/network/arm-network/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19656,8 +19656,7 @@ export const HubRouteTable: msRest.CompositeMapper = {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "SubResource"
name: "String"
}
}
}
Expand All @@ -19669,8 +19668,7 @@ export const HubRouteTable: msRest.CompositeMapper = {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "SubResource"
name: "String"
}
}
}
Expand Down Expand Up @@ -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",
Expand All @@ -20646,8 +20644,7 @@ export const EffectiveRoutesParameters: msRest.CompositeMapper = {
resourceId: {
serializedName: "resourceId",
type: {
name: "Composite",
className: "Resource"
name: "String"
}
},
virtualWanResourceType: {
Expand Down
4 changes: 1 addition & 3 deletions sdk/network/arm-network/src/operations/natGateways.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
201: {
bodyMapper: Mappers.NatGateway
},
202: {
bodyMapper: Mappers.NatGateway
},
202: {},
default: {
bodyMapper: Mappers.CloudError
}
Expand Down