@azure/arm-resourcemover 2.2.0-alpha.20250619.1 → 2.2.0-alpha.20250730.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/browser/lroImpl.js +7 -3
  2. package/dist/browser/lroImpl.js.map +1 -1
  3. package/dist/browser/models/mappers.js +134 -56
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/moveCollections.js +122 -121
  6. package/dist/browser/operations/moveCollections.js.map +1 -1
  7. package/dist/browser/operations/moveResources.js +45 -52
  8. package/dist/browser/operations/moveResources.js.map +1 -1
  9. package/dist/browser/operations/operationsDiscoveryOperations.js +1 -0
  10. package/dist/browser/operations/operationsDiscoveryOperations.js.map +1 -1
  11. package/dist/browser/operations/unresolvedDependencies.js +23 -40
  12. package/dist/browser/operations/unresolvedDependencies.js.map +1 -1
  13. package/dist/browser/pagingHelper.js +2 -4
  14. package/dist/browser/pagingHelper.js.map +1 -1
  15. package/dist/browser/resourceMoverServiceAPI.js +17 -5
  16. package/dist/browser/resourceMoverServiceAPI.js.map +1 -1
  17. package/dist/commonjs/lroImpl.js +7 -3
  18. package/dist/commonjs/lroImpl.js.map +1 -1
  19. package/dist/commonjs/models/mappers.js +134 -56
  20. package/dist/commonjs/models/mappers.js.map +1 -1
  21. package/dist/commonjs/operations/moveCollections.js +122 -120
  22. package/dist/commonjs/operations/moveCollections.js.map +1 -1
  23. package/dist/commonjs/operations/moveResources.js +45 -51
  24. package/dist/commonjs/operations/moveResources.js.map +1 -1
  25. package/dist/commonjs/operations/operationsDiscoveryOperations.js +1 -0
  26. package/dist/commonjs/operations/operationsDiscoveryOperations.js.map +1 -1
  27. package/dist/commonjs/operations/unresolvedDependencies.js +23 -39
  28. package/dist/commonjs/operations/unresolvedDependencies.js.map +1 -1
  29. package/dist/commonjs/pagingHelper.js +2 -4
  30. package/dist/commonjs/pagingHelper.js.map +1 -1
  31. package/dist/commonjs/resourceMoverServiceAPI.js +17 -5
  32. package/dist/commonjs/resourceMoverServiceAPI.js.map +1 -1
  33. package/dist/commonjs/tsdoc-metadata.json +11 -11
  34. package/dist/esm/lroImpl.js +7 -3
  35. package/dist/esm/lroImpl.js.map +1 -1
  36. package/dist/esm/models/mappers.js +134 -56
  37. package/dist/esm/models/mappers.js.map +1 -1
  38. package/dist/esm/operations/moveCollections.js +122 -121
  39. package/dist/esm/operations/moveCollections.js.map +1 -1
  40. package/dist/esm/operations/moveResources.js +45 -52
  41. package/dist/esm/operations/moveResources.js.map +1 -1
  42. package/dist/esm/operations/operationsDiscoveryOperations.js +1 -0
  43. package/dist/esm/operations/operationsDiscoveryOperations.js.map +1 -1
  44. package/dist/esm/operations/unresolvedDependencies.js +23 -40
  45. package/dist/esm/operations/unresolvedDependencies.js.map +1 -1
  46. package/dist/esm/pagingHelper.js +2 -4
  47. package/dist/esm/pagingHelper.js.map +1 -1
  48. package/dist/esm/resourceMoverServiceAPI.js +17 -5
  49. package/dist/esm/resourceMoverServiceAPI.js.map +1 -1
  50. package/dist/react-native/lroImpl.js +7 -3
  51. package/dist/react-native/lroImpl.js.map +1 -1
  52. package/dist/react-native/models/mappers.js +134 -56
  53. package/dist/react-native/models/mappers.js.map +1 -1
  54. package/dist/react-native/operations/moveCollections.js +122 -121
  55. package/dist/react-native/operations/moveCollections.js.map +1 -1
  56. package/dist/react-native/operations/moveResources.js +45 -52
  57. package/dist/react-native/operations/moveResources.js.map +1 -1
  58. package/dist/react-native/operations/operationsDiscoveryOperations.js +1 -0
  59. package/dist/react-native/operations/operationsDiscoveryOperations.js.map +1 -1
  60. package/dist/react-native/operations/unresolvedDependencies.js +23 -40
  61. package/dist/react-native/operations/unresolvedDependencies.js.map +1 -1
  62. package/dist/react-native/pagingHelper.js +2 -4
  63. package/dist/react-native/pagingHelper.js.map +1 -1
  64. package/dist/react-native/resourceMoverServiceAPI.js +17 -5
  65. package/dist/react-native/resourceMoverServiceAPI.js.map +1 -1
  66. package/package.json +2 -2
  67. /package/review/{arm-resourcemover.api.md → arm-resourcemover-node.api.md} +0 -0
@@ -1,4 +1,3 @@
1
- import { __rest } from "tslib";
2
1
  export function createLroSpec(inputs) {
3
2
  const { args, spec, sendOperationFn } = inputs;
4
3
  return {
@@ -6,8 +5,13 @@ export function createLroSpec(inputs) {
6
5
  requestPath: spec.path,
7
6
  sendInitialRequest: () => sendOperationFn(args, spec),
8
7
  sendPollRequest: (path, options) => {
9
- const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
10
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
8
+ const { requestBody, ...restSpec } = spec;
9
+ return sendOperationFn(args, {
10
+ ...restSpec,
11
+ httpMethod: "GET",
12
+ path,
13
+ abortSignal: options?.abortSignal
14
+ });
11
15
  }
12
16
  };
13
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"]}
@@ -1577,14 +1577,18 @@ export const MoveCollectionPropertiesErrors = {
1577
1577
  type: {
1578
1578
  name: "Composite",
1579
1579
  className: "MoveCollectionPropertiesErrors",
1580
- modelProperties: Object.assign({}, MoveResourceError.type.modelProperties)
1580
+ modelProperties: {
1581
+ ...MoveResourceError.type.modelProperties
1582
+ }
1581
1583
  }
1582
1584
  };
1583
1585
  export const MoveResourcePropertiesErrors = {
1584
1586
  type: {
1585
1587
  name: "Composite",
1586
1588
  className: "MoveResourcePropertiesErrors",
1587
- modelProperties: Object.assign({}, MoveResourceError.type.modelProperties)
1589
+ modelProperties: {
1590
+ ...MoveResourceError.type.modelProperties
1591
+ }
1588
1592
  }
1589
1593
  };
1590
1594
  export const VirtualMachineResourceSettings = {
@@ -1594,13 +1598,16 @@ export const VirtualMachineResourceSettings = {
1594
1598
  className: "VirtualMachineResourceSettings",
1595
1599
  uberParent: "ResourceSettings",
1596
1600
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1597
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1601
+ modelProperties: {
1602
+ ...ResourceSettings.type.modelProperties,
1603
+ tags: {
1598
1604
  serializedName: "tags",
1599
1605
  type: {
1600
1606
  name: "Dictionary",
1601
1607
  value: { type: { name: "String" } }
1602
1608
  }
1603
- }, userManagedIdentities: {
1609
+ },
1610
+ userManagedIdentities: {
1604
1611
  serializedName: "userManagedIdentities",
1605
1612
  type: {
1606
1613
  name: "Sequence",
@@ -1610,22 +1617,26 @@ export const VirtualMachineResourceSettings = {
1610
1617
  }
1611
1618
  }
1612
1619
  }
1613
- }, targetAvailabilityZone: {
1620
+ },
1621
+ targetAvailabilityZone: {
1614
1622
  serializedName: "targetAvailabilityZone",
1615
1623
  type: {
1616
1624
  name: "String"
1617
1625
  }
1618
- }, targetVmSize: {
1626
+ },
1627
+ targetVmSize: {
1619
1628
  serializedName: "targetVmSize",
1620
1629
  type: {
1621
1630
  name: "String"
1622
1631
  }
1623
- }, targetAvailabilitySetId: {
1632
+ },
1633
+ targetAvailabilitySetId: {
1624
1634
  serializedName: "targetAvailabilitySetId",
1625
1635
  type: {
1626
1636
  name: "String"
1627
1637
  }
1628
- } })
1638
+ }
1639
+ }
1629
1640
  }
1630
1641
  };
1631
1642
  export const AvailabilitySetResourceSettings = {
@@ -1635,13 +1646,16 @@ export const AvailabilitySetResourceSettings = {
1635
1646
  className: "AvailabilitySetResourceSettings",
1636
1647
  uberParent: "ResourceSettings",
1637
1648
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1638
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1649
+ modelProperties: {
1650
+ ...ResourceSettings.type.modelProperties,
1651
+ tags: {
1639
1652
  serializedName: "tags",
1640
1653
  type: {
1641
1654
  name: "Dictionary",
1642
1655
  value: { type: { name: "String" } }
1643
1656
  }
1644
- }, faultDomain: {
1657
+ },
1658
+ faultDomain: {
1645
1659
  constraints: {
1646
1660
  InclusiveMinimum: 1
1647
1661
  },
@@ -1650,7 +1664,8 @@ export const AvailabilitySetResourceSettings = {
1650
1664
  type: {
1651
1665
  name: "Number"
1652
1666
  }
1653
- }, updateDomain: {
1667
+ },
1668
+ updateDomain: {
1654
1669
  constraints: {
1655
1670
  InclusiveMaximum: 20,
1656
1671
  InclusiveMinimum: 1
@@ -1660,7 +1675,8 @@ export const AvailabilitySetResourceSettings = {
1660
1675
  type: {
1661
1676
  name: "Number"
1662
1677
  }
1663
- } })
1678
+ }
1679
+ }
1664
1680
  }
1665
1681
  };
1666
1682
  export const VirtualNetworkResourceSettings = {
@@ -1670,19 +1686,23 @@ export const VirtualNetworkResourceSettings = {
1670
1686
  className: "VirtualNetworkResourceSettings",
1671
1687
  uberParent: "ResourceSettings",
1672
1688
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1673
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1689
+ modelProperties: {
1690
+ ...ResourceSettings.type.modelProperties,
1691
+ tags: {
1674
1692
  serializedName: "tags",
1675
1693
  type: {
1676
1694
  name: "Dictionary",
1677
1695
  value: { type: { name: "String" } }
1678
1696
  }
1679
- }, enableDdosProtection: {
1697
+ },
1698
+ enableDdosProtection: {
1680
1699
  serializedName: "enableDdosProtection",
1681
1700
  nullable: true,
1682
1701
  type: {
1683
1702
  name: "Boolean"
1684
1703
  }
1685
- }, addressSpace: {
1704
+ },
1705
+ addressSpace: {
1686
1706
  serializedName: "addressSpace",
1687
1707
  type: {
1688
1708
  name: "Sequence",
@@ -1692,7 +1712,8 @@ export const VirtualNetworkResourceSettings = {
1692
1712
  }
1693
1713
  }
1694
1714
  }
1695
- }, dnsServers: {
1715
+ },
1716
+ dnsServers: {
1696
1717
  serializedName: "dnsServers",
1697
1718
  type: {
1698
1719
  name: "Sequence",
@@ -1702,7 +1723,8 @@ export const VirtualNetworkResourceSettings = {
1702
1723
  }
1703
1724
  }
1704
1725
  }
1705
- }, subnets: {
1726
+ },
1727
+ subnets: {
1706
1728
  serializedName: "subnets",
1707
1729
  type: {
1708
1730
  name: "Sequence",
@@ -1713,7 +1735,8 @@ export const VirtualNetworkResourceSettings = {
1713
1735
  }
1714
1736
  }
1715
1737
  }
1716
- } })
1738
+ }
1739
+ }
1717
1740
  }
1718
1741
  };
1719
1742
  export const NetworkInterfaceResourceSettings = {
@@ -1723,13 +1746,16 @@ export const NetworkInterfaceResourceSettings = {
1723
1746
  className: "NetworkInterfaceResourceSettings",
1724
1747
  uberParent: "ResourceSettings",
1725
1748
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1726
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1749
+ modelProperties: {
1750
+ ...ResourceSettings.type.modelProperties,
1751
+ tags: {
1727
1752
  serializedName: "tags",
1728
1753
  type: {
1729
1754
  name: "Dictionary",
1730
1755
  value: { type: { name: "String" } }
1731
1756
  }
1732
- }, ipConfigurations: {
1757
+ },
1758
+ ipConfigurations: {
1733
1759
  serializedName: "ipConfigurations",
1734
1760
  type: {
1735
1761
  name: "Sequence",
@@ -1740,13 +1766,15 @@ export const NetworkInterfaceResourceSettings = {
1740
1766
  }
1741
1767
  }
1742
1768
  }
1743
- }, enableAcceleratedNetworking: {
1769
+ },
1770
+ enableAcceleratedNetworking: {
1744
1771
  serializedName: "enableAcceleratedNetworking",
1745
1772
  nullable: true,
1746
1773
  type: {
1747
1774
  name: "Boolean"
1748
1775
  }
1749
- } })
1776
+ }
1777
+ }
1750
1778
  }
1751
1779
  };
1752
1780
  export const NetworkSecurityGroupResourceSettings = {
@@ -1756,13 +1784,16 @@ export const NetworkSecurityGroupResourceSettings = {
1756
1784
  className: "NetworkSecurityGroupResourceSettings",
1757
1785
  uberParent: "ResourceSettings",
1758
1786
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1759
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1787
+ modelProperties: {
1788
+ ...ResourceSettings.type.modelProperties,
1789
+ tags: {
1760
1790
  serializedName: "tags",
1761
1791
  type: {
1762
1792
  name: "Dictionary",
1763
1793
  value: { type: { name: "String" } }
1764
1794
  }
1765
- }, securityRules: {
1795
+ },
1796
+ securityRules: {
1766
1797
  serializedName: "securityRules",
1767
1798
  type: {
1768
1799
  name: "Sequence",
@@ -1773,7 +1804,8 @@ export const NetworkSecurityGroupResourceSettings = {
1773
1804
  }
1774
1805
  }
1775
1806
  }
1776
- } })
1807
+ }
1808
+ }
1777
1809
  }
1778
1810
  };
1779
1811
  export const LoadBalancerResourceSettings = {
@@ -1783,18 +1815,22 @@ export const LoadBalancerResourceSettings = {
1783
1815
  className: "LoadBalancerResourceSettings",
1784
1816
  uberParent: "ResourceSettings",
1785
1817
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1786
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1818
+ modelProperties: {
1819
+ ...ResourceSettings.type.modelProperties,
1820
+ tags: {
1787
1821
  serializedName: "tags",
1788
1822
  type: {
1789
1823
  name: "Dictionary",
1790
1824
  value: { type: { name: "String" } }
1791
1825
  }
1792
- }, sku: {
1826
+ },
1827
+ sku: {
1793
1828
  serializedName: "sku",
1794
1829
  type: {
1795
1830
  name: "String"
1796
1831
  }
1797
- }, frontendIPConfigurations: {
1832
+ },
1833
+ frontendIPConfigurations: {
1798
1834
  serializedName: "frontendIPConfigurations",
1799
1835
  type: {
1800
1836
  name: "Sequence",
@@ -1805,7 +1841,8 @@ export const LoadBalancerResourceSettings = {
1805
1841
  }
1806
1842
  }
1807
1843
  }
1808
- }, backendAddressPools: {
1844
+ },
1845
+ backendAddressPools: {
1809
1846
  serializedName: "backendAddressPools",
1810
1847
  type: {
1811
1848
  name: "Sequence",
@@ -1816,12 +1853,14 @@ export const LoadBalancerResourceSettings = {
1816
1853
  }
1817
1854
  }
1818
1855
  }
1819
- }, zones: {
1856
+ },
1857
+ zones: {
1820
1858
  serializedName: "zones",
1821
1859
  type: {
1822
1860
  name: "String"
1823
1861
  }
1824
- } })
1862
+ }
1863
+ }
1825
1864
  }
1826
1865
  };
1827
1866
  export const SqlServerResourceSettings = {
@@ -1831,7 +1870,9 @@ export const SqlServerResourceSettings = {
1831
1870
  className: "SqlServerResourceSettings",
1832
1871
  uberParent: "ResourceSettings",
1833
1872
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1834
- modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
1873
+ modelProperties: {
1874
+ ...ResourceSettings.type.modelProperties
1875
+ }
1835
1876
  }
1836
1877
  };
1837
1878
  export const SqlElasticPoolResourceSettings = {
@@ -1841,18 +1882,22 @@ export const SqlElasticPoolResourceSettings = {
1841
1882
  className: "SqlElasticPoolResourceSettings",
1842
1883
  uberParent: "ResourceSettings",
1843
1884
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1844
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1885
+ modelProperties: {
1886
+ ...ResourceSettings.type.modelProperties,
1887
+ tags: {
1845
1888
  serializedName: "tags",
1846
1889
  type: {
1847
1890
  name: "Dictionary",
1848
1891
  value: { type: { name: "String" } }
1849
1892
  }
1850
- }, zoneRedundant: {
1893
+ },
1894
+ zoneRedundant: {
1851
1895
  serializedName: "zoneRedundant",
1852
1896
  type: {
1853
1897
  name: "String"
1854
1898
  }
1855
- } })
1899
+ }
1900
+ }
1856
1901
  }
1857
1902
  };
1858
1903
  export const SqlDatabaseResourceSettings = {
@@ -1862,18 +1907,22 @@ export const SqlDatabaseResourceSettings = {
1862
1907
  className: "SqlDatabaseResourceSettings",
1863
1908
  uberParent: "ResourceSettings",
1864
1909
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1865
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1910
+ modelProperties: {
1911
+ ...ResourceSettings.type.modelProperties,
1912
+ tags: {
1866
1913
  serializedName: "tags",
1867
1914
  type: {
1868
1915
  name: "Dictionary",
1869
1916
  value: { type: { name: "String" } }
1870
1917
  }
1871
- }, zoneRedundant: {
1918
+ },
1919
+ zoneRedundant: {
1872
1920
  serializedName: "zoneRedundant",
1873
1921
  type: {
1874
1922
  name: "String"
1875
1923
  }
1876
- } })
1924
+ }
1925
+ }
1877
1926
  }
1878
1927
  };
1879
1928
  export const ResourceGroupResourceSettings = {
@@ -1883,7 +1932,9 @@ export const ResourceGroupResourceSettings = {
1883
1932
  className: "ResourceGroupResourceSettings",
1884
1933
  uberParent: "ResourceSettings",
1885
1934
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1886
- modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
1935
+ modelProperties: {
1936
+ ...ResourceSettings.type.modelProperties
1937
+ }
1887
1938
  }
1888
1939
  };
1889
1940
  export const PublicIPAddressResourceSettings = {
@@ -1893,38 +1944,46 @@ export const PublicIPAddressResourceSettings = {
1893
1944
  className: "PublicIPAddressResourceSettings",
1894
1945
  uberParent: "ResourceSettings",
1895
1946
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1896
- modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
1947
+ modelProperties: {
1948
+ ...ResourceSettings.type.modelProperties,
1949
+ tags: {
1897
1950
  serializedName: "tags",
1898
1951
  type: {
1899
1952
  name: "Dictionary",
1900
1953
  value: { type: { name: "String" } }
1901
1954
  }
1902
- }, domainNameLabel: {
1955
+ },
1956
+ domainNameLabel: {
1903
1957
  serializedName: "domainNameLabel",
1904
1958
  type: {
1905
1959
  name: "String"
1906
1960
  }
1907
- }, fqdn: {
1961
+ },
1962
+ fqdn: {
1908
1963
  serializedName: "fqdn",
1909
1964
  type: {
1910
1965
  name: "String"
1911
1966
  }
1912
- }, publicIpAllocationMethod: {
1967
+ },
1968
+ publicIpAllocationMethod: {
1913
1969
  serializedName: "publicIpAllocationMethod",
1914
1970
  type: {
1915
1971
  name: "String"
1916
1972
  }
1917
- }, sku: {
1973
+ },
1974
+ sku: {
1918
1975
  serializedName: "sku",
1919
1976
  type: {
1920
1977
  name: "String"
1921
1978
  }
1922
- }, zones: {
1979
+ },
1980
+ zones: {
1923
1981
  serializedName: "zones",
1924
1982
  type: {
1925
1983
  name: "String"
1926
1984
  }
1927
- } })
1985
+ }
1986
+ }
1928
1987
  }
1929
1988
  };
1930
1989
  export const KeyVaultResourceSettings = {
@@ -1934,7 +1993,9 @@ export const KeyVaultResourceSettings = {
1934
1993
  className: "KeyVaultResourceSettings",
1935
1994
  uberParent: "ResourceSettings",
1936
1995
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1937
- modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
1996
+ modelProperties: {
1997
+ ...ResourceSettings.type.modelProperties
1998
+ }
1938
1999
  }
1939
2000
  };
1940
2001
  export const DiskEncryptionSetResourceSettings = {
@@ -1944,61 +2005,78 @@ export const DiskEncryptionSetResourceSettings = {
1944
2005
  className: "DiskEncryptionSetResourceSettings",
1945
2006
  uberParent: "ResourceSettings",
1946
2007
  polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
1947
- modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
2008
+ modelProperties: {
2009
+ ...ResourceSettings.type.modelProperties
2010
+ }
1948
2011
  }
1949
2012
  };
1950
2013
  export const MoveResourcePropertiesMoveStatus = {
1951
2014
  type: {
1952
2015
  name: "Composite",
1953
2016
  className: "MoveResourcePropertiesMoveStatus",
1954
- modelProperties: Object.assign({}, MoveResourceStatus.type.modelProperties)
2017
+ modelProperties: {
2018
+ ...MoveResourceStatus.type.modelProperties
2019
+ }
1955
2020
  }
1956
2021
  };
1957
2022
  export const NsgReference = {
1958
2023
  type: {
1959
2024
  name: "Composite",
1960
2025
  className: "NsgReference",
1961
- modelProperties: Object.assign({}, AzureResourceReference.type.modelProperties)
2026
+ modelProperties: {
2027
+ ...AzureResourceReference.type.modelProperties
2028
+ }
1962
2029
  }
1963
2030
  };
1964
2031
  export const ProxyResourceReference = {
1965
2032
  type: {
1966
2033
  name: "Composite",
1967
2034
  className: "ProxyResourceReference",
1968
- modelProperties: Object.assign(Object.assign({}, AzureResourceReference.type.modelProperties), { name: {
2035
+ modelProperties: {
2036
+ ...AzureResourceReference.type.modelProperties,
2037
+ name: {
1969
2038
  serializedName: "name",
1970
2039
  type: {
1971
2040
  name: "String"
1972
2041
  }
1973
- } })
2042
+ }
2043
+ }
1974
2044
  }
1975
2045
  };
1976
2046
  export const PublicIpReference = {
1977
2047
  type: {
1978
2048
  name: "Composite",
1979
2049
  className: "PublicIpReference",
1980
- modelProperties: Object.assign({}, AzureResourceReference.type.modelProperties)
2050
+ modelProperties: {
2051
+ ...AzureResourceReference.type.modelProperties
2052
+ }
1981
2053
  }
1982
2054
  };
1983
2055
  export const SubnetReference = {
1984
2056
  type: {
1985
2057
  name: "Composite",
1986
2058
  className: "SubnetReference",
1987
- modelProperties: Object.assign({}, ProxyResourceReference.type.modelProperties)
2059
+ modelProperties: {
2060
+ ...ProxyResourceReference.type.modelProperties
2061
+ }
1988
2062
  }
1989
2063
  };
1990
2064
  export const LoadBalancerBackendAddressPoolReference = {
1991
2065
  type: {
1992
2066
  name: "Composite",
1993
2067
  className: "LoadBalancerBackendAddressPoolReference",
1994
- modelProperties: Object.assign({}, ProxyResourceReference.type.modelProperties)
2068
+ modelProperties: {
2069
+ ...ProxyResourceReference.type.modelProperties
2070
+ }
1995
2071
  }
1996
2072
  };
1997
2073
  export const LoadBalancerNatRuleReference = {
1998
2074
  type: {
1999
2075
  name: "Composite",
2000
2076
  className: "LoadBalancerNatRuleReference",
2001
- modelProperties: Object.assign({}, ProxyResourceReference.type.modelProperties)
2077
+ modelProperties: {
2078
+ ...ProxyResourceReference.type.modelProperties
2079
+ }
2002
2080
  }
2003
2081
  };
2004
2082
  export let discriminators = {