@pulumi/linode 4.4.1 → 4.4.2

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.
package/types/output.d.ts CHANGED
@@ -400,6 +400,7 @@ export interface GetImagesFilter {
400
400
  values: string[];
401
401
  }
402
402
  export interface GetImagesImage {
403
+ capabilities: string[];
403
404
  /**
404
405
  * When this Image was created.
405
406
  */
@@ -958,6 +959,7 @@ export interface GetInstancesInstance {
958
959
  * The display group of the Linode instance.
959
960
  */
960
961
  group: string;
962
+ hasUserData: boolean;
961
963
  hostUuid: string;
962
964
  /**
963
965
  * The ID of the disk in the Linode API.
@@ -1522,62 +1524,407 @@ export interface GetStackScriptsStackscriptUserDefinedField {
1522
1524
  oneOf: string;
1523
1525
  }
1524
1526
  export interface GetUserDatabaseGrant {
1527
+ /**
1528
+ * The ID of entity this grant applies to.
1529
+ */
1525
1530
  id: number;
1531
+ /**
1532
+ * The current label of the entity this grant applies to, for display purposes.
1533
+ */
1526
1534
  label: string;
1535
+ /**
1536
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1537
+ */
1527
1538
  permissions: string;
1528
1539
  }
1529
1540
  export interface GetUserDomainGrant {
1541
+ /**
1542
+ * The ID of entity this grant applies to.
1543
+ */
1530
1544
  id: number;
1545
+ /**
1546
+ * The current label of the entity this grant applies to, for display purposes.
1547
+ */
1531
1548
  label: string;
1549
+ /**
1550
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1551
+ */
1532
1552
  permissions: string;
1533
1553
  }
1534
1554
  export interface GetUserFirewallGrant {
1555
+ /**
1556
+ * The ID of entity this grant applies to.
1557
+ */
1535
1558
  id: number;
1559
+ /**
1560
+ * The current label of the entity this grant applies to, for display purposes.
1561
+ */
1536
1562
  label: string;
1563
+ /**
1564
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1565
+ */
1537
1566
  permissions: string;
1538
1567
  }
1539
1568
  export interface GetUserGlobalGrant {
1569
+ /**
1570
+ * The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users. (`readOnly`, `readWrite`)
1571
+ */
1540
1572
  accountAccess: string;
1573
+ /**
1574
+ * If true, this User may add Managed Databases.
1575
+ */
1541
1576
  addDatabases: boolean;
1577
+ /**
1578
+ * If true, this User may add Domains.
1579
+ */
1542
1580
  addDomains: boolean;
1581
+ /**
1582
+ * If true, this User may add Firewalls.
1583
+ */
1543
1584
  addFirewalls: boolean;
1585
+ /**
1586
+ * If true, this User may add Images.
1587
+ */
1544
1588
  addImages: boolean;
1589
+ /**
1590
+ * If true, this User may create Linodes.
1591
+ */
1545
1592
  addLinodes: boolean;
1593
+ /**
1594
+ * If true, this User may create Longview clients and view the current plan.
1595
+ */
1546
1596
  addLongview: boolean;
1597
+ /**
1598
+ * If true, this User may add NodeBalancers.
1599
+ */
1547
1600
  addNodebalancers: boolean;
1548
1601
  addStackscripts: boolean;
1602
+ /**
1603
+ * If true, this User may add Volumes.
1604
+ */
1549
1605
  addVolumes: boolean;
1606
+ /**
1607
+ * If true, this User may cancel the entire Account.
1608
+ */
1550
1609
  cancelAccount: boolean;
1610
+ /**
1611
+ * If true, this User may manage the Account’s Longview subscription.
1612
+ */
1551
1613
  longviewSubscription: boolean;
1552
1614
  }
1553
1615
  export interface GetUserImageGrant {
1616
+ /**
1617
+ * The ID of entity this grant applies to.
1618
+ */
1554
1619
  id: number;
1620
+ /**
1621
+ * The current label of the entity this grant applies to, for display purposes.
1622
+ */
1555
1623
  label: string;
1624
+ /**
1625
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1626
+ */
1556
1627
  permissions: string;
1557
1628
  }
1558
1629
  export interface GetUserLinodeGrant {
1630
+ /**
1631
+ * The ID of entity this grant applies to.
1632
+ */
1559
1633
  id: number;
1634
+ /**
1635
+ * The current label of the entity this grant applies to, for display purposes.
1636
+ */
1560
1637
  label: string;
1638
+ /**
1639
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1640
+ */
1561
1641
  permissions: string;
1562
1642
  }
1563
1643
  export interface GetUserLongviewGrant {
1644
+ /**
1645
+ * The ID of entity this grant applies to.
1646
+ */
1564
1647
  id: number;
1648
+ /**
1649
+ * The current label of the entity this grant applies to, for display purposes.
1650
+ */
1565
1651
  label: string;
1652
+ /**
1653
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1654
+ */
1566
1655
  permissions: string;
1567
1656
  }
1568
1657
  export interface GetUserNodebalancerGrant {
1658
+ /**
1659
+ * The ID of entity this grant applies to.
1660
+ */
1569
1661
  id: number;
1662
+ /**
1663
+ * The current label of the entity this grant applies to, for display purposes.
1664
+ */
1570
1665
  label: string;
1666
+ /**
1667
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1668
+ */
1571
1669
  permissions: string;
1572
1670
  }
1573
1671
  export interface GetUserStackscriptGrant {
1672
+ /**
1673
+ * The ID of entity this grant applies to.
1674
+ */
1574
1675
  id: number;
1676
+ /**
1677
+ * The current label of the entity this grant applies to, for display purposes.
1678
+ */
1575
1679
  label: string;
1680
+ /**
1681
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1682
+ */
1576
1683
  permissions: string;
1577
1684
  }
1578
1685
  export interface GetUserVolumeGrant {
1686
+ /**
1687
+ * The ID of entity this grant applies to.
1688
+ */
1689
+ id: number;
1690
+ /**
1691
+ * The current label of the entity this grant applies to, for display purposes.
1692
+ */
1693
+ label: string;
1694
+ /**
1695
+ * The level of access this User has to this entity. If null, this User has no access. (`readOnly`, `readWrite`)
1696
+ */
1697
+ permissions: string;
1698
+ }
1699
+ export interface GetUsersFilter {
1700
+ /**
1701
+ * The method to match the field by. (`exact`, `regex`, `substring`; default `exact`)
1702
+ */
1703
+ matchBy?: string;
1704
+ /**
1705
+ * The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
1706
+ */
1707
+ name: string;
1708
+ /**
1709
+ * A list of values for the filter to allow. These values should all be in string form.
1710
+ */
1711
+ values: string[];
1712
+ }
1713
+ export interface GetUsersUser {
1714
+ databaseGrants: outputs.GetUsersUserDatabaseGrant[];
1715
+ domainGrants: outputs.GetUsersUserDomainGrant[];
1716
+ /**
1717
+ * The email address for this User, for account management communications, and may be used for other communications as configured.
1718
+ */
1719
+ email: string;
1720
+ firewallGrants: outputs.GetUsersUserFirewallGrant[];
1721
+ globalGrants: outputs.GetUsersUserGlobalGrant[];
1722
+ /**
1723
+ * The ID of entity this grant applies to.
1724
+ */
1725
+ id: string;
1726
+ imageGrants: outputs.GetUsersUserImageGrant[];
1727
+ linodeGrants: outputs.GetUsersUserLinodeGrant[];
1728
+ longviewGrants: outputs.GetUsersUserLongviewGrant[];
1729
+ nodebalancerGrants: outputs.GetUsersUserNodebalancerGrant[];
1730
+ /**
1731
+ * The date and time when this User’s current password was created. User passwords are first created during the Account sign-up process, and updated using the Reset Password webpage. null if this User has not created a password yet.
1732
+ */
1733
+ passwordCreated: string;
1734
+ /**
1735
+ * If true, this User must be granted access to perform actions or access entities on this Account.
1736
+ */
1737
+ restricted: boolean;
1738
+ /**
1739
+ * A list of SSH Key labels added by this User. These are the keys that will be deployed if this User is included in the authorizedUsers field of a create Linode, rebuild Linode, or create Disk request.
1740
+ */
1741
+ sshKeys: string[];
1742
+ stackscriptGrants: outputs.GetUsersUserStackscriptGrant[];
1743
+ /**
1744
+ * A boolean value indicating if the User has Two Factor Authentication (TFA) enabled.
1745
+ */
1746
+ tfaEnabled: boolean;
1747
+ /**
1748
+ * This User's username. This is used for logging in, and may also be displayed alongside actions the User performs (for example, in Events or public StackScripts).
1749
+ */
1750
+ username: string;
1751
+ /**
1752
+ * The phone number verified for this User Profile with the Phone Number Verify command. null if this User Profile has no verified phone number.
1753
+ */
1754
+ verifiedPhoneNumber: string;
1755
+ volumeGrants: outputs.GetUsersUserVolumeGrant[];
1756
+ }
1757
+ export interface GetUsersUserDatabaseGrant {
1758
+ /**
1759
+ * The ID of entity this grant applies to.
1760
+ */
1761
+ id: number;
1762
+ /**
1763
+ * The current label of the entity this grant applies to, for display purposes.
1764
+ */
1765
+ label: string;
1766
+ /**
1767
+ * The level of access this User has to this entity. If null, this User has no access.
1768
+ */
1769
+ permissions: string;
1770
+ }
1771
+ export interface GetUsersUserDomainGrant {
1772
+ /**
1773
+ * The ID of entity this grant applies to.
1774
+ */
1775
+ id: number;
1776
+ /**
1777
+ * The current label of the entity this grant applies to, for display purposes.
1778
+ */
1779
+ label: string;
1780
+ /**
1781
+ * The level of access this User has to this entity. If null, this User has no access.
1782
+ */
1783
+ permissions: string;
1784
+ }
1785
+ export interface GetUsersUserFirewallGrant {
1786
+ /**
1787
+ * The ID of entity this grant applies to.
1788
+ */
1789
+ id: number;
1790
+ /**
1791
+ * The current label of the entity this grant applies to, for display purposes.
1792
+ */
1793
+ label: string;
1794
+ /**
1795
+ * The level of access this User has to this entity. If null, this User has no access.
1796
+ */
1797
+ permissions: string;
1798
+ }
1799
+ export interface GetUsersUserGlobalGrant {
1800
+ /**
1801
+ * The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users. (`readOnly`, `readWrite`)
1802
+ */
1803
+ accountAccess: string;
1804
+ /**
1805
+ * If true, this User may add Managed Databases.
1806
+ */
1807
+ addDatabases: boolean;
1808
+ /**
1809
+ * If true, this User may add Domains.
1810
+ */
1811
+ addDomains: boolean;
1812
+ /**
1813
+ * If true, this User may add Firewalls.
1814
+ */
1815
+ addFirewalls: boolean;
1816
+ /**
1817
+ * If true, this User may add Images.
1818
+ */
1819
+ addImages: boolean;
1820
+ /**
1821
+ * If true, this User may create Linodes.
1822
+ */
1823
+ addLinodes: boolean;
1824
+ /**
1825
+ * If true, this User may create Longview clients and view the current plan.
1826
+ */
1827
+ addLongview: boolean;
1828
+ /**
1829
+ * If true, this User may add NodeBalancers.
1830
+ */
1831
+ addNodebalancers: boolean;
1832
+ addStackscripts: boolean;
1833
+ /**
1834
+ * If true, this User may add Volumes.
1835
+ */
1836
+ addVolumes: boolean;
1837
+ /**
1838
+ * If true, this User may cancel the entire Account.
1839
+ */
1840
+ cancelAccount: boolean;
1841
+ /**
1842
+ * If true, this User may manage the Account’s Longview subscription.
1843
+ */
1844
+ longviewSubscription: boolean;
1845
+ }
1846
+ export interface GetUsersUserImageGrant {
1847
+ /**
1848
+ * The ID of entity this grant applies to.
1849
+ */
1850
+ id: number;
1851
+ /**
1852
+ * The current label of the entity this grant applies to, for display purposes.
1853
+ */
1854
+ label: string;
1855
+ /**
1856
+ * The level of access this User has to this entity. If null, this User has no access.
1857
+ */
1858
+ permissions: string;
1859
+ }
1860
+ export interface GetUsersUserLinodeGrant {
1861
+ /**
1862
+ * The ID of entity this grant applies to.
1863
+ */
1864
+ id: number;
1865
+ /**
1866
+ * The current label of the entity this grant applies to, for display purposes.
1867
+ */
1868
+ label: string;
1869
+ /**
1870
+ * The level of access this User has to this entity. If null, this User has no access.
1871
+ */
1872
+ permissions: string;
1873
+ }
1874
+ export interface GetUsersUserLongviewGrant {
1875
+ /**
1876
+ * The ID of entity this grant applies to.
1877
+ */
1579
1878
  id: number;
1879
+ /**
1880
+ * The current label of the entity this grant applies to, for display purposes.
1881
+ */
1580
1882
  label: string;
1883
+ /**
1884
+ * The level of access this User has to this entity. If null, this User has no access.
1885
+ */
1886
+ permissions: string;
1887
+ }
1888
+ export interface GetUsersUserNodebalancerGrant {
1889
+ /**
1890
+ * The ID of entity this grant applies to.
1891
+ */
1892
+ id: number;
1893
+ /**
1894
+ * The current label of the entity this grant applies to, for display purposes.
1895
+ */
1896
+ label: string;
1897
+ /**
1898
+ * The level of access this User has to this entity. If null, this User has no access.
1899
+ */
1900
+ permissions: string;
1901
+ }
1902
+ export interface GetUsersUserStackscriptGrant {
1903
+ /**
1904
+ * The ID of entity this grant applies to.
1905
+ */
1906
+ id: number;
1907
+ /**
1908
+ * The current label of the entity this grant applies to, for display purposes.
1909
+ */
1910
+ label: string;
1911
+ /**
1912
+ * The level of access this User has to this entity. If null, this User has no access.
1913
+ */
1914
+ permissions: string;
1915
+ }
1916
+ export interface GetUsersUserVolumeGrant {
1917
+ /**
1918
+ * The ID of entity this grant applies to.
1919
+ */
1920
+ id: number;
1921
+ /**
1922
+ * The current label of the entity this grant applies to, for display purposes.
1923
+ */
1924
+ label: string;
1925
+ /**
1926
+ * The level of access this User has to this entity. If null, this User has no access.
1927
+ */
1581
1928
  permissions: string;
1582
1929
  }
1583
1930
  export interface GetVlansFilter {
@@ -1898,6 +2245,9 @@ export interface InstanceInterface {
1898
2245
  */
1899
2246
  purpose?: string;
1900
2247
  }
2248
+ export interface InstanceMetadata {
2249
+ userData?: string;
2250
+ }
1901
2251
  export interface InstanceSpecs {
1902
2252
  disk: number;
1903
2253
  memory: number;