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

gcp-global-cloudrun logo
GCP Global CloudRun v0.0.3 published on Friday, Oct 15, 2021 by Paul Stack

    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?: CustomResourceOptions);
    @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, CustomResourceOptions? opts = null)
    public Deployment(String name, DeploymentArgs args)
    public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
    
    type: gcp-global-cloudrun:Deployment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    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",
    });
    
    example, err := gcpglobalcloudrun.NewDeployment(ctx, "deploymentResource", &gcpglobalcloudrun.DeploymentArgs{
    	ImageName:   pulumi.String("string"),
    	ProjectId:   "string",
    	ServiceName: "string",
    })
    
    var deploymentResource = new Deployment("deploymentResource", DeploymentArgs.builder()
        .imageName("string")
        .projectId("string")
        .serviceName("string")
        .build());
    
    deployment_resource = gcp_global_cloudrun.Deployment("deploymentResource",
        image_name="string",
        project_id="string",
        service_name="string")
    
    const deploymentResource = new gcp_global_cloudrun.Deployment("deploymentResource", {
        imageName: "string",
        projectId: "string",
        serviceName: "string",
    });
    
    type: gcp-global-cloudrun:Deployment
    properties:
        imageName: string
        projectId: string
        serviceName: string
    

    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

    The Deployment resource accepts the following input properties:

    ImageName string
    The name of the image to deploy to cloudrun
    ProjectId string
    The project in which to create the cloudrun resources
    ServiceName string
    The name of the cloudrun service
    ImageName string
    The name of the image to deploy to cloudrun
    ProjectId string
    The project in which to create the cloudrun resources
    ServiceName string
    The name of the cloudrun service
    imageName String
    The name of the image to deploy to cloudrun
    projectId String
    The project in which to create the cloudrun resources
    serviceName String
    The name of the cloudrun service
    imageName string
    The name of the image to deploy to cloudrun
    projectId string
    The project in which to create the cloudrun resources
    serviceName string
    The name of the cloudrun service
    image_name str
    The name of the image to deploy to cloudrun
    project_id str
    The project in which to create the cloudrun resources
    service_name str
    The name of the cloudrun service
    imageName String
    The name of the image to deploy to cloudrun
    projectId String
    The project in which to create the cloudrun resources
    serviceName 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
    gcp-global-cloudrun logo
    GCP Global CloudRun v0.0.3 published on Friday, Oct 15, 2021 by Paul Stack