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 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?: 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",
});
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
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:
- Image
Name This property is required. string - The name of the image to deploy to cloudrun
- Project
Id This property is required. string - The project in which to create the cloudrun resources
- Service
Name This property is required. string - The name of the cloudrun service
- Image
Name This property is required. string - The name of the image to deploy to cloudrun
- Project
Id This property is required. string - The project in which to create the cloudrun resources
- Service
Name This property is required. string - The name of the cloudrun service
- image
Name This property is required. String - The name of the image to deploy to cloudrun
- project
Id This property is required. String - The project in which to create the cloudrun resources
- service
Name This property is required. String - The name of the cloudrun service
- image
Name This property is required. string - The name of the image to deploy to cloudrun
- project
Id This property is required. string - The project in which to create the cloudrun resources
- service
Name 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
- image
Name This property is required. String - The name of the image to deploy to cloudrun
- project
Id This property is required. String - The project in which to create the cloudrun resources
- service
Name 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:
- Ip
Address string - The IP Address of the global service
- Ip
Address string - The IP Address of the global service
- ip
Address String - The IP Address of the global service
- ip
Address string - The IP Address of the global service
- ip_
address str - The IP Address of the global service
- ip
Address String - The IP Address of the global service
Package Details
- Repository
- Google Global Cloud Run
- License
GCP Global CloudRun v0.0.3 published on Friday, Oct 15, 2021 by Paul Stack