azure-justrun v0.2.3 published on Tuesday, Aug 2, 2022 by Pulumi
azure-justrun.Webapp
Explore with Pulumi AI
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?: ComponentResourceOptions);
@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, ComponentResourceOptions? opts = null)
public Webapp(String name, WebappArgs args)
public Webapp(String name, WebappArgs args, ComponentResourceOptions 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 ComponentResourceOptions
- 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 ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebappArgs
- 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 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Webapp resource accepts the following input properties:
- App
Sku stringName - The tier of the compute instance running the server. Also see appSkuName
- App
Sku stringTier - The name of the compute instance running the server. Also see appSkuTier
- Container
Public Pulumi.Access Azure Justrun. Public Access - The public access level of the BlobContainer containg the website data.
- File
Path string - The relative file path to the folder containing web files.
- Name
Prefix string - The name prefix given to child resources of this component. Should not contain dashes.
- 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.
- Storage
Sku Pulumi.Name Azure Justrun. Storage Sku Name - The SKU name of the storage account created, if storageAccount is not provided
- App
Sku stringName - The tier of the compute instance running the server. Also see appSkuName
- App
Sku stringTier - The name of the compute instance running the server. Also see appSkuTier
- Container
Public PublicAccess Access - The public access level of the BlobContainer containg the website data.
- File
Path string - The relative file path to the folder containing web files.
- Name
Prefix string - The name prefix given to child resources of this component. Should not contain dashes.
- 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.
- Storage
Sku StorageName Sku Name - The SKU name of the storage account created, if storageAccount is not provided
- app
Sku StringName - The tier of the compute instance running the server. Also see appSkuName
- app
Sku StringTier - The name of the compute instance running the server. Also see appSkuTier
- container
Public PublicAccess Access - The public access level of the BlobContainer containg the website data.
- file
Path String - The relative file path to the folder containing web files.
- name
Prefix String - The name prefix given to child resources of this component. Should not contain dashes.
- 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.
- storage
Sku StorageName Sku Name - The SKU name of the storage account created, if storageAccount is not provided
- app
Sku stringName - The tier of the compute instance running the server. Also see appSkuName
- app
Sku stringTier - The name of the compute instance running the server. Also see appSkuTier
- container
Public PublicAccess Access - The public access level of the BlobContainer containg the website data.
- file
Path string - The relative file path to the folder containing web files.
- name
Prefix string - The name prefix given to child resources of this component. Should not contain dashes.
- 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.
- storage
Sku StorageName Sku Name - The SKU name of the storage account created, if storageAccount is not provided
- app_
sku_ strname - The tier of the compute instance running the server. Also see appSkuName
- app_
sku_ strtier - The name of the compute instance running the server. Also see appSkuTier
- container_
public_ Publicaccess Access - 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_ 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.
- storage_
sku_ Storagename Sku Name - The SKU name of the storage account created, if storageAccount is not provided
- app
Sku StringName - The tier of the compute instance running the server. Also see appSkuName
- app
Sku StringTier - The name of the compute instance running the server. Also see appSkuTier
- container
Public "Container" | "Blob" | "None"Access - The public access level of the BlobContainer containg the website data.
- file
Path String - The relative file path to the folder containing web files.
- name
Prefix String - The name prefix given to child resources of this component. Should not contain dashes.
- 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.
- storage
Sku "Standard_LRS" | "Standard_GRS" | "Standard_RAGRS" | "Standard_ZRS" | "Premium_LRS" | "Premium_ZRS" | "Standard_GZRS" | "Standard_RAGZRS"Name - 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
- Public
Access Container - Container
- Public
Access Blob - Blob
- Public
Access None - 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
- Storage
Sku Name_Standard_LRS - Standard_LRS
- Storage
Sku Name_Standard_GRS - Standard_GRS
- Storage
Sku Name_Standard_RAGRS - Standard_RAGRS
- Storage
Sku Name_Standard_ZRS - Standard_ZRS
- Storage
Sku Name_Premium_LRS - Premium_LRS
- Storage
Sku Name_Premium_ZRS - Premium_ZRS
- Storage
Sku Name_Standard_GZRS - Standard_GZRS
- Storage
Sku Name_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