1. Packages
  2. Azure Justrun
  3. API Docs
  4. Containerapp
azure-justrun v0.2.3 published on Tuesday, Aug 2, 2022 by Pulumi

azure-justrun.Containerapp

Explore with Pulumi AI

azure-justrun logo
azure-justrun v0.2.3 published on Tuesday, Aug 2, 2022 by Pulumi

    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?: CustomResourceOptions);
    @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, CustomResourceOptions? opts = null)
    public Containerapp(String name, ContainerappArgs args)
    public Containerapp(String name, ContainerappArgs args, CustomResourceOptions 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 CustomResourceOptions
    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 CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerappArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    The Containerapp resource accepts the following input properties:

    DockerImageName string
    The name of the docker image. One will be created if not provided
    ImageDirectory string
    The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
    NamePrefix string
    The name prefix given to child resources of this component. Should not contain dashes.
    RegistryName string
    The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
    ResourceGroupName string
    The resource group to use. One will be created if not provided.
    StorageAccountName string
    The name of the storage account to use. One will be created if not provided.
    Version string
    The version of the created docker image
    DockerImageName string
    The name of the docker image. One will be created if not provided
    ImageDirectory string
    The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
    NamePrefix string
    The name prefix given to child resources of this component. Should not contain dashes.
    RegistryName string
    The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
    ResourceGroupName string
    The resource group to use. One will be created if not provided.
    StorageAccountName string
    The name of the storage account to use. One will be created if not provided.
    Version string
    The version of the created docker image
    dockerImageName String
    The name of the docker image. One will be created if not provided
    imageDirectory String
    The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
    namePrefix String
    The name prefix given to child resources of this component. Should not contain dashes.
    registryName String
    The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
    resourceGroupName String
    The resource group to use. One will be created if not provided.
    storageAccountName String
    The name of the storage account to use. One will be created if not provided.
    version String
    The version of the created docker image
    dockerImageName string
    The name of the docker image. One will be created if not provided
    imageDirectory string
    The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
    namePrefix string
    The name prefix given to child resources of this component. Should not contain dashes.
    registryName string
    The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
    resourceGroupName string
    The resource group to use. One will be created if not provided.
    storageAccountName string
    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_name str
    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_name str
    The resource group to use. One will be created if not provided.
    storage_account_name str
    The name of the storage account to use. One will be created if not provided.
    version str
    The version of the created docker image
    dockerImageName String
    The name of the docker image. One will be created if not provided
    imageDirectory String
    The name of the directory where the docker image to be created is. NOT the actual directory, i.e. 'nodeapp' instead of './nodeapp'
    namePrefix String
    The name prefix given to child resources of this component. Should not contain dashes.
    registryName String
    The name of the image registry. Must belong to the resource group specified in ResourceGroupName. One will be created if not provided.
    resourceGroupName String
    The resource group to use. One will be created if not provided.
    storageAccountName String
    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
    azure-justrun logo
    azure-justrun v0.2.3 published on Tuesday, Aug 2, 2022 by Pulumi