1. Packages
  2. GCP Global CloudRun
  3. API Docs
  4. Deployment
GCP Global CloudRun v0.0.3 published on Friday, Oct 15, 2021 by Paul Stack

gcp-global-cloudrun.Deployment

Explore with Pulumi AI

Create Deployment Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Deployment(name: string, args: DeploymentArgs, opts?: ComponentResourceOptions);
@overload
def Deployment(resource_name: str,
               args: DeploymentArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Deployment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               image_name: Optional[str] = None,
               project_id: Optional[str] = None,
               service_name: Optional[str] = None)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, ComponentResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, ComponentResourceOptions options)
type: gcp-global-cloudrun:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ComponentResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ComponentResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
options ComponentResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var deploymentResource = new GcpGlobalCloudRun.Deployment("deploymentResource", new()
{
    ImageName = "string",
    ProjectId = "string",
    ServiceName = "string",
});
Copy
example, err := gcpglobalcloudrun.NewDeployment(ctx, "deploymentResource", &gcpglobalcloudrun.DeploymentArgs{
	ImageName:   pulumi.String("string"),
	ProjectId:   "string",
	ServiceName: "string",
})
Copy
var deploymentResource = new Deployment("deploymentResource", DeploymentArgs.builder()
    .imageName("string")
    .projectId("string")
    .serviceName("string")
    .build());
Copy
deployment_resource = gcp_global_cloudrun.Deployment("deploymentResource",
    image_name="string",
    project_id="string",
    service_name="string")
Copy
const deploymentResource = new gcp_global_cloudrun.Deployment("deploymentResource", {
    imageName: "string",
    projectId: "string",
    serviceName: "string",
});
Copy
type: gcp-global-cloudrun:Deployment
properties:
    imageName: string
    projectId: string
    serviceName: string
Copy

Deployment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Deployment resource accepts the following input properties:

ImageName This property is required. string
The name of the image to deploy to cloudrun
ProjectId This property is required. string
The project in which to create the cloudrun resources
ServiceName This property is required. string
The name of the cloudrun service
ImageName This property is required. string
The name of the image to deploy to cloudrun
ProjectId This property is required. string
The project in which to create the cloudrun resources
ServiceName This property is required. string
The name of the cloudrun service
imageName This property is required. String
The name of the image to deploy to cloudrun
projectId This property is required. String
The project in which to create the cloudrun resources
serviceName This property is required. String
The name of the cloudrun service
imageName This property is required. string
The name of the image to deploy to cloudrun
projectId This property is required. string
The project in which to create the cloudrun resources
serviceName This property is required. string
The name of the cloudrun service
image_name This property is required. str
The name of the image to deploy to cloudrun
project_id This property is required. str
The project in which to create the cloudrun resources
service_name This property is required. str
The name of the cloudrun service
imageName This property is required. String
The name of the image to deploy to cloudrun
projectId This property is required. String
The project in which to create the cloudrun resources
serviceName This property is required. String
The name of the cloudrun service

Outputs

All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:

IpAddress string
The IP Address of the global service
IpAddress string
The IP Address of the global service
ipAddress String
The IP Address of the global service
ipAddress string
The IP Address of the global service
ip_address str
The IP Address of the global service
ipAddress String
The IP Address of the global service

Package Details

Repository
Google Global Cloud Run
License