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

azure-justrun.Webapp

Explore with Pulumi AI

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

    This represents a web app component resource

    Create Webapp Resource

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

    Constructor syntax

    new Webapp(name: string, args?: WebappArgs, opts?: CustomResourceOptions);
    @overload
    def Webapp(resource_name: str,
               args: Optional[WebappArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Webapp(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               app_sku_name: Optional[str] = None,
               app_sku_tier: Optional[str] = None,
               container_public_access: Optional[PublicAccess] = None,
               file_path: Optional[str] = None,
               name_prefix: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               storage_account_name: Optional[str] = None,
               storage_sku_name: Optional[StorageSkuName] = None)
    func NewWebapp(ctx *Context, name string, args *WebappArgs, opts ...ResourceOption) (*Webapp, error)
    public Webapp(string name, WebappArgs? args = null, CustomResourceOptions? opts = null)
    public Webapp(String name, WebappArgs args)
    public Webapp(String name, WebappArgs args, CustomResourceOptions options)
    
    type: azure-justrun:webapp
    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 WebappArgs
    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 WebappArgs
    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 WebappArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebappArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebappArgs
    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 webappResource = new AzureJustrun.Webapp("webappResource", new()
    {
        AppSkuName = "string",
        AppSkuTier = "string",
        ContainerPublicAccess = AzureJustrun.PublicAccess.Container,
        FilePath = "string",
        NamePrefix = "string",
        ResourceGroupName = "string",
        StorageAccountName = "string",
        StorageSkuName = AzureJustrun.StorageSkuName.Standard_LRS,
    });
    
    example, err := azurejustrun.Newwebapp(ctx, "webappResource", &azurejustrun.webappArgs{
    	AppSkuName:            pulumi.String("string"),
    	AppSkuTier:            pulumi.String("string"),
    	ContainerPublicAccess: azurejustrun.PublicAccessContainer,
    	FilePath:              pulumi.String("string"),
    	NamePrefix:            pulumi.String("string"),
    	ResourceGroupName:     pulumi.String("string"),
    	StorageAccountName:    pulumi.String("string"),
    	StorageSkuName:        azurejustrun.StorageSkuName_Standard_LRS,
    })
    
    var webappResource = new Webapp("webappResource", WebappArgs.builder()
        .appSkuName("string")
        .appSkuTier("string")
        .containerPublicAccess("Container")
        .filePath("string")
        .namePrefix("string")
        .resourceGroupName("string")
        .storageAccountName("string")
        .storageSkuName("Standard_LRS")
        .build());
    
    webapp_resource = azure_justrun.Webapp("webappResource",
        app_sku_name="string",
        app_sku_tier="string",
        container_public_access=azure_justrun.PublicAccess.CONTAINER,
        file_path="string",
        name_prefix="string",
        resource_group_name="string",
        storage_account_name="string",
        storage_sku_name=azure_justrun.StorageSkuName.STANDARD_LRS)
    
    const webappResource = new azure_justrun.Webapp("webappResource", {
        appSkuName: "string",
        appSkuTier: "string",
        containerPublicAccess: azure_justrun.PublicAccess.Container,
        filePath: "string",
        namePrefix: "string",
        resourceGroupName: "string",
        storageAccountName: "string",
        storageSkuName: azure_justrun.StorageSkuName.Standard_LRS,
    });
    
    type: azure-justrun:webapp
    properties:
        appSkuName: string
        appSkuTier: string
        containerPublicAccess: Container
        filePath: string
        namePrefix: string
        resourceGroupName: string
        storageAccountName: string
        storageSkuName: Standard_LRS
    

    Webapp 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 Webapp resource accepts the following input properties:

    AppSkuName string
    The tier of the compute instance running the server. Also see appSkuName
    AppSkuTier string
    The name of the compute instance running the server. Also see appSkuTier
    ContainerPublicAccess Pulumi.AzureJustrun.PublicAccess
    The public access level of the BlobContainer containg the website data.
    FilePath string
    The relative file path to the folder containing web files.
    NamePrefix string
    The name prefix given to child resources of this component. Should not contain dashes.
    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.
    StorageSkuName Pulumi.AzureJustrun.StorageSkuName
    The SKU name of the storage account created, if storageAccount is not provided
    AppSkuName string
    The tier of the compute instance running the server. Also see appSkuName
    AppSkuTier string
    The name of the compute instance running the server. Also see appSkuTier
    ContainerPublicAccess PublicAccess
    The public access level of the BlobContainer containg the website data.
    FilePath string
    The relative file path to the folder containing web files.
    NamePrefix string
    The name prefix given to child resources of this component. Should not contain dashes.
    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.
    StorageSkuName StorageSkuName
    The SKU name of the storage account created, if storageAccount is not provided
    appSkuName String
    The tier of the compute instance running the server. Also see appSkuName
    appSkuTier String
    The name of the compute instance running the server. Also see appSkuTier
    containerPublicAccess PublicAccess
    The public access level of the BlobContainer containg the website data.
    filePath String
    The relative file path to the folder containing web files.
    namePrefix String
    The name prefix given to child resources of this component. Should not contain dashes.
    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.
    storageSkuName StorageSkuName
    The SKU name of the storage account created, if storageAccount is not provided
    appSkuName string
    The tier of the compute instance running the server. Also see appSkuName
    appSkuTier string
    The name of the compute instance running the server. Also see appSkuTier
    containerPublicAccess PublicAccess
    The public access level of the BlobContainer containg the website data.
    filePath string
    The relative file path to the folder containing web files.
    namePrefix string
    The name prefix given to child resources of this component. Should not contain dashes.
    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.
    storageSkuName StorageSkuName
    The SKU name of the storage account created, if storageAccount is not provided
    app_sku_name str
    The tier of the compute instance running the server. Also see appSkuName
    app_sku_tier str
    The name of the compute instance running the server. Also see appSkuTier
    container_public_access PublicAccess
    The public access level of the BlobContainer containg the website data.
    file_path str
    The relative file path to the folder containing web files.
    name_prefix str
    The name prefix given to child resources of this component. Should not contain dashes.
    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.
    storage_sku_name StorageSkuName
    The SKU name of the storage account created, if storageAccount is not provided
    appSkuName String
    The tier of the compute instance running the server. Also see appSkuName
    appSkuTier String
    The name of the compute instance running the server. Also see appSkuTier
    containerPublicAccess "Container" | "Blob" | "None"
    The public access level of the BlobContainer containg the website data.
    filePath String
    The relative file path to the folder containing web files.
    namePrefix String
    The name prefix given to child resources of this component. Should not contain dashes.
    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.
    storageSkuName "Standard_LRS" | "Standard_GRS" | "Standard_RAGRS" | "Standard_ZRS" | "Premium_LRS" | "Premium_ZRS" | "Standard_GZRS" | "Standard_RAGZRS"
    The SKU name of the storage account created, if storageAccount is not provided

    Outputs

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

    Url string
    The URL of the web app
    Url string
    The URL of the web app
    url String
    The URL of the web app
    url string
    The URL of the web app
    url str
    The URL of the web app
    url String
    The URL of the web app

    Supporting Types

    PublicAccess, PublicAccessArgs

    Container
    Container
    Blob
    Blob
    None
    None
    PublicAccessContainer
    Container
    PublicAccessBlob
    Blob
    PublicAccessNone
    None
    Container
    Container
    Blob
    Blob
    None
    None
    Container
    Container
    Blob
    Blob
    None
    None
    CONTAINER
    Container
    BLOB
    Blob
    NONE
    None
    "Container"
    Container
    "Blob"
    Blob
    "None"
    None

    StorageSkuName, StorageSkuNameArgs

    Standard_LRS
    Standard_LRS
    Standard_GRS
    Standard_GRS
    Standard_RAGRS
    Standard_RAGRS
    Standard_ZRS
    Standard_ZRS
    Premium_LRS
    Premium_LRS
    Premium_ZRS
    Premium_ZRS
    Standard_GZRS
    Standard_GZRS
    Standard_RAGZRS
    Standard_RAGZRS
    StorageSkuName_Standard_LRS
    Standard_LRS
    StorageSkuName_Standard_GRS
    Standard_GRS
    StorageSkuName_Standard_RAGRS
    Standard_RAGRS
    StorageSkuName_Standard_ZRS
    Standard_ZRS
    StorageSkuName_Premium_LRS
    Premium_LRS
    StorageSkuName_Premium_ZRS
    Premium_ZRS
    StorageSkuName_Standard_GZRS
    Standard_GZRS
    StorageSkuName_Standard_RAGZRS
    Standard_RAGZRS
    Standard_LRS
    Standard_LRS
    Standard_GRS
    Standard_GRS
    Standard_RAGRS
    Standard_RAGRS
    Standard_ZRS
    Standard_ZRS
    Premium_LRS
    Premium_LRS
    Premium_ZRS
    Premium_ZRS
    Standard_GZRS
    Standard_GZRS
    Standard_RAGZRS
    Standard_RAGZRS
    Standard_LRS
    Standard_LRS
    Standard_GRS
    Standard_GRS
    Standard_RAGRS
    Standard_RAGRS
    Standard_ZRS
    Standard_ZRS
    Premium_LRS
    Premium_LRS
    Premium_ZRS
    Premium_ZRS
    Standard_GZRS
    Standard_GZRS
    Standard_RAGZRS
    Standard_RAGZRS
    STANDARD_LRS
    Standard_LRS
    STANDARD_GRS
    Standard_GRS
    STANDARD_RAGRS
    Standard_RAGRS
    STANDARD_ZRS
    Standard_ZRS
    PREMIUM_LRS
    Premium_LRS
    PREMIUM_ZRS
    Premium_ZRS
    STANDARD_GZRS
    Standard_GZRS
    STANDARD_RAGZRS
    Standard_RAGZRS
    "Standard_LRS"
    Standard_LRS
    "Standard_GRS"
    Standard_GRS
    "Standard_RAGRS"
    Standard_RAGRS
    "Standard_ZRS"
    Standard_ZRS
    "Premium_LRS"
    Premium_LRS
    "Premium_ZRS"
    Premium_ZRS
    "Standard_GZRS"
    Standard_GZRS
    "Standard_RAGZRS"
    Standard_RAGZRS

    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