diff --git a/CHANGELOG.md b/CHANGELOG.md index c6ea836f..e4347bd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ CHANGELOG ========= ## HEAD (Unreleased) -* Upgrade to pulumi-terraform-bridge v2.7.0 +* Upgrade to pulumi-terraform-bridge v2.7.3 * Upgrade to Pulumi v2.9.0, which adds type annotations and input/output classes to Python --- diff --git a/provider/go.mod b/provider/go.mod index cd618766..ad543d4b 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,8 +4,8 @@ go 1.14 require ( github.com/hashicorp/terraform-plugin-sdk v1.7.0 - github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.2 - github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200821035132-629254334213 + github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.3 + github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200825190708-910aa96016cd github.com/terraform-providers/terraform-provider-digitalocean v1.19.0 ) diff --git a/provider/go.sum b/provider/go.sum index b68f10ed..30ccb0e5 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -831,6 +831,8 @@ github.com/pulumi/pulumi-terraform-bridge/v2 v2.5.2 h1:2fZdQQ1uO1D7J1O8D5ytsaPwz github.com/pulumi/pulumi-terraform-bridge/v2 v2.5.2/go.mod h1:lxWrXLYAMbse0AJeY570Iy2KYI3uUwNg6JOUZ6U7M+Q= github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.2 h1:ZgBUEz1zPN1p8el+YDXoRlOPSPcBz8ytfZH6Ncj/PN4= github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.2/go.mod h1:UvbLRW8+YFluKwRZjzP3coPYWQPPYh/q9e2NN2GPbxg= +github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.3 h1:XZxl0fsf9vO45FM+tKPYE9f30fM+q2s6lHsEzkdnBNs= +github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.3/go.mod h1:TW+CNCZHzlH42y0vmRA9gOzeTFh3Cp7MN9DoGcRDLvo= github.com/pulumi/pulumi/pkg/v2 v2.0.0/go.mod h1:kNG9MBTdKP9AzMgkETumR3fmX9gUYB+HpQL767K6jXc= github.com/pulumi/pulumi/pkg/v2 v2.2.2-0.20200519081838-f66100ce28b0/go.mod h1:GV88eCIrqfFcBWd5QUdN3qMsR0h+x+iRIBnBhhvB78A= github.com/pulumi/pulumi/pkg/v2 v2.3.1-0.20200607162109-9754465b04db h1:5HrO1GNA53QEp+yN1UCX7BUsJD2I5/k1u2KLO4hOxOA= @@ -840,6 +842,8 @@ github.com/pulumi/pulumi/pkg/v2 v2.5.1-0.20200630091945-bb358c4d2173 h1:7nc8B91a github.com/pulumi/pulumi/pkg/v2 v2.5.1-0.20200630091945-bb358c4d2173/go.mod h1:zfUm4/GH2dVRlHZ3Yeb9bRweCQM7icVBdplu6MUDRrQ= github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200821035132-629254334213 h1:c8UQ842Zg6XzX4sPeGhBo8hiGFzoU23vaMmxk64V8eU= github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200821035132-629254334213/go.mod h1:Yq1q3nwy/KeU08DyyX0QsMyc6SqPs0jGJb8ev5f45AU= +github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200825190708-910aa96016cd h1:e4nK2jqLm6g7qMW0BInHR3ZM55y1NblvgOlkfNGT2F4= +github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200825190708-910aa96016cd/go.mod h1:Yq1q3nwy/KeU08DyyX0QsMyc6SqPs0jGJb8ev5f45AU= github.com/pulumi/pulumi/sdk/v2 v2.0.0 h1:3VMXbEo3bqeaU+YDt8ufVBLD0WhLYE3tG3t/nIZ3Iac= github.com/pulumi/pulumi/sdk/v2 v2.0.0/go.mod h1:W7k1UDYerc5o97mHnlHHp5iQZKEby+oQrQefWt+2RF4= github.com/pulumi/pulumi/sdk/v2 v2.2.2-0.20200519081838-f66100ce28b0/go.mod h1:QNbWpL4gvf3X0lUFT7TXA2Jo1ff/Ti2l97AyFGYwvW4= @@ -851,6 +855,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.5.1-0.20200630091945-bb358c4d2173 h1:tKAYUvIW github.com/pulumi/pulumi/sdk/v2 v2.5.1-0.20200630091945-bb358c4d2173/go.mod h1:llk6tmXss8kJrt3vEXAkwiwgZOuINEFmKIfMveVIwO8= github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200821035132-629254334213 h1:h4hBtS6/S0a1deLtJuUuYAIZGOCIJY9OVSdmC4VRk+M= github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200821035132-629254334213/go.mod h1:x84WPiFiuE+G4kJ5jUYkOxmnQJlWoJaHNeEYdqnCKA4= +github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200825190708-910aa96016cd h1:m5jEWpbr/Q94vCqA/7fw5US7cHZLeQiMQXrnSblZzdU= +github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200825190708-910aa96016cd/go.mod h1:x84WPiFiuE+G4kJ5jUYkOxmnQJlWoJaHNeEYdqnCKA4= github.com/pulumi/terraform-provider-digitalocean v1.19.1-0.20200616132413-016bf6859393 h1:dOaePp2GQPxMhe+1nokbs5VDgrYPP5S2jACrD6ecXYM= github.com/pulumi/terraform-provider-digitalocean v1.19.1-0.20200616132413-016bf6859393/go.mod h1:fmkoHCZCH38dQOOHhKGDgYZBvq1NfFWKV98XAmakYIM= github.com/pulumi/tf2pulumi v0.8.1-0.20200519092335-cb56a4dfa88d h1:1JtzB9Gx0YX2UgKKkqJwTgBXxfg2cbLUEqTJKwKBK7s= diff --git a/sdk/python/pulumi_digitalocean/cdn.py b/sdk/python/pulumi_digitalocean/cdn.py index 10e73cb2..4f09446a 100644 --- a/sdk/python/pulumi_digitalocean/cdn.py +++ b/sdk/python/pulumi_digitalocean/cdn.py @@ -13,7 +13,7 @@ class Cdn(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, certificate_id: Optional[pulumi.Input[str]] = None, custom_domain: Optional[pulumi.Input[str]] = None, @@ -137,7 +137,7 @@ def get(resource_name: str, @property @pulumi.getter(name="certificateId") - def certificate_id(self) -> Optional[str]: + def certificate_id(self) -> pulumi.Output[Optional[str]]: """ The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided. """ @@ -145,7 +145,7 @@ def certificate_id(self) -> Optional[str]: @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ The date and time when the CDN Endpoint was created. """ @@ -153,7 +153,7 @@ def created_at(self) -> str: @property @pulumi.getter(name="customDomain") - def custom_domain(self) -> Optional[str]: + def custom_domain(self) -> pulumi.Output[Optional[str]]: """ The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint. """ @@ -161,7 +161,7 @@ def custom_domain(self) -> Optional[str]: @property @pulumi.getter - def endpoint(self) -> str: + def endpoint(self) -> pulumi.Output[str]: """ The fully qualified domain name (FQDN) from which the CDN-backed content is served. """ @@ -169,7 +169,7 @@ def endpoint(self) -> str: @property @pulumi.getter - def origin(self) -> str: + def origin(self) -> pulumi.Output[str]: """ The fully qualified domain name, (FQDN) for a Space. """ @@ -177,7 +177,7 @@ def origin(self) -> str: @property @pulumi.getter - def ttl(self) -> float: + def ttl(self) -> pulumi.Output[float]: """ The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds. """ diff --git a/sdk/python/pulumi_digitalocean/certificate.py b/sdk/python/pulumi_digitalocean/certificate.py index 641fa1fb..8f676c4c 100644 --- a/sdk/python/pulumi_digitalocean/certificate.py +++ b/sdk/python/pulumi_digitalocean/certificate.py @@ -13,7 +13,7 @@ class Certificate(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, certificate_chain: Optional[pulumi.Input[str]] = None, domains: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, @@ -181,7 +181,7 @@ def get(resource_name: str, @property @pulumi.getter(name="certificateChain") - def certificate_chain(self) -> Optional[str]: + def certificate_chain(self) -> pulumi.Output[Optional[str]]: """ The full PEM-formatted trust chain between the certificate authority's certificate and your domain's TLS @@ -191,7 +191,7 @@ def certificate_chain(self) -> Optional[str]: @property @pulumi.getter - def domains(self) -> Optional[List[str]]: + def domains(self) -> pulumi.Output[Optional[List[str]]]: """ List of fully qualified domain names (FQDNs) for which the certificate will be issued. The domains must be managed using @@ -201,7 +201,7 @@ def domains(self) -> Optional[List[str]]: @property @pulumi.getter(name="leafCertificate") - def leaf_certificate(self) -> Optional[str]: + def leaf_certificate(self) -> pulumi.Output[Optional[str]]: """ The contents of a PEM-formatted public TLS certificate. Only valid when type is `custom`. @@ -210,7 +210,7 @@ def leaf_certificate(self) -> Optional[str]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the certificate for identification. """ @@ -218,7 +218,7 @@ def name(self) -> str: @property @pulumi.getter(name="notAfter") - def not_after(self) -> str: + def not_after(self) -> pulumi.Output[str]: """ The expiration date of the certificate """ @@ -226,7 +226,7 @@ def not_after(self) -> str: @property @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[str]: + def private_key(self) -> pulumi.Output[Optional[str]]: """ The contents of a PEM-formatted private-key corresponding to the SSL certificate. Only valid when type is `custom`. @@ -235,7 +235,7 @@ def private_key(self) -> Optional[str]: @property @pulumi.getter(name="sha1Fingerprint") - def sha1_fingerprint(self) -> str: + def sha1_fingerprint(self) -> pulumi.Output[str]: """ The SHA-1 fingerprint of the certificate """ @@ -243,12 +243,12 @@ def sha1_fingerprint(self) -> str: @property @pulumi.getter - def state(self) -> str: + def state(self) -> pulumi.Output[str]: return pulumi.get(self, "state") @property @pulumi.getter - def type(self) -> Optional[str]: + def type(self) -> pulumi.Output[Optional[str]]: """ The type of certificate to provision. Can be either `custom` or `lets_encrypt`. Defaults to `custom`. diff --git a/sdk/python/pulumi_digitalocean/container_registry.py b/sdk/python/pulumi_digitalocean/container_registry.py index 2e92e32b..8f17eddc 100644 --- a/sdk/python/pulumi_digitalocean/container_registry.py +++ b/sdk/python/pulumi_digitalocean/container_registry.py @@ -13,7 +13,7 @@ class ContainerRegistry(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, __props__=None, @@ -90,12 +90,12 @@ def get(resource_name: str, @property @pulumi.getter - def endpoint(self) -> str: + def endpoint(self) -> pulumi.Output[str]: return pulumi.get(self, "endpoint") @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the container_registry """ @@ -103,7 +103,7 @@ def name(self) -> str: @property @pulumi.getter(name="serverUrl") - def server_url(self) -> str: + def server_url(self) -> pulumi.Output[str]: return pulumi.get(self, "server_url") def translate_output_property(self, prop): diff --git a/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py b/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py index be480deb..7dbdddf2 100644 --- a/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py +++ b/sdk/python/pulumi_digitalocean/container_registry_docker_credentials.py @@ -13,7 +13,7 @@ class ContainerRegistryDockerCredentials(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, expiry_seconds: Optional[pulumi.Input[float]] = None, registry_name: Optional[pulumi.Input[str]] = None, @@ -118,17 +118,17 @@ def get(resource_name: str, @property @pulumi.getter(name="credentialExpirationTime") - def credential_expiration_time(self) -> str: + def credential_expiration_time(self) -> pulumi.Output[str]: return pulumi.get(self, "credential_expiration_time") @property @pulumi.getter(name="dockerCredentials") - def docker_credentials(self) -> str: + def docker_credentials(self) -> pulumi.Output[str]: return pulumi.get(self, "docker_credentials") @property @pulumi.getter(name="expirySeconds") - def expiry_seconds(self) -> Optional[float]: + def expiry_seconds(self) -> pulumi.Output[Optional[float]]: """ The amount of time to pass before the Docker credentials expire in seconds. Defaults to 2147483647, or roughly 68 years. Must be greater than 0 and less than 2147483647. """ @@ -136,7 +136,7 @@ def expiry_seconds(self) -> Optional[float]: @property @pulumi.getter(name="registryName") - def registry_name(self) -> str: + def registry_name(self) -> pulumi.Output[str]: """ The name of the container registry. """ @@ -144,7 +144,7 @@ def registry_name(self) -> str: @property @pulumi.getter - def write(self) -> Optional[bool]: + def write(self) -> pulumi.Output[Optional[bool]]: """ Allow for write access to the container registry. Defaults to false. """ diff --git a/sdk/python/pulumi_digitalocean/database_cluster.py b/sdk/python/pulumi_digitalocean/database_cluster.py index 57a190b1..a4ae0172 100644 --- a/sdk/python/pulumi_digitalocean/database_cluster.py +++ b/sdk/python/pulumi_digitalocean/database_cluster.py @@ -15,7 +15,7 @@ class DatabaseCluster(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, engine: Optional[pulumi.Input[str]] = None, eviction_policy: Optional[pulumi.Input[str]] = None, @@ -217,7 +217,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterUrn") - def cluster_urn(self) -> str: + def cluster_urn(self) -> pulumi.Output[str]: """ The uniform resource name of the database cluster. """ @@ -225,7 +225,7 @@ def cluster_urn(self) -> str: @property @pulumi.getter - def database(self) -> str: + def database(self) -> pulumi.Output[str]: """ Name of the cluster's default database. """ @@ -233,7 +233,7 @@ def database(self) -> str: @property @pulumi.getter - def engine(self) -> str: + def engine(self) -> pulumi.Output[str]: """ Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, or `redis` for Redis). """ @@ -241,7 +241,7 @@ def engine(self) -> str: @property @pulumi.getter(name="evictionPolicy") - def eviction_policy(self) -> Optional[str]: + def eviction_policy(self) -> pulumi.Output[Optional[str]]: """ A string specifying the eviction policy for a Redis cluster. Valid values are: `noeviction`, `allkeys_lru`, `allkeys_random`, `volatile_lru`, `volatile_random`, or `volatile_ttl`. """ @@ -249,7 +249,7 @@ def eviction_policy(self) -> Optional[str]: @property @pulumi.getter - def host(self) -> str: + def host(self) -> pulumi.Output[str]: """ Database cluster's hostname. """ @@ -257,7 +257,7 @@ def host(self) -> str: @property @pulumi.getter(name="maintenanceWindows") - def maintenance_windows(self) -> Optional[List['outputs.DatabaseClusterMaintenanceWindow']]: + def maintenance_windows(self) -> pulumi.Output[Optional[List['outputs.DatabaseClusterMaintenanceWindow']]]: """ Defines when the automatic maintenance should be performed for the database cluster. """ @@ -265,7 +265,7 @@ def maintenance_windows(self) -> Optional[List['outputs.DatabaseClusterMaintenan @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the database cluster. """ @@ -273,7 +273,7 @@ def name(self) -> str: @property @pulumi.getter(name="nodeCount") - def node_count(self) -> float: + def node_count(self) -> pulumi.Output[float]: """ Number of nodes that will be included in the cluster. """ @@ -281,7 +281,7 @@ def node_count(self) -> float: @property @pulumi.getter - def password(self) -> str: + def password(self) -> pulumi.Output[str]: """ Password for the cluster's default user. """ @@ -289,7 +289,7 @@ def password(self) -> str: @property @pulumi.getter - def port(self) -> float: + def port(self) -> pulumi.Output[float]: """ Network port that the database cluster is listening on. """ @@ -297,7 +297,7 @@ def port(self) -> float: @property @pulumi.getter(name="privateHost") - def private_host(self) -> str: + def private_host(self) -> pulumi.Output[str]: """ Same as `host`, but only accessible from resources within the account and in the same region. """ @@ -305,7 +305,7 @@ def private_host(self) -> str: @property @pulumi.getter(name="privateNetworkUuid") - def private_network_uuid(self) -> str: + def private_network_uuid(self) -> pulumi.Output[str]: """ The ID of the VPC where the database cluster will be located. """ @@ -313,7 +313,7 @@ def private_network_uuid(self) -> str: @property @pulumi.getter(name="privateUri") - def private_uri(self) -> str: + def private_uri(self) -> pulumi.Output[str]: """ Same as `uri`, but only accessible from resources within the account and in the same region. """ @@ -321,7 +321,7 @@ def private_uri(self) -> str: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ DigitalOcean region where the cluster will reside. """ @@ -329,7 +329,7 @@ def region(self) -> str: @property @pulumi.getter - def size(self) -> str: + def size(self) -> pulumi.Output[str]: """ Database Droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`). """ @@ -337,7 +337,7 @@ def size(self) -> str: @property @pulumi.getter(name="sqlMode") - def sql_mode(self) -> Optional[str]: + def sql_mode(self) -> pulumi.Output[Optional[str]]: """ A comma separated string specifying the SQL modes for a MySQL cluster. """ @@ -345,7 +345,7 @@ def sql_mode(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ A list of tag names to be applied to the database cluster. """ @@ -353,7 +353,7 @@ def tags(self) -> Optional[List[str]]: @property @pulumi.getter - def uri(self) -> str: + def uri(self) -> pulumi.Output[str]: """ The full URI for connecting to the database cluster. """ @@ -361,7 +361,7 @@ def uri(self) -> str: @property @pulumi.getter - def user(self) -> str: + def user(self) -> pulumi.Output[str]: """ Username for the cluster's default user. """ @@ -369,7 +369,7 @@ def user(self) -> str: @property @pulumi.getter - def version(self) -> Optional[str]: + def version(self) -> pulumi.Output[Optional[str]]: """ Engine version used by the cluster (ex. `11` for PostgreSQL 11). """ diff --git a/sdk/python/pulumi_digitalocean/database_connection_pool.py b/sdk/python/pulumi_digitalocean/database_connection_pool.py index 47d58da3..a8b8daea 100644 --- a/sdk/python/pulumi_digitalocean/database_connection_pool.py +++ b/sdk/python/pulumi_digitalocean/database_connection_pool.py @@ -13,7 +13,7 @@ class DatabaseConnectionPool(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cluster_id: Optional[pulumi.Input[str]] = None, db_name: Optional[pulumi.Input[str]] = None, @@ -157,7 +157,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: + def cluster_id(self) -> pulumi.Output[str]: """ The ID of the source database cluster. Note: This must be a PostgreSQL cluster. """ @@ -165,7 +165,7 @@ def cluster_id(self) -> str: @property @pulumi.getter(name="dbName") - def db_name(self) -> str: + def db_name(self) -> pulumi.Output[str]: """ The database for use with the connection pool. """ @@ -173,7 +173,7 @@ def db_name(self) -> str: @property @pulumi.getter - def host(self) -> str: + def host(self) -> pulumi.Output[str]: """ The hostname used to connect to the database connection pool. """ @@ -181,7 +181,7 @@ def host(self) -> str: @property @pulumi.getter - def mode(self) -> str: + def mode(self) -> pulumi.Output[str]: """ The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement. """ @@ -189,7 +189,7 @@ def mode(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name for the database connection pool. """ @@ -197,7 +197,7 @@ def name(self) -> str: @property @pulumi.getter - def password(self) -> str: + def password(self) -> pulumi.Output[str]: """ Password for the connection pool's user. """ @@ -205,7 +205,7 @@ def password(self) -> str: @property @pulumi.getter - def port(self) -> float: + def port(self) -> pulumi.Output[float]: """ Network port that the database connection pool is listening on. """ @@ -213,7 +213,7 @@ def port(self) -> float: @property @pulumi.getter(name="privateHost") - def private_host(self) -> str: + def private_host(self) -> pulumi.Output[str]: """ Same as `host`, but only accessible from resources within the account and in the same region. """ @@ -221,7 +221,7 @@ def private_host(self) -> str: @property @pulumi.getter(name="privateUri") - def private_uri(self) -> str: + def private_uri(self) -> pulumi.Output[str]: """ Same as `uri`, but only accessible from resources within the account and in the same region. """ @@ -229,7 +229,7 @@ def private_uri(self) -> str: @property @pulumi.getter - def size(self) -> float: + def size(self) -> pulumi.Output[float]: """ The desired size of the PGBouncer connection pool. """ @@ -237,7 +237,7 @@ def size(self) -> float: @property @pulumi.getter - def uri(self) -> str: + def uri(self) -> pulumi.Output[str]: """ The full URI for connecting to the database connection pool. """ @@ -245,7 +245,7 @@ def uri(self) -> str: @property @pulumi.getter - def user(self) -> str: + def user(self) -> pulumi.Output[str]: """ The name of the database user for use with the connection pool. """ diff --git a/sdk/python/pulumi_digitalocean/database_db.py b/sdk/python/pulumi_digitalocean/database_db.py index 16a86082..7e19b9b6 100644 --- a/sdk/python/pulumi_digitalocean/database_db.py +++ b/sdk/python/pulumi_digitalocean/database_db.py @@ -13,7 +13,7 @@ class DatabaseDb(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cluster_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -96,7 +96,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: + def cluster_id(self) -> pulumi.Output[str]: """ The ID of the original source database cluster. """ @@ -104,7 +104,7 @@ def cluster_id(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name for the database. """ diff --git a/sdk/python/pulumi_digitalocean/database_firewall.py b/sdk/python/pulumi_digitalocean/database_firewall.py index dd7df96e..3f8d8ffa 100644 --- a/sdk/python/pulumi_digitalocean/database_firewall.py +++ b/sdk/python/pulumi_digitalocean/database_firewall.py @@ -15,7 +15,7 @@ class DatabaseFirewall(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cluster_id: Optional[pulumi.Input[str]] = None, rules: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['DatabaseFirewallRuleArgs']]]]] = None, @@ -137,7 +137,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: + def cluster_id(self) -> pulumi.Output[str]: """ The ID of the target database cluster. """ @@ -145,7 +145,7 @@ def cluster_id(self) -> str: @property @pulumi.getter - def rules(self) -> List['outputs.DatabaseFirewallRule']: + def rules(self) -> pulumi.Output[List['outputs.DatabaseFirewallRule']]: """ A rule specifying a resource allowed to access the database cluster. The following arguments must be specified: """ diff --git a/sdk/python/pulumi_digitalocean/database_replica.py b/sdk/python/pulumi_digitalocean/database_replica.py index cbff3dd7..dbbd5e38 100644 --- a/sdk/python/pulumi_digitalocean/database_replica.py +++ b/sdk/python/pulumi_digitalocean/database_replica.py @@ -13,7 +13,7 @@ class DatabaseReplica(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cluster_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -151,7 +151,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: + def cluster_id(self) -> pulumi.Output[str]: """ The ID of the original source database cluster. """ @@ -159,7 +159,7 @@ def cluster_id(self) -> str: @property @pulumi.getter - def database(self) -> str: + def database(self) -> pulumi.Output[str]: """ Name of the replica's default database. """ @@ -167,7 +167,7 @@ def database(self) -> str: @property @pulumi.getter - def host(self) -> str: + def host(self) -> pulumi.Output[str]: """ Database replica's hostname. """ @@ -175,7 +175,7 @@ def host(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name for the database replica. """ @@ -183,7 +183,7 @@ def name(self) -> str: @property @pulumi.getter - def password(self) -> str: + def password(self) -> pulumi.Output[str]: """ Password for the replica's default user. """ @@ -191,7 +191,7 @@ def password(self) -> str: @property @pulumi.getter - def port(self) -> float: + def port(self) -> pulumi.Output[float]: """ Network port that the database replica is listening on. """ @@ -199,7 +199,7 @@ def port(self) -> float: @property @pulumi.getter(name="privateHost") - def private_host(self) -> str: + def private_host(self) -> pulumi.Output[str]: """ Same as `host`, but only accessible from resources within the account and in the same region. """ @@ -207,12 +207,12 @@ def private_host(self) -> str: @property @pulumi.getter(name="privateNetworkUuid") - def private_network_uuid(self) -> str: + def private_network_uuid(self) -> pulumi.Output[str]: return pulumi.get(self, "private_network_uuid") @property @pulumi.getter(name="privateUri") - def private_uri(self) -> str: + def private_uri(self) -> pulumi.Output[str]: """ Same as `uri`, but only accessible from resources within the account and in the same region. """ @@ -220,7 +220,7 @@ def private_uri(self) -> str: @property @pulumi.getter - def region(self) -> Optional[str]: + def region(self) -> pulumi.Output[Optional[str]]: """ DigitalOcean region where the replica will reside. """ @@ -228,7 +228,7 @@ def region(self) -> Optional[str]: @property @pulumi.getter - def size(self) -> Optional[str]: + def size(self) -> pulumi.Output[Optional[str]]: """ Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). """ @@ -236,12 +236,12 @@ def size(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: return pulumi.get(self, "tags") @property @pulumi.getter - def uri(self) -> str: + def uri(self) -> pulumi.Output[str]: """ The full URI for connecting to the database replica. """ @@ -249,7 +249,7 @@ def uri(self) -> str: @property @pulumi.getter - def user(self) -> str: + def user(self) -> pulumi.Output[str]: """ Username for the replica's default user. """ diff --git a/sdk/python/pulumi_digitalocean/database_user.py b/sdk/python/pulumi_digitalocean/database_user.py index e2ec611e..c83f59b6 100644 --- a/sdk/python/pulumi_digitalocean/database_user.py +++ b/sdk/python/pulumi_digitalocean/database_user.py @@ -13,7 +13,7 @@ class DatabaseUser(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cluster_id: Optional[pulumi.Input[str]] = None, mysql_auth_plugin: Optional[pulumi.Input[str]] = None, @@ -112,7 +112,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: + def cluster_id(self) -> pulumi.Output[str]: """ The ID of the original source database cluster. """ @@ -120,7 +120,7 @@ def cluster_id(self) -> str: @property @pulumi.getter(name="mysqlAuthPlugin") - def mysql_auth_plugin(self) -> Optional[str]: + def mysql_auth_plugin(self) -> pulumi.Output[Optional[str]]: """ The authentication method to use for connections to the MySQL user account. The valid values are `mysql_native_password` or `caching_sha2_password` (this is the default). """ @@ -128,7 +128,7 @@ def mysql_auth_plugin(self) -> Optional[str]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name for the database user. """ @@ -136,7 +136,7 @@ def name(self) -> str: @property @pulumi.getter - def password(self) -> str: + def password(self) -> pulumi.Output[str]: """ Password for the database user. """ @@ -144,7 +144,7 @@ def password(self) -> str: @property @pulumi.getter - def role(self) -> str: + def role(self) -> pulumi.Output[str]: """ Role for the database user. The value will be either "primary" or "normal". """ diff --git a/sdk/python/pulumi_digitalocean/dns_record.py b/sdk/python/pulumi_digitalocean/dns_record.py index f8cabbaa..9aedca2d 100644 --- a/sdk/python/pulumi_digitalocean/dns_record.py +++ b/sdk/python/pulumi_digitalocean/dns_record.py @@ -13,7 +13,7 @@ class DnsRecord(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, domain: Optional[pulumi.Input[str]] = None, flags: Optional[pulumi.Input[float]] = None, @@ -159,7 +159,7 @@ def get(resource_name: str, @property @pulumi.getter - def domain(self) -> str: + def domain(self) -> pulumi.Output[str]: """ The domain to add the record to. """ @@ -167,7 +167,7 @@ def domain(self) -> str: @property @pulumi.getter - def flags(self) -> Optional[float]: + def flags(self) -> pulumi.Output[Optional[float]]: """ The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255. """ @@ -175,7 +175,7 @@ def flags(self) -> Optional[float]: @property @pulumi.getter - def fqdn(self) -> str: + def fqdn(self) -> pulumi.Output[str]: """ The FQDN of the record """ @@ -183,7 +183,7 @@ def fqdn(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the record. Use `@` for records on domain's name itself. """ @@ -191,7 +191,7 @@ def name(self) -> str: @property @pulumi.getter - def port(self) -> Optional[float]: + def port(self) -> pulumi.Output[Optional[float]]: """ The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535. """ @@ -199,7 +199,7 @@ def port(self) -> Optional[float]: @property @pulumi.getter - def priority(self) -> Optional[float]: + def priority(self) -> pulumi.Output[Optional[float]]: """ The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535. """ @@ -207,7 +207,7 @@ def priority(self) -> Optional[float]: @property @pulumi.getter - def tag(self) -> Optional[str]: + def tag(self) -> pulumi.Output[Optional[str]]: """ The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`. """ @@ -215,7 +215,7 @@ def tag(self) -> Optional[str]: @property @pulumi.getter - def ttl(self) -> float: + def ttl(self) -> pulumi.Output[float]: """ The time to live for the record, in seconds. Must be at least 0. """ @@ -223,7 +223,7 @@ def ttl(self) -> float: @property @pulumi.getter - def type(self) -> str: + def type(self) -> pulumi.Output[str]: """ The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`. """ @@ -231,7 +231,7 @@ def type(self) -> str: @property @pulumi.getter - def value(self) -> str: + def value(self) -> pulumi.Output[str]: """ The value of the record. """ @@ -239,7 +239,7 @@ def value(self) -> str: @property @pulumi.getter - def weight(self) -> Optional[float]: + def weight(self) -> pulumi.Output[Optional[float]]: """ The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535. """ diff --git a/sdk/python/pulumi_digitalocean/domain.py b/sdk/python/pulumi_digitalocean/domain.py index d9d2600b..7e1e15fa 100644 --- a/sdk/python/pulumi_digitalocean/domain.py +++ b/sdk/python/pulumi_digitalocean/domain.py @@ -13,7 +13,7 @@ class Domain(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, ip_address: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -99,7 +99,7 @@ def get(resource_name: str, @property @pulumi.getter(name="domainUrn") - def domain_urn(self) -> str: + def domain_urn(self) -> pulumi.Output[str]: """ The uniform resource name of the domain """ @@ -107,7 +107,7 @@ def domain_urn(self) -> str: @property @pulumi.getter(name="ipAddress") - def ip_address(self) -> Optional[str]: + def ip_address(self) -> pulumi.Output[Optional[str]]: """ The IP address of the domain. If specified, this IP is used to created an initial A record for the domain. @@ -116,7 +116,7 @@ def ip_address(self) -> Optional[str]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the domain """ diff --git a/sdk/python/pulumi_digitalocean/droplet.py b/sdk/python/pulumi_digitalocean/droplet.py index 9c10b9d8..51c8fedb 100644 --- a/sdk/python/pulumi_digitalocean/droplet.py +++ b/sdk/python/pulumi_digitalocean/droplet.py @@ -13,7 +13,7 @@ class Droplet(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, backups: Optional[pulumi.Input[bool]] = None, image: Optional[pulumi.Input[str]] = None, @@ -241,7 +241,7 @@ def get(resource_name: str, @property @pulumi.getter - def backups(self) -> Optional[bool]: + def backups(self) -> pulumi.Output[Optional[bool]]: """ Boolean controlling if backups are made. Defaults to false. @@ -250,12 +250,12 @@ def backups(self) -> Optional[bool]: @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: return pulumi.get(self, "created_at") @property @pulumi.getter - def disk(self) -> float: + def disk(self) -> pulumi.Output[float]: """ The size of the instance's disk in GB """ @@ -263,7 +263,7 @@ def disk(self) -> float: @property @pulumi.getter(name="dropletUrn") - def droplet_urn(self) -> str: + def droplet_urn(self) -> pulumi.Output[str]: """ The uniform resource name of the Droplet * `name`- The name of the Droplet @@ -272,7 +272,7 @@ def droplet_urn(self) -> str: @property @pulumi.getter - def image(self) -> str: + def image(self) -> pulumi.Output[str]: """ The Droplet image ID or slug. """ @@ -280,7 +280,7 @@ def image(self) -> str: @property @pulumi.getter(name="ipv4Address") - def ipv4_address(self) -> str: + def ipv4_address(self) -> pulumi.Output[str]: """ The IPv4 address """ @@ -288,7 +288,7 @@ def ipv4_address(self) -> str: @property @pulumi.getter(name="ipv4AddressPrivate") - def ipv4_address_private(self) -> str: + def ipv4_address_private(self) -> pulumi.Output[str]: """ The private networking IPv4 address """ @@ -296,7 +296,7 @@ def ipv4_address_private(self) -> str: @property @pulumi.getter - def ipv6(self) -> Optional[bool]: + def ipv6(self) -> pulumi.Output[Optional[bool]]: """ Boolean controlling if IPv6 is enabled. Defaults to false. """ @@ -304,7 +304,7 @@ def ipv6(self) -> Optional[bool]: @property @pulumi.getter(name="ipv6Address") - def ipv6_address(self) -> str: + def ipv6_address(self) -> pulumi.Output[str]: """ The IPv6 address """ @@ -312,7 +312,7 @@ def ipv6_address(self) -> str: @property @pulumi.getter - def locked(self) -> bool: + def locked(self) -> pulumi.Output[bool]: """ Is the Droplet locked """ @@ -320,12 +320,12 @@ def locked(self) -> bool: @property @pulumi.getter - def memory(self) -> float: + def memory(self) -> pulumi.Output[float]: return pulumi.get(self, "memory") @property @pulumi.getter - def monitoring(self) -> Optional[bool]: + def monitoring(self) -> pulumi.Output[Optional[bool]]: """ Boolean controlling whether monitoring agent is installed. Defaults to false. @@ -334,7 +334,7 @@ def monitoring(self) -> Optional[bool]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The Droplet name. """ @@ -342,7 +342,7 @@ def name(self) -> str: @property @pulumi.getter(name="priceHourly") - def price_hourly(self) -> float: + def price_hourly(self) -> pulumi.Output[float]: """ Droplet hourly price """ @@ -350,7 +350,7 @@ def price_hourly(self) -> float: @property @pulumi.getter(name="priceMonthly") - def price_monthly(self) -> float: + def price_monthly(self) -> pulumi.Output[float]: """ Droplet monthly price """ @@ -358,7 +358,7 @@ def price_monthly(self) -> float: @property @pulumi.getter(name="privateNetworking") - def private_networking(self) -> bool: + def private_networking(self) -> pulumi.Output[bool]: """ Boolean controlling if private networking is enabled. When VPC is enabled on an account, this will provision the @@ -369,7 +369,7 @@ def private_networking(self) -> bool: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The region to start in. """ @@ -377,7 +377,7 @@ def region(self) -> str: @property @pulumi.getter(name="resizeDisk") - def resize_disk(self) -> Optional[bool]: + def resize_disk(self) -> pulumi.Output[Optional[bool]]: """ Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to `true`. When set to `false`, @@ -388,7 +388,7 @@ def resize_disk(self) -> Optional[bool]: @property @pulumi.getter - def size(self) -> str: + def size(self) -> pulumi.Output[str]: """ The unique slug that indentifies the type of Droplet. You can find a list of available slugs on [DigitalOcean API documentation](https://developers.digitalocean.com/documentation/v2/#list-all-sizes). """ @@ -396,7 +396,7 @@ def size(self) -> str: @property @pulumi.getter(name="sshKeys") - def ssh_keys(self) -> Optional[List[str]]: + def ssh_keys(self) -> pulumi.Output[Optional[List[str]]]: """ A list of SSH IDs or fingerprints to enable in the format `[12345, 123456]`. To retrieve this info, use a tool such @@ -407,7 +407,7 @@ def ssh_keys(self) -> Optional[List[str]]: @property @pulumi.getter - def status(self) -> str: + def status(self) -> pulumi.Output[str]: """ The status of the Droplet """ @@ -415,7 +415,7 @@ def status(self) -> str: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ A list of the tags to be applied to this Droplet. """ @@ -423,7 +423,7 @@ def tags(self) -> Optional[List[str]]: @property @pulumi.getter(name="userData") - def user_data(self) -> Optional[str]: + def user_data(self) -> pulumi.Output[Optional[str]]: """ A string of the desired User Data for the Droplet. """ @@ -431,7 +431,7 @@ def user_data(self) -> Optional[str]: @property @pulumi.getter - def vcpus(self) -> float: + def vcpus(self) -> pulumi.Output[float]: """ The number of the instance's virtual CPUs """ @@ -439,7 +439,7 @@ def vcpus(self) -> float: @property @pulumi.getter(name="volumeIds") - def volume_ids(self) -> List[str]: + def volume_ids(self) -> pulumi.Output[List[str]]: """ A list of the IDs of each [block storage volume](https://www.terraform.io/docs/providers/do/r/volume.html) to be attached to the Droplet. """ @@ -447,7 +447,7 @@ def volume_ids(self) -> List[str]: @property @pulumi.getter(name="vpcUuid") - def vpc_uuid(self) -> str: + def vpc_uuid(self) -> pulumi.Output[str]: """ The ID of the VPC where the Droplet will be located. """ diff --git a/sdk/python/pulumi_digitalocean/droplet_snapshot.py b/sdk/python/pulumi_digitalocean/droplet_snapshot.py index 8408b3f6..aecfc1a6 100644 --- a/sdk/python/pulumi_digitalocean/droplet_snapshot.py +++ b/sdk/python/pulumi_digitalocean/droplet_snapshot.py @@ -13,7 +13,7 @@ class DropletSnapshot(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, droplet_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -110,7 +110,7 @@ def get(resource_name: str, @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ The date and time the Droplet snapshot was created. """ @@ -118,7 +118,7 @@ def created_at(self) -> str: @property @pulumi.getter(name="dropletId") - def droplet_id(self) -> str: + def droplet_id(self) -> pulumi.Output[str]: """ The ID of the Droplet from which the snapshot will be taken. """ @@ -126,7 +126,7 @@ def droplet_id(self) -> str: @property @pulumi.getter(name="minDiskSize") - def min_disk_size(self) -> float: + def min_disk_size(self) -> pulumi.Output[float]: """ The minimum size in gigabytes required for a Droplet to be created based on this snapshot. """ @@ -134,7 +134,7 @@ def min_disk_size(self) -> float: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ A name for the Droplet snapshot. """ @@ -142,7 +142,7 @@ def name(self) -> str: @property @pulumi.getter - def regions(self) -> List[str]: + def regions(self) -> pulumi.Output[List[str]]: """ A list of DigitalOcean region "slugs" indicating where the droplet snapshot is available. """ @@ -150,7 +150,7 @@ def regions(self) -> List[str]: @property @pulumi.getter - def size(self) -> float: + def size(self) -> pulumi.Output[float]: """ The billable size of the Droplet snapshot in gigabytes. """ diff --git a/sdk/python/pulumi_digitalocean/firewall.py b/sdk/python/pulumi_digitalocean/firewall.py index 50bc0e8a..2faabd19 100644 --- a/sdk/python/pulumi_digitalocean/firewall.py +++ b/sdk/python/pulumi_digitalocean/firewall.py @@ -15,7 +15,7 @@ class Firewall(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, droplet_ids: Optional[pulumi.Input[List[pulumi.Input[float]]]] = None, inbound_rules: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['FirewallInboundRuleArgs']]]]] = None, @@ -195,7 +195,7 @@ def get(resource_name: str, @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ A time value given in ISO8601 combined date and time format that represents when the Firewall was created. @@ -204,7 +204,7 @@ def created_at(self) -> str: @property @pulumi.getter(name="dropletIds") - def droplet_ids(self) -> Optional[List[float]]: + def droplet_ids(self) -> pulumi.Output[Optional[List[float]]]: """ The list of the IDs of the Droplets assigned to the Firewall. @@ -213,7 +213,7 @@ def droplet_ids(self) -> Optional[List[float]]: @property @pulumi.getter(name="inboundRules") - def inbound_rules(self) -> Optional[List['outputs.FirewallInboundRule']]: + def inbound_rules(self) -> pulumi.Output[Optional[List['outputs.FirewallInboundRule']]]: """ The inbound access rule block for the Firewall. The `inbound_rule` block is documented below. @@ -222,7 +222,7 @@ def inbound_rules(self) -> Optional[List['outputs.FirewallInboundRule']]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The Firewall name """ @@ -230,7 +230,7 @@ def name(self) -> str: @property @pulumi.getter(name="outboundRules") - def outbound_rules(self) -> Optional[List['outputs.FirewallOutboundRule']]: + def outbound_rules(self) -> pulumi.Output[Optional[List['outputs.FirewallOutboundRule']]]: """ The outbound access rule block for the Firewall. The `outbound_rule` block is documented below. @@ -239,7 +239,7 @@ def outbound_rules(self) -> Optional[List['outputs.FirewallOutboundRule']]: @property @pulumi.getter(name="pendingChanges") - def pending_changes(self) -> List['outputs.FirewallPendingChange']: + def pending_changes(self) -> pulumi.Output[List['outputs.FirewallPendingChange']]: """ An list of object containing the fields, "droplet_id", "removing", and "status". It is provided to detail exactly which Droplets @@ -250,7 +250,7 @@ def pending_changes(self) -> List['outputs.FirewallPendingChange']: @property @pulumi.getter - def status(self) -> str: + def status(self) -> pulumi.Output[str]: """ A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed". @@ -259,7 +259,7 @@ def status(self) -> str: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ The names of the Tags assigned to the Firewall. """ diff --git a/sdk/python/pulumi_digitalocean/floating_ip.py b/sdk/python/pulumi_digitalocean/floating_ip.py index aeda3d4a..8950d213 100644 --- a/sdk/python/pulumi_digitalocean/floating_ip.py +++ b/sdk/python/pulumi_digitalocean/floating_ip.py @@ -13,7 +13,7 @@ class FloatingIp(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, droplet_id: Optional[pulumi.Input[float]] = None, ip_address: Optional[pulumi.Input[str]] = None, @@ -110,7 +110,7 @@ def get(resource_name: str, @property @pulumi.getter(name="dropletId") - def droplet_id(self) -> Optional[float]: + def droplet_id(self) -> pulumi.Output[Optional[float]]: """ The ID of Droplet that the Floating IP will be assigned to. """ @@ -118,7 +118,7 @@ def droplet_id(self) -> Optional[float]: @property @pulumi.getter(name="floatingIpUrn") - def floating_ip_urn(self) -> str: + def floating_ip_urn(self) -> pulumi.Output[str]: """ The uniform resource name of the floating ip """ @@ -126,7 +126,7 @@ def floating_ip_urn(self) -> str: @property @pulumi.getter(name="ipAddress") - def ip_address(self) -> str: + def ip_address(self) -> pulumi.Output[str]: """ The IP Address of the resource """ @@ -134,7 +134,7 @@ def ip_address(self) -> str: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The region that the Floating IP is reserved to. """ diff --git a/sdk/python/pulumi_digitalocean/floating_ip_assignment.py b/sdk/python/pulumi_digitalocean/floating_ip_assignment.py index 4b63e8fd..63a2f96e 100644 --- a/sdk/python/pulumi_digitalocean/floating_ip_assignment.py +++ b/sdk/python/pulumi_digitalocean/floating_ip_assignment.py @@ -13,7 +13,7 @@ class FloatingIpAssignment(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, droplet_id: Optional[pulumi.Input[float]] = None, ip_address: Optional[pulumi.Input[str]] = None, @@ -103,7 +103,7 @@ def get(resource_name: str, @property @pulumi.getter(name="dropletId") - def droplet_id(self) -> float: + def droplet_id(self) -> pulumi.Output[float]: """ The ID of Droplet that the Floating IP will be assigned to. """ @@ -111,7 +111,7 @@ def droplet_id(self) -> float: @property @pulumi.getter(name="ipAddress") - def ip_address(self) -> str: + def ip_address(self) -> pulumi.Output[str]: """ The Floating IP to assign to the Droplet. """ diff --git a/sdk/python/pulumi_digitalocean/kubernetes_cluster.py b/sdk/python/pulumi_digitalocean/kubernetes_cluster.py index c0ea9c53..54e12636 100644 --- a/sdk/python/pulumi_digitalocean/kubernetes_cluster.py +++ b/sdk/python/pulumi_digitalocean/kubernetes_cluster.py @@ -15,7 +15,7 @@ class KubernetesCluster(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, node_pool: Optional[pulumi.Input[pulumi.InputType['KubernetesClusterNodePoolArgs']]] = None, @@ -181,7 +181,7 @@ def get(resource_name: str, @property @pulumi.getter(name="clusterSubnet") - def cluster_subnet(self) -> str: + def cluster_subnet(self) -> pulumi.Output[str]: """ The range of IP addresses in the overlay network of the Kubernetes cluster. """ @@ -189,7 +189,7 @@ def cluster_subnet(self) -> str: @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ The date and time when the node was created. """ @@ -197,7 +197,7 @@ def created_at(self) -> str: @property @pulumi.getter - def endpoint(self) -> str: + def endpoint(self) -> pulumi.Output[str]: """ The base URL of the API server on the Kubernetes master node. """ @@ -205,7 +205,7 @@ def endpoint(self) -> str: @property @pulumi.getter(name="ipv4Address") - def ipv4_address(self) -> str: + def ipv4_address(self) -> pulumi.Output[str]: """ The public IPv4 address of the Kubernetes master node. """ @@ -213,12 +213,12 @@ def ipv4_address(self) -> str: @property @pulumi.getter(name="kubeConfigs") - def kube_configs(self) -> List['outputs.KubernetesClusterKubeConfig']: + def kube_configs(self) -> pulumi.Output[List['outputs.KubernetesClusterKubeConfig']]: return pulumi.get(self, "kube_configs") @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ A name for the node pool. """ @@ -226,7 +226,7 @@ def name(self) -> str: @property @pulumi.getter(name="nodePool") - def node_pool(self) -> 'outputs.KubernetesClusterNodePool': + def node_pool(self) -> pulumi.Output['outputs.KubernetesClusterNodePool']: """ A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the `KubernetesNodePool` resource. The following arguments may be specified: """ @@ -234,7 +234,7 @@ def node_pool(self) -> 'outputs.KubernetesClusterNodePool': @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The slug identifier for the region where the Kubernetes cluster will be created. """ @@ -242,7 +242,7 @@ def region(self) -> str: @property @pulumi.getter(name="serviceSubnet") - def service_subnet(self) -> str: + def service_subnet(self) -> pulumi.Output[str]: """ The range of assignable IP addresses for services running in the Kubernetes cluster. """ @@ -250,7 +250,7 @@ def service_subnet(self) -> str: @property @pulumi.getter - def status(self) -> str: + def status(self) -> pulumi.Output[str]: """ A string indicating the current status of the individual node. """ @@ -258,7 +258,7 @@ def status(self) -> str: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ A list of tag names to be applied to the Kubernetes cluster. """ @@ -266,7 +266,7 @@ def tags(self) -> Optional[List[str]]: @property @pulumi.getter(name="updatedAt") - def updated_at(self) -> str: + def updated_at(self) -> pulumi.Output[str]: """ The date and time when the node was last updated. """ @@ -274,7 +274,7 @@ def updated_at(self) -> str: @property @pulumi.getter - def version(self) -> str: + def version(self) -> pulumi.Output[str]: """ The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) """ @@ -282,7 +282,7 @@ def version(self) -> str: @property @pulumi.getter(name="vpcUuid") - def vpc_uuid(self) -> str: + def vpc_uuid(self) -> pulumi.Output[str]: """ The ID of the VPC where the Kubernetes cluster will be located. """ diff --git a/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py b/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py index b092c65d..75ce0614 100644 --- a/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py +++ b/sdk/python/pulumi_digitalocean/kubernetes_node_pool.py @@ -15,7 +15,7 @@ class KubernetesNodePool(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, auto_scale: Optional[pulumi.Input[bool]] = None, cluster_id: Optional[pulumi.Input[str]] = None, @@ -177,7 +177,7 @@ def get(resource_name: str, @property @pulumi.getter(name="actualNodeCount") - def actual_node_count(self) -> float: + def actual_node_count(self) -> pulumi.Output[float]: """ A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled. """ @@ -185,7 +185,7 @@ def actual_node_count(self) -> float: @property @pulumi.getter(name="autoScale") - def auto_scale(self) -> Optional[bool]: + def auto_scale(self) -> pulumi.Output[Optional[bool]]: """ Enable auto-scaling of the number of nodes in the node pool within the given min/max range. """ @@ -193,7 +193,7 @@ def auto_scale(self) -> Optional[bool]: @property @pulumi.getter(name="clusterId") - def cluster_id(self) -> str: + def cluster_id(self) -> pulumi.Output[str]: """ The ID of the Kubernetes cluster to which the node pool is associated. """ @@ -201,7 +201,7 @@ def cluster_id(self) -> str: @property @pulumi.getter - def labels(self) -> Optional[Mapping[str, str]]: + def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/). """ @@ -209,7 +209,7 @@ def labels(self) -> Optional[Mapping[str, str]]: @property @pulumi.getter(name="maxNodes") - def max_nodes(self) -> Optional[float]: + def max_nodes(self) -> pulumi.Output[Optional[float]]: """ If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to. """ @@ -217,7 +217,7 @@ def max_nodes(self) -> Optional[float]: @property @pulumi.getter(name="minNodes") - def min_nodes(self) -> Optional[float]: + def min_nodes(self) -> pulumi.Output[Optional[float]]: """ If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to. """ @@ -225,7 +225,7 @@ def min_nodes(self) -> Optional[float]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ A name for the node pool. """ @@ -233,7 +233,7 @@ def name(self) -> str: @property @pulumi.getter(name="nodeCount") - def node_count(self) -> Optional[float]: + def node_count(self) -> pulumi.Output[Optional[float]]: """ The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value. """ @@ -241,7 +241,7 @@ def node_count(self) -> Optional[float]: @property @pulumi.getter - def nodes(self) -> List['outputs.KubernetesNodePoolNode']: + def nodes(self) -> pulumi.Output[List['outputs.KubernetesNodePoolNode']]: """ A list of nodes in the pool. Each node exports the following attributes: """ @@ -249,7 +249,7 @@ def nodes(self) -> List['outputs.KubernetesNodePoolNode']: @property @pulumi.getter - def size(self) -> str: + def size(self) -> pulumi.Output[str]: """ The slug identifier for the type of Droplet to be used as workers in the node pool. """ @@ -257,7 +257,7 @@ def size(self) -> str: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ A list of tag names to be applied to the Kubernetes cluster. """ diff --git a/sdk/python/pulumi_digitalocean/load_balancer.py b/sdk/python/pulumi_digitalocean/load_balancer.py index ef68e286..9e0ba53c 100644 --- a/sdk/python/pulumi_digitalocean/load_balancer.py +++ b/sdk/python/pulumi_digitalocean/load_balancer.py @@ -15,7 +15,7 @@ class LoadBalancer(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, algorithm: Optional[pulumi.Input[str]] = None, droplet_ids: Optional[pulumi.Input[List[pulumi.Input[float]]]] = None, @@ -174,7 +174,7 @@ def get(resource_name: str, @property @pulumi.getter - def algorithm(self) -> Optional[str]: + def algorithm(self) -> pulumi.Output[Optional[str]]: """ The load balancing algorithm used to determine which backend Droplet will be selected by a client. It must be either `round_robin` @@ -184,7 +184,7 @@ def algorithm(self) -> Optional[str]: @property @pulumi.getter(name="dropletIds") - def droplet_ids(self) -> List[float]: + def droplet_ids(self) -> pulumi.Output[List[float]]: """ A list of the IDs of each droplet to be attached to the Load Balancer. """ @@ -192,7 +192,7 @@ def droplet_ids(self) -> List[float]: @property @pulumi.getter(name="dropletTag") - def droplet_tag(self) -> Optional[str]: + def droplet_tag(self) -> pulumi.Output[Optional[str]]: """ The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer. """ @@ -200,7 +200,7 @@ def droplet_tag(self) -> Optional[str]: @property @pulumi.getter(name="enableBackendKeepalive") - def enable_backend_keepalive(self) -> Optional[bool]: + def enable_backend_keepalive(self) -> pulumi.Output[Optional[bool]]: """ A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`. """ @@ -208,7 +208,7 @@ def enable_backend_keepalive(self) -> Optional[bool]: @property @pulumi.getter(name="enableProxyProtocol") - def enable_proxy_protocol(self) -> Optional[bool]: + def enable_proxy_protocol(self) -> pulumi.Output[Optional[bool]]: """ A boolean value indicating whether PROXY Protocol should be used to pass information from connecting client requests to @@ -218,7 +218,7 @@ def enable_proxy_protocol(self) -> Optional[bool]: @property @pulumi.getter(name="forwardingRules") - def forwarding_rules(self) -> List['outputs.LoadBalancerForwardingRule']: + def forwarding_rules(self) -> pulumi.Output[List['outputs.LoadBalancerForwardingRule']]: """ A list of `forwarding_rule` to be assigned to the Load Balancer. The `forwarding_rule` block is documented below. @@ -227,7 +227,7 @@ def forwarding_rules(self) -> List['outputs.LoadBalancerForwardingRule']: @property @pulumi.getter - def healthcheck(self) -> 'outputs.LoadBalancerHealthcheck': + def healthcheck(self) -> pulumi.Output['outputs.LoadBalancerHealthcheck']: """ A `healthcheck` block to be assigned to the Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed. @@ -236,12 +236,12 @@ def healthcheck(self) -> 'outputs.LoadBalancerHealthcheck': @property @pulumi.getter - def ip(self) -> str: + def ip(self) -> pulumi.Output[str]: return pulumi.get(self, "ip") @property @pulumi.getter(name="loadBalancerUrn") - def load_balancer_urn(self) -> str: + def load_balancer_urn(self) -> pulumi.Output[str]: """ The uniform resource name for the Load Balancer """ @@ -249,7 +249,7 @@ def load_balancer_urn(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The Load Balancer name """ @@ -257,7 +257,7 @@ def name(self) -> str: @property @pulumi.getter(name="redirectHttpToHttps") - def redirect_http_to_https(self) -> Optional[bool]: + def redirect_http_to_https(self) -> pulumi.Output[Optional[bool]]: """ A boolean value indicating whether HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443. @@ -267,7 +267,7 @@ def redirect_http_to_https(self) -> Optional[bool]: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The region to start in """ @@ -275,12 +275,12 @@ def region(self) -> str: @property @pulumi.getter - def status(self) -> str: + def status(self) -> pulumi.Output[str]: return pulumi.get(self, "status") @property @pulumi.getter(name="stickySessions") - def sticky_sessions(self) -> 'outputs.LoadBalancerStickySessions': + def sticky_sessions(self) -> pulumi.Output['outputs.LoadBalancerStickySessions']: """ A `sticky_sessions` block to be assigned to the Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed. @@ -289,7 +289,7 @@ def sticky_sessions(self) -> 'outputs.LoadBalancerStickySessions': @property @pulumi.getter(name="vpcUuid") - def vpc_uuid(self) -> str: + def vpc_uuid(self) -> pulumi.Output[str]: """ The ID of the VPC where the load balancer will be located. """ diff --git a/sdk/python/pulumi_digitalocean/project.py b/sdk/python/pulumi_digitalocean/project.py index 103f3f8e..fe382114 100644 --- a/sdk/python/pulumi_digitalocean/project.py +++ b/sdk/python/pulumi_digitalocean/project.py @@ -13,7 +13,7 @@ class Project(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, description: Optional[pulumi.Input[str]] = None, environment: Optional[pulumi.Input[str]] = None, @@ -163,7 +163,7 @@ def get(resource_name: str, @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ the date and time when the project was created, (ISO8601) """ @@ -171,7 +171,7 @@ def created_at(self) -> str: @property @pulumi.getter - def description(self) -> Optional[str]: + def description(self) -> pulumi.Output[Optional[str]]: """ the description of the project """ @@ -179,7 +179,7 @@ def description(self) -> Optional[str]: @property @pulumi.getter - def environment(self) -> Optional[str]: + def environment(self) -> pulumi.Output[Optional[str]]: """ the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`) """ @@ -187,12 +187,12 @@ def environment(self) -> Optional[str]: @property @pulumi.getter(name="isDefault") - def is_default(self) -> bool: + def is_default(self) -> pulumi.Output[bool]: return pulumi.get(self, "is_default") @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the Project """ @@ -200,7 +200,7 @@ def name(self) -> str: @property @pulumi.getter(name="ownerId") - def owner_id(self) -> float: + def owner_id(self) -> pulumi.Output[float]: """ the id of the project owner. """ @@ -208,7 +208,7 @@ def owner_id(self) -> float: @property @pulumi.getter(name="ownerUuid") - def owner_uuid(self) -> str: + def owner_uuid(self) -> pulumi.Output[str]: """ the unique universal identifier of the project owner. """ @@ -216,7 +216,7 @@ def owner_uuid(self) -> str: @property @pulumi.getter - def purpose(self) -> Optional[str]: + def purpose(self) -> pulumi.Output[Optional[str]]: """ the purpose of the project, (Default: "Web Application") """ @@ -224,7 +224,7 @@ def purpose(self) -> Optional[str]: @property @pulumi.getter - def resources(self) -> List[str]: + def resources(self) -> pulumi.Output[List[str]]: """ a list of uniform resource names (URNs) for the resources associated with the project """ @@ -232,7 +232,7 @@ def resources(self) -> List[str]: @property @pulumi.getter(name="updatedAt") - def updated_at(self) -> str: + def updated_at(self) -> pulumi.Output[str]: """ the date and time when the project was last updated, (ISO8601) """ diff --git a/sdk/python/pulumi_digitalocean/project_resources.py b/sdk/python/pulumi_digitalocean/project_resources.py index b7072ca9..797fef82 100644 --- a/sdk/python/pulumi_digitalocean/project_resources.py +++ b/sdk/python/pulumi_digitalocean/project_resources.py @@ -13,7 +13,7 @@ class ProjectResources(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, project: Optional[pulumi.Input[str]] = None, resources: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, @@ -112,7 +112,7 @@ def get(resource_name: str, @property @pulumi.getter - def project(self) -> str: + def project(self) -> pulumi.Output[str]: """ the ID of the project """ @@ -120,7 +120,7 @@ def project(self) -> str: @property @pulumi.getter - def resources(self) -> List[str]: + def resources(self) -> pulumi.Output[List[str]]: """ a list of uniform resource names (URNs) for the resources associated with the project """ diff --git a/sdk/python/pulumi_digitalocean/provider.py b/sdk/python/pulumi_digitalocean/provider.py index ae0eb21a..ffda0a4c 100644 --- a/sdk/python/pulumi_digitalocean/provider.py +++ b/sdk/python/pulumi_digitalocean/provider.py @@ -13,7 +13,7 @@ class Provider(pulumi.ProviderResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, api_endpoint: Optional[pulumi.Input[str]] = None, spaces_access_id: Optional[pulumi.Input[str]] = None, diff --git a/sdk/python/pulumi_digitalocean/spaces_bucket.py b/sdk/python/pulumi_digitalocean/spaces_bucket.py index 3803b5e3..ef5a4ab8 100644 --- a/sdk/python/pulumi_digitalocean/spaces_bucket.py +++ b/sdk/python/pulumi_digitalocean/spaces_bucket.py @@ -15,7 +15,7 @@ class SpacesBucket(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, acl: Optional[pulumi.Input[str]] = None, cors_rules: Optional[pulumi.Input[List[pulumi.Input[pulumi.InputType['SpacesBucketCorsRuleArgs']]]]] = None, @@ -178,7 +178,7 @@ def get(resource_name: str, @property @pulumi.getter - def acl(self) -> Optional[str]: + def acl(self) -> pulumi.Output[Optional[str]]: """ Canned ACL applied on bucket creation (`private` or `public-read`) """ @@ -186,7 +186,7 @@ def acl(self) -> Optional[str]: @property @pulumi.getter(name="bucketDomainName") - def bucket_domain_name(self) -> str: + def bucket_domain_name(self) -> pulumi.Output[str]: """ The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com) """ @@ -194,7 +194,7 @@ def bucket_domain_name(self) -> str: @property @pulumi.getter(name="bucketUrn") - def bucket_urn(self) -> str: + def bucket_urn(self) -> pulumi.Output[str]: """ The uniform resource name for the bucket """ @@ -202,7 +202,7 @@ def bucket_urn(self) -> str: @property @pulumi.getter(name="corsRules") - def cors_rules(self) -> Optional[List['outputs.SpacesBucketCorsRule']]: + def cors_rules(self) -> pulumi.Output[Optional[List['outputs.SpacesBucketCorsRule']]]: """ A rule of Cross-Origin Resource Sharing (documented below). """ @@ -210,7 +210,7 @@ def cors_rules(self) -> Optional[List['outputs.SpacesBucketCorsRule']]: @property @pulumi.getter(name="forceDestroy") - def force_destroy(self) -> Optional[bool]: + def force_destroy(self) -> pulumi.Output[Optional[bool]]: """ Unless `true`, the bucket will only be destroyed if empty (Defaults to `false`) """ @@ -218,7 +218,7 @@ def force_destroy(self) -> Optional[bool]: @property @pulumi.getter(name="lifecycleRules") - def lifecycle_rules(self) -> Optional[List['outputs.SpacesBucketLifecycleRule']]: + def lifecycle_rules(self) -> pulumi.Output[Optional[List['outputs.SpacesBucketLifecycleRule']]]: """ A configuration of object lifecycle management (documented below). """ @@ -226,7 +226,7 @@ def lifecycle_rules(self) -> Optional[List['outputs.SpacesBucketLifecycleRule']] @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the bucket """ @@ -234,7 +234,7 @@ def name(self) -> str: @property @pulumi.getter - def region(self) -> Optional[str]: + def region(self) -> pulumi.Output[Optional[str]]: """ The region where the bucket resides (Defaults to `nyc3`) """ @@ -242,7 +242,7 @@ def region(self) -> Optional[str]: @property @pulumi.getter - def versioning(self) -> Optional['outputs.SpacesBucketVersioning']: + def versioning(self) -> pulumi.Output[Optional['outputs.SpacesBucketVersioning']]: """ A state of versioning (documented below) """ diff --git a/sdk/python/pulumi_digitalocean/spaces_bucket_object.py b/sdk/python/pulumi_digitalocean/spaces_bucket_object.py index 71a62c9e..1aea6163 100644 --- a/sdk/python/pulumi_digitalocean/spaces_bucket_object.py +++ b/sdk/python/pulumi_digitalocean/spaces_bucket_object.py @@ -13,7 +13,7 @@ class SpacesBucketObject(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, acl: Optional[pulumi.Input[str]] = None, bucket: Optional[pulumi.Input[str]] = None, @@ -215,7 +215,7 @@ def get(resource_name: str, @property @pulumi.getter - def acl(self) -> Optional[str]: + def acl(self) -> pulumi.Output[Optional[str]]: """ The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".) """ @@ -223,7 +223,7 @@ def acl(self) -> Optional[str]: @property @pulumi.getter - def bucket(self) -> str: + def bucket(self) -> pulumi.Output[str]: """ The name of the bucket to put the file in. """ @@ -231,7 +231,7 @@ def bucket(self) -> str: @property @pulumi.getter(name="cacheControl") - def cache_control(self) -> Optional[str]: + def cache_control(self) -> pulumi.Output[Optional[str]]: """ Specifies caching behavior along the request/reply chain Read [w3c cache_control](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details. """ @@ -239,7 +239,7 @@ def cache_control(self) -> Optional[str]: @property @pulumi.getter - def content(self) -> Optional[str]: + def content(self) -> pulumi.Output[Optional[str]]: """ Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. """ @@ -247,7 +247,7 @@ def content(self) -> Optional[str]: @property @pulumi.getter(name="contentBase64") - def content_base64(self) -> Optional[str]: + def content_base64(self) -> pulumi.Output[Optional[str]]: """ Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file. """ @@ -255,7 +255,7 @@ def content_base64(self) -> Optional[str]: @property @pulumi.getter(name="contentDisposition") - def content_disposition(self) -> Optional[str]: + def content_disposition(self) -> pulumi.Output[Optional[str]]: """ Specifies presentational information for the object. Read [w3c content_disposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information. """ @@ -263,7 +263,7 @@ def content_disposition(self) -> Optional[str]: @property @pulumi.getter(name="contentEncoding") - def content_encoding(self) -> Optional[str]: + def content_encoding(self) -> pulumi.Output[Optional[str]]: """ Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information. """ @@ -271,7 +271,7 @@ def content_encoding(self) -> Optional[str]: @property @pulumi.getter(name="contentLanguage") - def content_language(self) -> Optional[str]: + def content_language(self) -> pulumi.Output[Optional[str]]: """ The language the content is in e.g. en-US or en-GB. """ @@ -279,7 +279,7 @@ def content_language(self) -> Optional[str]: @property @pulumi.getter(name="contentType") - def content_type(self) -> str: + def content_type(self) -> pulumi.Output[str]: """ A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input. """ @@ -287,7 +287,7 @@ def content_type(self) -> str: @property @pulumi.getter - def etag(self) -> str: + def etag(self) -> pulumi.Output[str]: """ Used to trigger updates. The only meaningful value is `${filemd5("path/to/file")}`. """ @@ -295,7 +295,7 @@ def etag(self) -> str: @property @pulumi.getter(name="forceDestroy") - def force_destroy(self) -> Optional[bool]: + def force_destroy(self) -> pulumi.Output[Optional[bool]]: """ Allow the object to be deleted by removing any legal hold on any object version. Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled. @@ -304,7 +304,7 @@ def force_destroy(self) -> Optional[bool]: @property @pulumi.getter - def key(self) -> str: + def key(self) -> pulumi.Output[str]: """ The name of the object once it is in the bucket. """ @@ -312,7 +312,7 @@ def key(self) -> str: @property @pulumi.getter - def metadata(self) -> Optional[Mapping[str, str]]: + def metadata(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A mapping of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API). """ @@ -320,7 +320,7 @@ def metadata(self) -> Optional[Mapping[str, str]]: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The region where the bucket resides (Defaults to `nyc3`) """ @@ -328,7 +328,7 @@ def region(self) -> str: @property @pulumi.getter - def source(self) -> Optional[str]: + def source(self) -> pulumi.Output[Optional[str]]: """ The path to a file that will be read and uploaded as raw bytes for the object content. """ @@ -336,7 +336,7 @@ def source(self) -> Optional[str]: @property @pulumi.getter(name="versionId") - def version_id(self) -> str: + def version_id(self) -> pulumi.Output[str]: """ A unique version ID value for the object, if bucket versioning is enabled. """ @@ -344,7 +344,7 @@ def version_id(self) -> str: @property @pulumi.getter(name="websiteRedirect") - def website_redirect(self) -> Optional[str]: + def website_redirect(self) -> pulumi.Output[Optional[str]]: """ Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html). """ diff --git a/sdk/python/pulumi_digitalocean/ssh_key.py b/sdk/python/pulumi_digitalocean/ssh_key.py index 18b1d8a5..5a1a3547 100644 --- a/sdk/python/pulumi_digitalocean/ssh_key.py +++ b/sdk/python/pulumi_digitalocean/ssh_key.py @@ -13,7 +13,7 @@ class SshKey(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, public_key: Optional[pulumi.Input[str]] = None, @@ -106,7 +106,7 @@ def get(resource_name: str, @property @pulumi.getter - def fingerprint(self) -> str: + def fingerprint(self) -> pulumi.Output[str]: """ The fingerprint of the SSH key """ @@ -114,7 +114,7 @@ def fingerprint(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the SSH key for identification """ @@ -122,7 +122,7 @@ def name(self) -> str: @property @pulumi.getter(name="publicKey") - def public_key(self) -> str: + def public_key(self) -> pulumi.Output[str]: """ The public key. If this is a file, it can be read using the file interpolation function diff --git a/sdk/python/pulumi_digitalocean/tag.py b/sdk/python/pulumi_digitalocean/tag.py index 9f16e3c8..fd5bb721 100644 --- a/sdk/python/pulumi_digitalocean/tag.py +++ b/sdk/python/pulumi_digitalocean/tag.py @@ -13,7 +13,7 @@ class Tag(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, __props__=None, @@ -116,7 +116,7 @@ def get(resource_name: str, @property @pulumi.getter(name="databasesCount") - def databases_count(self) -> float: + def databases_count(self) -> pulumi.Output[float]: """ A count of the database clusters that the tag is applied to. """ @@ -124,7 +124,7 @@ def databases_count(self) -> float: @property @pulumi.getter(name="dropletsCount") - def droplets_count(self) -> float: + def droplets_count(self) -> pulumi.Output[float]: """ A count of the Droplets the tag is applied to. """ @@ -132,7 +132,7 @@ def droplets_count(self) -> float: @property @pulumi.getter(name="imagesCount") - def images_count(self) -> float: + def images_count(self) -> pulumi.Output[float]: """ A count of the images that the tag is applied to. """ @@ -140,7 +140,7 @@ def images_count(self) -> float: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ The name of the tag """ @@ -148,7 +148,7 @@ def name(self) -> str: @property @pulumi.getter(name="totalResourceCount") - def total_resource_count(self) -> float: + def total_resource_count(self) -> pulumi.Output[float]: """ A count of the total number of resources that the tag is applied to. """ @@ -156,7 +156,7 @@ def total_resource_count(self) -> float: @property @pulumi.getter(name="volumeSnapshotsCount") - def volume_snapshots_count(self) -> float: + def volume_snapshots_count(self) -> pulumi.Output[float]: """ A count of the volume snapshots that the tag is applied to. """ @@ -164,7 +164,7 @@ def volume_snapshots_count(self) -> float: @property @pulumi.getter(name="volumesCount") - def volumes_count(self) -> float: + def volumes_count(self) -> pulumi.Output[float]: """ A count of the volumes that the tag is applied to. """ diff --git a/sdk/python/pulumi_digitalocean/volume.py b/sdk/python/pulumi_digitalocean/volume.py index cfa7755e..8d9d9c38 100644 --- a/sdk/python/pulumi_digitalocean/volume.py +++ b/sdk/python/pulumi_digitalocean/volume.py @@ -13,7 +13,7 @@ class Volume(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, description: Optional[pulumi.Input[str]] = None, filesystem_type: Optional[pulumi.Input[str]] = None, @@ -173,7 +173,7 @@ def get(resource_name: str, @property @pulumi.getter - def description(self) -> Optional[str]: + def description(self) -> pulumi.Output[Optional[str]]: """ A free-form text field up to a limit of 1024 bytes to describe a block storage volume. """ @@ -181,7 +181,7 @@ def description(self) -> Optional[str]: @property @pulumi.getter(name="dropletIds") - def droplet_ids(self) -> List[float]: + def droplet_ids(self) -> pulumi.Output[List[float]]: """ A list of associated droplet ids. """ @@ -189,7 +189,7 @@ def droplet_ids(self) -> List[float]: @property @pulumi.getter(name="filesystemLabel") - def filesystem_label(self) -> str: + def filesystem_label(self) -> pulumi.Output[str]: """ Filesystem label for the block storage volume. """ @@ -197,7 +197,7 @@ def filesystem_label(self) -> str: @property @pulumi.getter(name="filesystemType") - def filesystem_type(self) -> str: + def filesystem_type(self) -> pulumi.Output[str]: """ Filesystem type (`xfs` or `ext4`) for the block storage volume. """ @@ -205,7 +205,7 @@ def filesystem_type(self) -> str: @property @pulumi.getter(name="initialFilesystemLabel") - def initial_filesystem_label(self) -> Optional[str]: + def initial_filesystem_label(self) -> pulumi.Output[Optional[str]]: """ Initial filesystem label for the block storage volume. """ @@ -213,7 +213,7 @@ def initial_filesystem_label(self) -> Optional[str]: @property @pulumi.getter(name="initialFilesystemType") - def initial_filesystem_type(self) -> Optional[str]: + def initial_filesystem_type(self) -> pulumi.Output[Optional[str]]: """ Initial filesystem type (`xfs` or `ext4`) for the block storage volume. """ @@ -221,7 +221,7 @@ def initial_filesystem_type(self) -> Optional[str]: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. """ @@ -229,7 +229,7 @@ def name(self) -> str: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The region that the block storage volume will be created in. """ @@ -237,7 +237,7 @@ def region(self) -> str: @property @pulumi.getter - def size(self) -> float: + def size(self) -> pulumi.Output[float]: """ The size of the block storage volume in GiB. If updated, can only be expanded. """ @@ -245,7 +245,7 @@ def size(self) -> float: @property @pulumi.getter(name="snapshotId") - def snapshot_id(self) -> Optional[str]: + def snapshot_id(self) -> pulumi.Output[Optional[str]]: """ The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limitied on creation to that of the referenced snapshot """ @@ -253,7 +253,7 @@ def snapshot_id(self) -> Optional[str]: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ A list of the tags to be applied to this Volume. """ @@ -261,7 +261,7 @@ def tags(self) -> Optional[List[str]]: @property @pulumi.getter(name="volumeUrn") - def volume_urn(self) -> str: + def volume_urn(self) -> pulumi.Output[str]: """ The uniform resource name for the volume. """ diff --git a/sdk/python/pulumi_digitalocean/volume_attachment.py b/sdk/python/pulumi_digitalocean/volume_attachment.py index 6da6486e..c2b172a7 100644 --- a/sdk/python/pulumi_digitalocean/volume_attachment.py +++ b/sdk/python/pulumi_digitalocean/volume_attachment.py @@ -13,7 +13,7 @@ class VolumeAttachment(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, droplet_id: Optional[pulumi.Input[float]] = None, volume_id: Optional[pulumi.Input[str]] = None, @@ -105,7 +105,7 @@ def get(resource_name: str, @property @pulumi.getter(name="dropletId") - def droplet_id(self) -> float: + def droplet_id(self) -> pulumi.Output[float]: """ ID of the Droplet to attach the volume to. """ @@ -113,7 +113,7 @@ def droplet_id(self) -> float: @property @pulumi.getter(name="volumeId") - def volume_id(self) -> str: + def volume_id(self) -> pulumi.Output[str]: """ ID of the Volume to be attached to the Droplet. """ diff --git a/sdk/python/pulumi_digitalocean/volume_snapshot.py b/sdk/python/pulumi_digitalocean/volume_snapshot.py index ee4254e4..c5505cb5 100644 --- a/sdk/python/pulumi_digitalocean/volume_snapshot.py +++ b/sdk/python/pulumi_digitalocean/volume_snapshot.py @@ -13,7 +13,7 @@ class VolumeSnapshot(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, name: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[List[pulumi.Input[str]]]] = None, @@ -116,7 +116,7 @@ def get(resource_name: str, @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ The date and time the volume snapshot was created. """ @@ -124,7 +124,7 @@ def created_at(self) -> str: @property @pulumi.getter(name="minDiskSize") - def min_disk_size(self) -> float: + def min_disk_size(self) -> pulumi.Output[float]: """ The minimum size in gigabytes required for a volume to be created based on this volume snapshot. """ @@ -132,7 +132,7 @@ def min_disk_size(self) -> float: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ A name for the volume snapshot. """ @@ -140,7 +140,7 @@ def name(self) -> str: @property @pulumi.getter - def regions(self) -> List[str]: + def regions(self) -> pulumi.Output[List[str]]: """ A list of DigitalOcean region "slugs" indicating where the volume snapshot is available. """ @@ -148,7 +148,7 @@ def regions(self) -> List[str]: @property @pulumi.getter - def size(self) -> float: + def size(self) -> pulumi.Output[float]: """ The billable size of the volume snapshot in gigabytes. """ @@ -156,7 +156,7 @@ def size(self) -> float: @property @pulumi.getter - def tags(self) -> Optional[List[str]]: + def tags(self) -> pulumi.Output[Optional[List[str]]]: """ A list of the tags to be applied to this volume snapshot. """ @@ -164,7 +164,7 @@ def tags(self) -> Optional[List[str]]: @property @pulumi.getter(name="volumeId") - def volume_id(self) -> str: + def volume_id(self) -> pulumi.Output[str]: """ The ID of the volume from which the volume snapshot originated. """ diff --git a/sdk/python/pulumi_digitalocean/vpc.py b/sdk/python/pulumi_digitalocean/vpc.py index 24ec4bdf..f30aabb3 100644 --- a/sdk/python/pulumi_digitalocean/vpc.py +++ b/sdk/python/pulumi_digitalocean/vpc.py @@ -13,7 +13,7 @@ class Vpc(pulumi.CustomResource): def __init__(__self__, - resource_name, + resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, description: Optional[pulumi.Input[str]] = None, ip_range: Optional[pulumi.Input[str]] = None, @@ -136,7 +136,7 @@ def get(resource_name: str, @property @pulumi.getter(name="createdAt") - def created_at(self) -> str: + def created_at(self) -> pulumi.Output[str]: """ The date and time of when the VPC was created. """ @@ -144,7 +144,7 @@ def created_at(self) -> str: @property @pulumi.getter - def default(self) -> bool: + def default(self) -> pulumi.Output[bool]: """ A boolean indicating whether or not the VPC is the default one for the region. """ @@ -152,7 +152,7 @@ def default(self) -> bool: @property @pulumi.getter - def description(self) -> Optional[str]: + def description(self) -> pulumi.Output[Optional[str]]: """ A free-form text field up to a limit of 255 characters to describe the VPC. """ @@ -160,7 +160,7 @@ def description(self) -> Optional[str]: @property @pulumi.getter(name="ipRange") - def ip_range(self) -> str: + def ip_range(self) -> pulumi.Output[str]: """ The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`. """ @@ -168,7 +168,7 @@ def ip_range(self) -> str: @property @pulumi.getter - def name(self) -> str: + def name(self) -> pulumi.Output[str]: """ A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only. """ @@ -176,7 +176,7 @@ def name(self) -> str: @property @pulumi.getter - def region(self) -> str: + def region(self) -> pulumi.Output[str]: """ The DigitalOcean region slug for the VPC's location. """ @@ -184,7 +184,7 @@ def region(self) -> str: @property @pulumi.getter(name="vpcUrn") - def vpc_urn(self) -> str: + def vpc_urn(self) -> pulumi.Output[str]: """ The uniform resource name (URN) for the VPC. """