azure-justrun v0.2.3 published on Tuesday, Aug 2, 2022 by Pulumi
azure-justrun.Containerapp
Explore with Pulumi AI
This represents a container app component resource
Create Containerapp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Containerapp(name: string, args?: ContainerappArgs, opts?: ComponentResourceOptions);
@overload
def Containerapp(resource_name: str,
args: Optional[ContainerappArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Containerapp(resource_name: str,
opts: Optional[ResourceOptions] = None,
docker_image_name: Optional[str] = None,
image_directory: Optional[str] = None,
name_prefix: Optional[str] = None,
registry_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_account_name: Optional[str] = None,
version: Optional[str] = None)
func NewContainerapp(ctx *Context, name string, args *ContainerappArgs, opts ...ResourceOption) (*Containerapp, error)
public Containerapp(string name, ContainerappArgs? args = null, ComponentResourceOptions? opts = null)
public Containerapp(String name, ContainerappArgs args)
public Containerapp(String name, ContainerappArgs args, ComponentResourceOptions options)
type: azure-justrun:containerapp
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 ContainerappArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerappArgs
- 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 ContainerappArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerappArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerappArgs
- 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 containerappResource = new AzureJustrun.Containerapp("containerappResource", new()
{
DockerImageName = "string",
ImageDirectory = "string",
NamePrefix = "string",
RegistryName = "string",
ResourceGroupName = "string",
StorageAccountName = "string",
Version = "string",
});
example, err := azurejustrun.Newcontainerapp(ctx, "containerappResource", &azurejustrun.containerappArgs{
DockerImageName: pulumi.String("string"),
ImageDirectory: pulumi.String("string"),
NamePrefix: pulumi.String("string"),
RegistryName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
StorageAccountName: pulumi.String("string"),
Version: pulumi.String("string"),
})
var containerappResource = new Containerapp("containerappResource", ContainerappArgs.builder()
.dockerImageName("string")
.imageDirectory("string")
.namePrefix("string")
.registryName("string")
.resourceGroupName("string")
.storageAccountName("string")
.version("string")
.build());
containerapp_resource = azure_justrun.Containerapp("containerappResource",
docker_image_name="string",
image_directory="string",
name_prefix="string",
registry_name="string",
resource_group_name="string",
storage_account_name="string",
version="string")
const containerappResource = new azure_justrun.Containerapp("containerappResource", {
dockerImageName: "string",
imageDirectory: "string",
namePrefix: "string",
registryName: "string",
resourceGroupName: "string",
storageAccountName: "string",
version: "string",
});
type: azure-justrun:containerapp
properties:
dockerImageName: string
imageDirectory: string
namePrefix: string
registryName: string
resourceGroupName: string
storageAccountName: string
version: string
Containerapp 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 Containerapp resource accepts the following input properties:
- Docker
Image stringName - The name of the docker image. One will be created if not provided
- Image
Directory string - The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
- Name
Prefix string - The name prefix given to child resources of this component. Should not contain dashes.
- Registry
Name string - The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
- Resource
Group stringName - The resource group to use. One will be created if not provided.
- Storage
Account stringName - The name of the storage account to use. One will be created if not provided.
- Version string
- The version of the created docker image
- Docker
Image stringName - The name of the docker image. One will be created if not provided
- Image
Directory string - The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
- Name
Prefix string - The name prefix given to child resources of this component. Should not contain dashes.
- Registry
Name string - The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
- Resource
Group stringName - The resource group to use. One will be created if not provided.
- Storage
Account stringName - The name of the storage account to use. One will be created if not provided.
- Version string
- The version of the created docker image
- docker
Image StringName - The name of the docker image. One will be created if not provided
- image
Directory String - The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
- name
Prefix String - The name prefix given to child resources of this component. Should not contain dashes.
- registry
Name String - The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
- resource
Group StringName - The resource group to use. One will be created if not provided.
- storage
Account StringName - The name of the storage account to use. One will be created if not provided.
- version String
- The version of the created docker image
- docker
Image stringName - The name of the docker image. One will be created if not provided
- image
Directory string - The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
- name
Prefix string - The name prefix given to child resources of this component. Should not contain dashes.
- registry
Name string - The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
- resource
Group stringName - The resource group to use. One will be created if not provided.
- storage
Account stringName - The name of the storage account to use. One will be created if not provided.
- version string
- The version of the created docker image
- docker_
image_ strname - The name of the docker image. One will be created if not provided
- image_
directory str - The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
- name_
prefix str - The name prefix given to child resources of this component. Should not contain dashes.
- registry_
name str - The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
- resource_
group_ strname - The resource group to use. One will be created if not provided.
- storage_
account_ strname - The name of the storage account to use. One will be created if not provided.
- version str
- The version of the created docker image
- docker
Image StringName - The name of the docker image. One will be created if not provided
- image
Directory String - The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
- name
Prefix String - The name prefix given to child resources of this component. Should not contain dashes.
- registry
Name String - The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
- resource
Group StringName - The resource group to use. One will be created if not provided.
- storage
Account StringName - The name of the storage account to use. One will be created if not provided.
- version String
- The version of the created docker image
Outputs
All input properties are implicitly available as output properties. Additionally, the Containerapp resource produces the following output properties:
- Url string
- The URL of the container app
- Url string
- The URL of the container app
- url String
- The URL of the container app
- url string
- The URL of the container app
- url str
- The URL of the container app
- url String
- The URL of the container app
Package Details
- Repository
- Azure Justrun pulumi/pulumi-azure-justrun
- License
- Apache-2.0