Class RuntimeVirtualMachineVirtualMachineConfigArgs.Builder

    • Method Detail

      • guestAttributes

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder guestAttributes​(@Nullable
                                                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> guestAttributes)
        Parameters:
        guestAttributes - (Output) The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/ storing-retrieving-metadata#guest_attributes)).
        Returns:
        builder
      • guestAttributes

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder guestAttributes​(java.util.Map<java.lang.String,​java.lang.String> guestAttributes)
        Parameters:
        guestAttributes - (Output) The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/ storing-retrieving-metadata#guest_attributes)).
        Returns:
        builder
      • internalIpOnly

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder internalIpOnly​(@Nullable
                                                                                    com.pulumi.core.Output<java.lang.Boolean> internalIpOnly)
        Parameters:
        internalIpOnly - If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
        Returns:
        builder
      • internalIpOnly

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder internalIpOnly​(java.lang.Boolean internalIpOnly)
        Parameters:
        internalIpOnly - If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
        Returns:
        builder
      • labels

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder labels​(@Nullable
                                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
        Returns:
        builder
      • labels

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
        Returns:
        builder
      • metadata

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder metadata​(@Nullable
                                                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> metadata)
        Parameters:
        metadata - The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)).
        Returns:
        builder
      • metadata

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder metadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Parameters:
        metadata - The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)).
        Returns:
        builder
      • network

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder network​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> network)
        Parameters:
        network - The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/global/default` * `projects/[project_id]/regions/global/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
        Returns:
        builder
      • network

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder network​(java.lang.String network)
        Parameters:
        network - The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/global/default` * `projects/[project_id]/regions/global/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.
        Returns:
        builder
      • nicType

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder nicType​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> nicType)
        Parameters:
        nicType - The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`.
        Returns:
        builder
      • nicType

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder nicType​(java.lang.String nicType)
        Parameters:
        nicType - The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`.
        Returns:
        builder
      • reservedIpRange

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder reservedIpRange​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.String> reservedIpRange)
        Parameters:
        reservedIpRange - Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned.
        Returns:
        builder
      • reservedIpRange

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder reservedIpRange​(java.lang.String reservedIpRange)
        Parameters:
        reservedIpRange - Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned.
        Returns:
        builder
      • subnet

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder subnet​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> subnet)
        Parameters:
        subnet - The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
        Returns:
        builder
      • subnet

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder subnet​(java.lang.String subnet)
        Parameters:
        subnet - The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/ regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`
        Returns:
        builder
      • tags

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder tags​(@Nullable
                                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
        Parameters:
        tags - The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
        Returns:
        builder
      • tags

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
        Returns:
        builder
      • tags

        public RuntimeVirtualMachineVirtualMachineConfigArgs.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
        Returns:
        builder