azure.appservice.getAppService
Example Usage
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.AppService.GetAppService.Invoke(new()
{
Name = "search-app-service",
ResourceGroupName = "search-service",
});
return new Dictionary<string, object?>
{
["appServiceId"] = example.Apply(getAppServiceResult => getAppServiceResult.Id),
};
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := appservice.LookupAppService(ctx, &appservice.LookupAppServiceArgs{
Name: "search-app-service",
ResourceGroupName: "search-service",
}, nil)
if err != nil {
return err
}
ctx.Export("appServiceId", example.Id)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appservice.AppserviceFunctions;
import com.pulumi.azure.appservice.inputs.GetAppServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AppserviceFunctions.getAppService(GetAppServiceArgs.builder()
.name("search-app-service")
.resourceGroupName("search-service")
.build());
ctx.export("appServiceId", example.applyValue(getAppServiceResult -> getAppServiceResult.id()));
}
}
import pulumi
import pulumi_azure as azure
example = azure.appservice.get_app_service(name="search-app-service",
resource_group_name="search-service")
pulumi.export("appServiceId", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.appservice.getAppService({
name: "search-app-service",
resourceGroupName: "search-service",
});
export const appServiceId = example.then(example => example.id);
variables:
example:
fn::invoke:
Function: azure:appservice:getAppService
Arguments:
name: search-app-service
resourceGroupName: search-service
outputs:
appServiceId: ${example.id}
Using getAppService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAppService(args: GetAppServiceArgs, opts?: InvokeOptions): Promise<GetAppServiceResult>
function getAppServiceOutput(args: GetAppServiceOutputArgs, opts?: InvokeOptions): Output<GetAppServiceResult>
def get_app_service(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppServiceResult
def get_app_service_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppServiceResult]
func LookupAppService(ctx *Context, args *LookupAppServiceArgs, opts ...InvokeOption) (*LookupAppServiceResult, error)
func LookupAppServiceOutput(ctx *Context, args *LookupAppServiceOutputArgs, opts ...InvokeOption) LookupAppServiceResultOutput
> Note: This function is named LookupAppService
in the Go SDK.
public static class GetAppService
{
public static Task<GetAppServiceResult> InvokeAsync(GetAppServiceArgs args, InvokeOptions? opts = null)
public static Output<GetAppServiceResult> Invoke(GetAppServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppServiceResult> getAppService(GetAppServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:appservice/getAppService:getAppService
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
The name of the App Service.
- Resource
Group stringName The Name of the Resource Group where the App Service exists.
- Name string
The name of the App Service.
- Resource
Group stringName The Name of the Resource Group where the App Service exists.
- name String
The name of the App Service.
- resource
Group StringName The Name of the Resource Group where the App Service exists.
- name string
The name of the App Service.
- resource
Group stringName The Name of the Resource Group where the App Service exists.
- name str
The name of the App Service.
- resource_
group_ strname The Name of the Resource Group where the App Service exists.
- name String
The name of the App Service.
- resource
Group StringName The Name of the Resource Group where the App Service exists.
getAppService Result
The following output properties are available:
- App
Service stringPlan Id The ID of the App Service Plan within which the App Service exists.
- App
Settings Dictionary<string, string> A key-value pair of App Settings for the App Service.
- Client
Affinity boolEnabled Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
- Client
Cert boolEnabled Does the App Service require client certificates for incoming requests?
- Connection
Strings List<GetApp Service Connection String> An
connection_string
block as defined below.- Custom
Domain stringVerification Id An identifier used by App Service to perform domain ownership verification via DNS TXT record.
- Default
Site stringHostname The Default Hostname associated with the App Service - such as
mysite.azurewebsites.net
- Enabled bool
Is the App Service Enabled?
- Https
Only bool Can the App Service only be accessed via HTTPS?
- Id string
The provider-assigned unique ID for this managed resource.
- Location string
The Azure location where the App Service exists.
- Name string
The name for this IP Restriction.
- Outbound
Ip List<string>Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12"]
- Outbound
Ip stringAddresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12
- Possible
Outbound List<string>Ip Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12", "52.143.43.17"]
- not all of which are necessarily in use. Superset ofoutbound_ip_address_list
.- Possible
Outbound stringIp Addresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12,52.143.43.17
- not all of which are necessarily in use. Superset ofoutbound_ip_addresses
.- Resource
Group stringName - Site
Configs List<GetApp Service Site Config> A
site_config
block as defined below.- Site
Credentials List<GetApp Service Site Credential> - Source
Controls List<GetApp Service Source Control> A
source_control
block as defined below.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- App
Service stringPlan Id The ID of the App Service Plan within which the App Service exists.
- App
Settings map[string]string A key-value pair of App Settings for the App Service.
- Client
Affinity boolEnabled Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
- Client
Cert boolEnabled Does the App Service require client certificates for incoming requests?
- Connection
Strings []GetApp Service Connection String An
connection_string
block as defined below.- Custom
Domain stringVerification Id An identifier used by App Service to perform domain ownership verification via DNS TXT record.
- Default
Site stringHostname The Default Hostname associated with the App Service - such as
mysite.azurewebsites.net
- Enabled bool
Is the App Service Enabled?
- Https
Only bool Can the App Service only be accessed via HTTPS?
- Id string
The provider-assigned unique ID for this managed resource.
- Location string
The Azure location where the App Service exists.
- Name string
The name for this IP Restriction.
- Outbound
Ip []stringAddress Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12"]
- Outbound
Ip stringAddresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12
- Possible
Outbound []stringIp Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12", "52.143.43.17"]
- not all of which are necessarily in use. Superset ofoutbound_ip_address_list
.- Possible
Outbound stringIp Addresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12,52.143.43.17
- not all of which are necessarily in use. Superset ofoutbound_ip_addresses
.- Resource
Group stringName - Site
Configs []GetApp Service Site Config A
site_config
block as defined below.- Site
Credentials []GetApp Service Site Credential - Source
Controls []GetApp Service Source Control A
source_control
block as defined below.- map[string]string
A mapping of tags to assign to the resource.
- app
Service StringPlan Id The ID of the App Service Plan within which the App Service exists.
- app
Settings Map<String,String> A key-value pair of App Settings for the App Service.
- client
Affinity BooleanEnabled Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
- client
Cert BooleanEnabled Does the App Service require client certificates for incoming requests?
- connection
Strings List<GetApp Service Connection String> An
connection_string
block as defined below.- custom
Domain StringVerification Id An identifier used by App Service to perform domain ownership verification via DNS TXT record.
- default
Site StringHostname The Default Hostname associated with the App Service - such as
mysite.azurewebsites.net
- enabled Boolean
Is the App Service Enabled?
- https
Only Boolean Can the App Service only be accessed via HTTPS?
- id String
The provider-assigned unique ID for this managed resource.
- location String
The Azure location where the App Service exists.
- name String
The name for this IP Restriction.
- outbound
Ip List<String>Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12"]
- outbound
Ip StringAddresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12
- possible
Outbound List<String>Ip Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12", "52.143.43.17"]
- not all of which are necessarily in use. Superset ofoutbound_ip_address_list
.- possible
Outbound StringIp Addresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12,52.143.43.17
- not all of which are necessarily in use. Superset ofoutbound_ip_addresses
.- resource
Group StringName - site
Configs List<GetApp Service Site Config> A
site_config
block as defined below.- site
Credentials List<GetApp Service Site Credential> - source
Controls List<GetApp Service Source Control> A
source_control
block as defined below.- Map<String,String>
A mapping of tags to assign to the resource.
- app
Service stringPlan Id The ID of the App Service Plan within which the App Service exists.
- app
Settings {[key: string]: string} A key-value pair of App Settings for the App Service.
- client
Affinity booleanEnabled Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
- client
Cert booleanEnabled Does the App Service require client certificates for incoming requests?
- connection
Strings GetApp Service Connection String[] An
connection_string
block as defined below.- custom
Domain stringVerification Id An identifier used by App Service to perform domain ownership verification via DNS TXT record.
- default
Site stringHostname The Default Hostname associated with the App Service - such as
mysite.azurewebsites.net
- enabled boolean
Is the App Service Enabled?
- https
Only boolean Can the App Service only be accessed via HTTPS?
- id string
The provider-assigned unique ID for this managed resource.
- location string
The Azure location where the App Service exists.
- name string
The name for this IP Restriction.
- outbound
Ip string[]Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12"]
- outbound
Ip stringAddresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12
- possible
Outbound string[]Ip Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12", "52.143.43.17"]
- not all of which are necessarily in use. Superset ofoutbound_ip_address_list
.- possible
Outbound stringIp Addresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12,52.143.43.17
- not all of which are necessarily in use. Superset ofoutbound_ip_addresses
.- resource
Group stringName - site
Configs GetApp Service Site Config[] A
site_config
block as defined below.- site
Credentials GetApp Service Site Credential[] - source
Controls GetApp Service Source Control[] A
source_control
block as defined below.- {[key: string]: string}
A mapping of tags to assign to the resource.
- app_
service_ strplan_ id The ID of the App Service Plan within which the App Service exists.
- app_
settings Mapping[str, str] A key-value pair of App Settings for the App Service.
- client_
affinity_ boolenabled Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
- client_
cert_ boolenabled Does the App Service require client certificates for incoming requests?
- connection_
strings Sequence[GetApp Service Connection String] An
connection_string
block as defined below.- custom_
domain_ strverification_ id An identifier used by App Service to perform domain ownership verification via DNS TXT record.
- default_
site_ strhostname The Default Hostname associated with the App Service - such as
mysite.azurewebsites.net
- enabled bool
Is the App Service Enabled?
- https_
only bool Can the App Service only be accessed via HTTPS?
- id str
The provider-assigned unique ID for this managed resource.
- location str
The Azure location where the App Service exists.
- name str
The name for this IP Restriction.
- outbound_
ip_ Sequence[str]address_ lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12"]
- outbound_
ip_ straddresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12
- possible_
outbound_ Sequence[str]ip_ address_ lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12", "52.143.43.17"]
- not all of which are necessarily in use. Superset ofoutbound_ip_address_list
.- possible_
outbound_ strip_ addresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12,52.143.43.17
- not all of which are necessarily in use. Superset ofoutbound_ip_addresses
.- resource_
group_ strname - site_
configs Sequence[GetApp Service Site Config] A
site_config
block as defined below.- site_
credentials Sequence[GetApp Service Site Credential] - source_
controls Sequence[GetApp Service Source Control] A
source_control
block as defined below.- Mapping[str, str]
A mapping of tags to assign to the resource.
- app
Service StringPlan Id The ID of the App Service Plan within which the App Service exists.
- app
Settings Map<String> A key-value pair of App Settings for the App Service.
- client
Affinity BooleanEnabled Does the App Service send session affinity cookies, which route client requests in the same session to the same instance?
- client
Cert BooleanEnabled Does the App Service require client certificates for incoming requests?
- connection
Strings List<Property Map> An
connection_string
block as defined below.- custom
Domain StringVerification Id An identifier used by App Service to perform domain ownership verification via DNS TXT record.
- default
Site StringHostname The Default Hostname associated with the App Service - such as
mysite.azurewebsites.net
- enabled Boolean
Is the App Service Enabled?
- https
Only Boolean Can the App Service only be accessed via HTTPS?
- id String
The provider-assigned unique ID for this managed resource.
- location String
The Azure location where the App Service exists.
- name String
The name for this IP Restriction.
- outbound
Ip List<String>Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12"]
- outbound
Ip StringAddresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12
- possible
Outbound List<String>Ip Address Lists A list of outbound IP addresses - such as
["52.23.25.3", "52.143.43.12", "52.143.43.17"]
- not all of which are necessarily in use. Superset ofoutbound_ip_address_list
.- possible
Outbound StringIp Addresses A comma separated list of outbound IP addresses - such as
52.23.25.3,52.143.43.12,52.143.43.17
- not all of which are necessarily in use. Superset ofoutbound_ip_addresses
.- resource
Group StringName - site
Configs List<Property Map> A
site_config
block as defined below.- site
Credentials List<Property Map> - source
Controls List<Property Map> A
source_control
block as defined below.- Map<String>
A mapping of tags to assign to the resource.
Supporting Types
GetAppServiceConnectionString
GetAppServiceSiteConfig
- Acr
Use boolManaged Identity Credentials Are Managed Identity Credentials used for Azure Container Registry pull.
- Acr
User stringManaged Identity Client Id The User Managed Identity Client Id.
- Always
On bool Is the app loaded at all times?
- App
Command stringLine App command line to launch.
- Cors
List<Get
App Service Site Config Cor> A
cors
block as defined above.- Default
Documents List<string> The ordering of default documents to load, if an address isn't specified.
- Dotnet
Framework stringVersion The version of the .NET framework's CLR used in this App Service.
- Ftps
State string State of FTP / FTPS service for this AppService.
- Health
Check stringPath The health check path to be pinged by App Service.
- Http2Enabled bool
Is HTTP2 Enabled on this App Service?
- Ip
Restrictions List<GetApp Service Site Config Ip Restriction> One or more
ip_restriction
blocks as defined above.- Java
Container string The Java Container in use.
- Java
Container stringVersion The version of the Java Container in use.
- Java
Version string The version of Java in use.
- Linux
Fx stringVersion Linux App Framework and version for the AppService.
- Local
Mysql boolEnabled Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
- Managed
Pipeline stringMode The Managed Pipeline Mode used in this App Service.
- Min
Tls stringVersion The minimum supported TLS version for this App Service.
- Number
Of intWorkers The scaled number of workers (for per site scaling) of this App Service.
- Php
Version string The version of PHP used in this App Service.
- Python
Version string The version of Python used in this App Service.
- Remote
Debugging boolEnabled Is Remote Debugging Enabled in this App Service?
- Remote
Debugging stringVersion Which version of Visual Studio is the Remote Debugger compatible with?
- Scm
Ip List<GetRestrictions App Service Site Config Scm Ip Restriction> One or more
scm_ip_restriction
blocks as defined above.- Scm
Type string The type of Source Control enabled for this App Service.
- Scm
Use boolMain Ip Restriction IP security restrictions for scm to use main.
- Use32Bit
Worker boolProcess Does the App Service run in 32 bit mode, rather than 64 bit mode?
- Vnet
Route boolAll Enabled (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
- Websockets
Enabled bool Are WebSockets enabled for this App Service?
- Windows
Fx stringVersion Windows Container Docker Image for the AppService.
- Acr
Use boolManaged Identity Credentials Are Managed Identity Credentials used for Azure Container Registry pull.
- Acr
User stringManaged Identity Client Id The User Managed Identity Client Id.
- Always
On bool Is the app loaded at all times?
- App
Command stringLine App command line to launch.
- Cors
[]Get
App Service Site Config Cor A
cors
block as defined above.- Default
Documents []string The ordering of default documents to load, if an address isn't specified.
- Dotnet
Framework stringVersion The version of the .NET framework's CLR used in this App Service.
- Ftps
State string State of FTP / FTPS service for this AppService.
- Health
Check stringPath The health check path to be pinged by App Service.
- Http2Enabled bool
Is HTTP2 Enabled on this App Service?
- Ip
Restrictions []GetApp Service Site Config Ip Restriction One or more
ip_restriction
blocks as defined above.- Java
Container string The Java Container in use.
- Java
Container stringVersion The version of the Java Container in use.
- Java
Version string The version of Java in use.
- Linux
Fx stringVersion Linux App Framework and version for the AppService.
- Local
Mysql boolEnabled Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
- Managed
Pipeline stringMode The Managed Pipeline Mode used in this App Service.
- Min
Tls stringVersion The minimum supported TLS version for this App Service.
- Number
Of intWorkers The scaled number of workers (for per site scaling) of this App Service.
- Php
Version string The version of PHP used in this App Service.
- Python
Version string The version of Python used in this App Service.
- Remote
Debugging boolEnabled Is Remote Debugging Enabled in this App Service?
- Remote
Debugging stringVersion Which version of Visual Studio is the Remote Debugger compatible with?
- Scm
Ip []GetRestrictions App Service Site Config Scm Ip Restriction One or more
scm_ip_restriction
blocks as defined above.- Scm
Type string The type of Source Control enabled for this App Service.
- Scm
Use boolMain Ip Restriction IP security restrictions for scm to use main.
- Use32Bit
Worker boolProcess Does the App Service run in 32 bit mode, rather than 64 bit mode?
- Vnet
Route boolAll Enabled (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
- Websockets
Enabled bool Are WebSockets enabled for this App Service?
- Windows
Fx stringVersion Windows Container Docker Image for the AppService.
- acr
Use BooleanManaged Identity Credentials Are Managed Identity Credentials used for Azure Container Registry pull.
- acr
User StringManaged Identity Client Id The User Managed Identity Client Id.
- always
On Boolean Is the app loaded at all times?
- app
Command StringLine App command line to launch.
- cors
List<Get
App Service Site Config Cor> A
cors
block as defined above.- default
Documents List<String> The ordering of default documents to load, if an address isn't specified.
- dotnet
Framework StringVersion The version of the .NET framework's CLR used in this App Service.
- ftps
State String State of FTP / FTPS service for this AppService.
- health
Check StringPath The health check path to be pinged by App Service.
- http2Enabled Boolean
Is HTTP2 Enabled on this App Service?
- ip
Restrictions List<GetApp Service Site Config Ip Restriction> One or more
ip_restriction
blocks as defined above.- java
Container String The Java Container in use.
- java
Container StringVersion The version of the Java Container in use.
- java
Version String The version of Java in use.
- linux
Fx StringVersion Linux App Framework and version for the AppService.
- local
Mysql BooleanEnabled Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
- managed
Pipeline StringMode The Managed Pipeline Mode used in this App Service.
- min
Tls StringVersion The minimum supported TLS version for this App Service.
- number
Of IntegerWorkers The scaled number of workers (for per site scaling) of this App Service.
- php
Version String The version of PHP used in this App Service.
- python
Version String The version of Python used in this App Service.
- remote
Debugging BooleanEnabled Is Remote Debugging Enabled in this App Service?
- remote
Debugging StringVersion Which version of Visual Studio is the Remote Debugger compatible with?
- scm
Ip List<GetRestrictions App Service Site Config Scm Ip Restriction> One or more
scm_ip_restriction
blocks as defined above.- scm
Type String The type of Source Control enabled for this App Service.
- scm
Use BooleanMain Ip Restriction IP security restrictions for scm to use main.
- use32Bit
Worker BooleanProcess Does the App Service run in 32 bit mode, rather than 64 bit mode?
- vnet
Route BooleanAll Enabled (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
- websockets
Enabled Boolean Are WebSockets enabled for this App Service?
- windows
Fx StringVersion Windows Container Docker Image for the AppService.
- acr
Use booleanManaged Identity Credentials Are Managed Identity Credentials used for Azure Container Registry pull.
- acr
User stringManaged Identity Client Id The User Managed Identity Client Id.
- always
On boolean Is the app loaded at all times?
- app
Command stringLine App command line to launch.
- cors
Get
App Service Site Config Cor[] A
cors
block as defined above.- default
Documents string[] The ordering of default documents to load, if an address isn't specified.
- dotnet
Framework stringVersion The version of the .NET framework's CLR used in this App Service.
- ftps
State string State of FTP / FTPS service for this AppService.
- health
Check stringPath The health check path to be pinged by App Service.
- http2Enabled boolean
Is HTTP2 Enabled on this App Service?
- ip
Restrictions GetApp Service Site Config Ip Restriction[] One or more
ip_restriction
blocks as defined above.- java
Container string The Java Container in use.
- java
Container stringVersion The version of the Java Container in use.
- java
Version string The version of Java in use.
- linux
Fx stringVersion Linux App Framework and version for the AppService.
- local
Mysql booleanEnabled Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
- managed
Pipeline stringMode The Managed Pipeline Mode used in this App Service.
- min
Tls stringVersion The minimum supported TLS version for this App Service.
- number
Of numberWorkers The scaled number of workers (for per site scaling) of this App Service.
- php
Version string The version of PHP used in this App Service.
- python
Version string The version of Python used in this App Service.
- remote
Debugging booleanEnabled Is Remote Debugging Enabled in this App Service?
- remote
Debugging stringVersion Which version of Visual Studio is the Remote Debugger compatible with?
- scm
Ip GetRestrictions App Service Site Config Scm Ip Restriction[] One or more
scm_ip_restriction
blocks as defined above.- scm
Type string The type of Source Control enabled for this App Service.
- scm
Use booleanMain Ip Restriction IP security restrictions for scm to use main.
- use32Bit
Worker booleanProcess Does the App Service run in 32 bit mode, rather than 64 bit mode?
- vnet
Route booleanAll Enabled (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
- websockets
Enabled boolean Are WebSockets enabled for this App Service?
- windows
Fx stringVersion Windows Container Docker Image for the AppService.
- acr_
use_ boolmanaged_ identity_ credentials Are Managed Identity Credentials used for Azure Container Registry pull.
- acr_
user_ strmanaged_ identity_ client_ id The User Managed Identity Client Id.
- always_
on bool Is the app loaded at all times?
- app_
command_ strline App command line to launch.
- cors
Sequence[Get
App Service Site Config Cor] A
cors
block as defined above.- default_
documents Sequence[str] The ordering of default documents to load, if an address isn't specified.
- dotnet_
framework_ strversion The version of the .NET framework's CLR used in this App Service.
- ftps_
state str State of FTP / FTPS service for this AppService.
- health_
check_ strpath The health check path to be pinged by App Service.
- http2_
enabled bool Is HTTP2 Enabled on this App Service?
- ip_
restrictions Sequence[GetApp Service Site Config Ip Restriction] One or more
ip_restriction
blocks as defined above.- java_
container str The Java Container in use.
- java_
container_ strversion The version of the Java Container in use.
- java_
version str The version of Java in use.
- linux_
fx_ strversion Linux App Framework and version for the AppService.
- local_
mysql_ boolenabled Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
- managed_
pipeline_ strmode The Managed Pipeline Mode used in this App Service.
- min_
tls_ strversion The minimum supported TLS version for this App Service.
- number_
of_ intworkers The scaled number of workers (for per site scaling) of this App Service.
- php_
version str The version of PHP used in this App Service.
- python_
version str The version of Python used in this App Service.
- remote_
debugging_ boolenabled Is Remote Debugging Enabled in this App Service?
- remote_
debugging_ strversion Which version of Visual Studio is the Remote Debugger compatible with?
- scm_
ip_ Sequence[Getrestrictions App Service Site Config Scm Ip Restriction] One or more
scm_ip_restriction
blocks as defined above.- scm_
type str The type of Source Control enabled for this App Service.
- scm_
use_ boolmain_ ip_ restriction IP security restrictions for scm to use main.
- use32_
bit_ boolworker_ process Does the App Service run in 32 bit mode, rather than 64 bit mode?
- vnet_
route_ boolall_ enabled (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
- websockets_
enabled bool Are WebSockets enabled for this App Service?
- windows_
fx_ strversion Windows Container Docker Image for the AppService.
- acr
Use BooleanManaged Identity Credentials Are Managed Identity Credentials used for Azure Container Registry pull.
- acr
User StringManaged Identity Client Id The User Managed Identity Client Id.
- always
On Boolean Is the app loaded at all times?
- app
Command StringLine App command line to launch.
- cors List<Property Map>
A
cors
block as defined above.- default
Documents List<String> The ordering of default documents to load, if an address isn't specified.
- dotnet
Framework StringVersion The version of the .NET framework's CLR used in this App Service.
- ftps
State String State of FTP / FTPS service for this AppService.
- health
Check StringPath The health check path to be pinged by App Service.
- http2Enabled Boolean
Is HTTP2 Enabled on this App Service?
- ip
Restrictions List<Property Map> One or more
ip_restriction
blocks as defined above.- java
Container String The Java Container in use.
- java
Container StringVersion The version of the Java Container in use.
- java
Version String The version of Java in use.
- linux
Fx StringVersion Linux App Framework and version for the AppService.
- local
Mysql BooleanEnabled Is "MySQL In App" Enabled? This runs a local MySQL instance with your app and shares resources from the App Service plan.
- managed
Pipeline StringMode The Managed Pipeline Mode used in this App Service.
- min
Tls StringVersion The minimum supported TLS version for this App Service.
- number
Of NumberWorkers The scaled number of workers (for per site scaling) of this App Service.
- php
Version String The version of PHP used in this App Service.
- python
Version String The version of Python used in this App Service.
- remote
Debugging BooleanEnabled Is Remote Debugging Enabled in this App Service?
- remote
Debugging StringVersion Which version of Visual Studio is the Remote Debugger compatible with?
- scm
Ip List<Property Map>Restrictions One or more
scm_ip_restriction
blocks as defined above.- scm
Type String The type of Source Control enabled for this App Service.
- scm
Use BooleanMain Ip Restriction IP security restrictions for scm to use main.
- use32Bit
Worker BooleanProcess Does the App Service run in 32 bit mode, rather than 64 bit mode?
- vnet
Route BooleanAll Enabled (Optional) Should all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied?
- websockets
Enabled Boolean Are WebSockets enabled for this App Service?
- windows
Fx StringVersion Windows Container Docker Image for the AppService.
GetAppServiceSiteConfigCor
- Allowed
Origins List<string> A list of origins which are able to make cross-origin calls.
- Support
Credentials bool Are credentials supported?
- Allowed
Origins []string A list of origins which are able to make cross-origin calls.
- Support
Credentials bool Are credentials supported?
- allowed
Origins List<String> A list of origins which are able to make cross-origin calls.
- support
Credentials Boolean Are credentials supported?
- allowed
Origins string[] A list of origins which are able to make cross-origin calls.
- support
Credentials boolean Are credentials supported?
- allowed_
origins Sequence[str] A list of origins which are able to make cross-origin calls.
- support_
credentials bool Are credentials supported?
- allowed
Origins List<String> A list of origins which are able to make cross-origin calls.
- support
Credentials Boolean Are credentials supported?
GetAppServiceSiteConfigIpRestriction
- Action string
Allow or Deny access for this IP range. Defaults to Allow.
- Headers
Get
App Service Site Config Ip Restriction Headers - Ip
Address string The IP Address used for this IP Restriction in CIDR notation.
- Name string
The name of the App Service.
- Priority int
The priority for this IP Restriction.
- Service
Tag string The Service Tag used for this IP Restriction.
- Virtual
Network stringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- Action string
Allow or Deny access for this IP range. Defaults to Allow.
- Headers
Get
App Service Site Config Ip Restriction Headers - Ip
Address string The IP Address used for this IP Restriction in CIDR notation.
- Name string
The name of the App Service.
- Priority int
The priority for this IP Restriction.
- Service
Tag string The Service Tag used for this IP Restriction.
- Virtual
Network stringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- action String
Allow or Deny access for this IP range. Defaults to Allow.
- headers
Get
App Service Site Config Ip Restriction Headers - ip
Address String The IP Address used for this IP Restriction in CIDR notation.
- name String
The name of the App Service.
- priority Integer
The priority for this IP Restriction.
- service
Tag String The Service Tag used for this IP Restriction.
- virtual
Network StringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- action string
Allow or Deny access for this IP range. Defaults to Allow.
- headers
Get
App Service Site Config Ip Restriction Headers - ip
Address string The IP Address used for this IP Restriction in CIDR notation.
- name string
The name of the App Service.
- priority number
The priority for this IP Restriction.
- service
Tag string The Service Tag used for this IP Restriction.
- virtual
Network stringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- action str
Allow or Deny access for this IP range. Defaults to Allow.
- headers
Get
App Service Site Config Ip Restriction Headers - ip_
address str The IP Address used for this IP Restriction in CIDR notation.
- name str
The name of the App Service.
- priority int
The priority for this IP Restriction.
- service_
tag str The Service Tag used for this IP Restriction.
- virtual_
network_ strsubnet_ id The Virtual Network Subnet ID used for this IP Restriction.
- action String
Allow or Deny access for this IP range. Defaults to Allow.
- headers Property Map
- ip
Address String The IP Address used for this IP Restriction in CIDR notation.
- name String
The name of the App Service.
- priority Number
The priority for this IP Restriction.
- service
Tag String The Service Tag used for this IP Restriction.
- virtual
Network StringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
GetAppServiceSiteConfigIpRestrictionHeaders
- XAzure
Fdids List<string> - XFd
Health List<string>Probes - XForwarded
Fors List<string> - XForwarded
Hosts List<string>
- XAzure
Fdids []string - XFd
Health []stringProbes - XForwarded
Fors []string - XForwarded
Hosts []string
- x
Azure List<String>Fdids - x
Fd List<String>Health Probes - x
Forwarded List<String>Fors - x
Forwarded List<String>Hosts
- x
Azure string[]Fdids - x
Fd string[]Health Probes - x
Forwarded string[]Fors - x
Forwarded string[]Hosts
- x_
azure_ Sequence[str]fdids - x_
fd_ Sequence[str]health_ probes - x_
forwarded_ Sequence[str]fors - x_
forwarded_ Sequence[str]hosts
- x
Azure List<String>Fdids - x
Fd List<String>Health Probes - x
Forwarded List<String>Fors - x
Forwarded List<String>Hosts
GetAppServiceSiteConfigScmIpRestriction
- Action string
Allow or Deny access for this IP range. Defaults to Allow.
- Headers
Get
App Service Site Config Scm Ip Restriction Headers - Ip
Address string The IP Address used for this IP Restriction in CIDR notation.
- Name string
The name of the App Service.
- Priority int
The priority for this IP Restriction.
- Service
Tag string The Service Tag used for this IP Restriction.
- Virtual
Network stringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- Action string
Allow or Deny access for this IP range. Defaults to Allow.
- Headers
Get
App Service Site Config Scm Ip Restriction Headers - Ip
Address string The IP Address used for this IP Restriction in CIDR notation.
- Name string
The name of the App Service.
- Priority int
The priority for this IP Restriction.
- Service
Tag string The Service Tag used for this IP Restriction.
- Virtual
Network stringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- action String
Allow or Deny access for this IP range. Defaults to Allow.
- headers
Get
App Service Site Config Scm Ip Restriction Headers - ip
Address String The IP Address used for this IP Restriction in CIDR notation.
- name String
The name of the App Service.
- priority Integer
The priority for this IP Restriction.
- service
Tag String The Service Tag used for this IP Restriction.
- virtual
Network StringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- action string
Allow or Deny access for this IP range. Defaults to Allow.
- headers
Get
App Service Site Config Scm Ip Restriction Headers - ip
Address string The IP Address used for this IP Restriction in CIDR notation.
- name string
The name of the App Service.
- priority number
The priority for this IP Restriction.
- service
Tag string The Service Tag used for this IP Restriction.
- virtual
Network stringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
- action str
Allow or Deny access for this IP range. Defaults to Allow.
- headers
Get
App Service Site Config Scm Ip Restriction Headers - ip_
address str The IP Address used for this IP Restriction in CIDR notation.
- name str
The name of the App Service.
- priority int
The priority for this IP Restriction.
- service_
tag str The Service Tag used for this IP Restriction.
- virtual_
network_ strsubnet_ id The Virtual Network Subnet ID used for this IP Restriction.
- action String
Allow or Deny access for this IP range. Defaults to Allow.
- headers Property Map
- ip
Address String The IP Address used for this IP Restriction in CIDR notation.
- name String
The name of the App Service.
- priority Number
The priority for this IP Restriction.
- service
Tag String The Service Tag used for this IP Restriction.
- virtual
Network StringSubnet Id The Virtual Network Subnet ID used for this IP Restriction.
GetAppServiceSiteConfigScmIpRestrictionHeaders
- XAzure
Fdids List<string> - XFd
Health List<string>Probes - XForwarded
Fors List<string> - XForwarded
Hosts List<string>
- XAzure
Fdids []string - XFd
Health []stringProbes - XForwarded
Fors []string - XForwarded
Hosts []string
- x
Azure List<String>Fdids - x
Fd List<String>Health Probes - x
Forwarded List<String>Fors - x
Forwarded List<String>Hosts
- x
Azure string[]Fdids - x
Fd string[]Health Probes - x
Forwarded string[]Fors - x
Forwarded string[]Hosts
- x_
azure_ Sequence[str]fdids - x_
fd_ Sequence[str]health_ probes - x_
forwarded_ Sequence[str]fors - x_
forwarded_ Sequence[str]hosts
- x
Azure List<String>Fdids - x
Fd List<String>Health Probes - x
Forwarded List<String>Fors - x
Forwarded List<String>Hosts
GetAppServiceSiteCredential
GetAppServiceSourceControl
- Branch string
The branch of the remote repository in use.
- Manual
Integration bool Limits to manual integration.
- Repo
Url string The URL of the source code repository.
- Rollback
Enabled bool Is roll-back enabled for the repository.
- Use
Mercurial bool Uses Mercurial if
true
, otherwise uses Git.
- Branch string
The branch of the remote repository in use.
- Manual
Integration bool Limits to manual integration.
- Repo
Url string The URL of the source code repository.
- Rollback
Enabled bool Is roll-back enabled for the repository.
- Use
Mercurial bool Uses Mercurial if
true
, otherwise uses Git.
- branch String
The branch of the remote repository in use.
- manual
Integration Boolean Limits to manual integration.
- repo
Url String The URL of the source code repository.
- rollback
Enabled Boolean Is roll-back enabled for the repository.
- use
Mercurial Boolean Uses Mercurial if
true
, otherwise uses Git.
- branch string
The branch of the remote repository in use.
- manual
Integration boolean Limits to manual integration.
- repo
Url string The URL of the source code repository.
- rollback
Enabled boolean Is roll-back enabled for the repository.
- use
Mercurial boolean Uses Mercurial if
true
, otherwise uses Git.
- branch str
The branch of the remote repository in use.
- manual_
integration bool Limits to manual integration.
- repo_
url str The URL of the source code repository.
- rollback_
enabled bool Is roll-back enabled for the repository.
- use_
mercurial bool Uses Mercurial if
true
, otherwise uses Git.
- branch String
The branch of the remote repository in use.
- manual
Integration Boolean Limits to manual integration.
- repo
Url String The URL of the source code repository.
- rollback
Enabled Boolean Is roll-back enabled for the repository.
- use
Mercurial Boolean Uses Mercurial if
true
, otherwise uses Git.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.