azure-native.web.getWebAppSourceControlSlot
Explore with Pulumi AI
Description for Gets the source control configuration of an app.
Uses Azure REST API version 2024-04-01.
Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]
. See the version guide for details.
Using getWebAppSourceControlSlot
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 getWebAppSourceControlSlot(args: GetWebAppSourceControlSlotArgs, opts?: InvokeOptions): Promise<GetWebAppSourceControlSlotResult>
function getWebAppSourceControlSlotOutput(args: GetWebAppSourceControlSlotOutputArgs, opts?: InvokeOptions): Output<GetWebAppSourceControlSlotResult>
def get_web_app_source_control_slot(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
slot: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWebAppSourceControlSlotResult
def get_web_app_source_control_slot_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
slot: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWebAppSourceControlSlotResult]
func LookupWebAppSourceControlSlot(ctx *Context, args *LookupWebAppSourceControlSlotArgs, opts ...InvokeOption) (*LookupWebAppSourceControlSlotResult, error)
func LookupWebAppSourceControlSlotOutput(ctx *Context, args *LookupWebAppSourceControlSlotOutputArgs, opts ...InvokeOption) LookupWebAppSourceControlSlotResultOutput
> Note: This function is named LookupWebAppSourceControlSlot
in the Go SDK.
public static class GetWebAppSourceControlSlot
{
public static Task<GetWebAppSourceControlSlotResult> InvokeAsync(GetWebAppSourceControlSlotArgs args, InvokeOptions? opts = null)
public static Output<GetWebAppSourceControlSlotResult> Invoke(GetWebAppSourceControlSlotInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWebAppSourceControlSlotResult> getWebAppSourceControlSlot(GetWebAppSourceControlSlotArgs args, InvokeOptions options)
public static Output<GetWebAppSourceControlSlotResult> getWebAppSourceControlSlot(GetWebAppSourceControlSlotArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:getWebAppSourceControlSlot
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
- name string
- Name of the app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- slot string
- Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
- name str
- Name of the app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- slot str
- Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.
getWebAppSourceControlSlot Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id.
- Name string
- Resource Name.
- Type string
- Resource type.
- Branch string
- Name of branch to use for deployment.
- Deployment
Rollback boolEnabled - true to enable deployment rollback; otherwise, false.
- Git
Hub Pulumi.Action Configuration Azure Native. Web. Outputs. Git Hub Action Configuration Response - If GitHub Action is selected, than the associated configuration.
- Is
Git boolHub Action - true if this is deployed via GitHub action.
- Is
Manual boolIntegration - true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).
- Is
Mercurial bool - true for a Mercurial repository; false for a Git repository.
- Kind string
- Kind of resource.
- Repo
Url string - Repository or source control URL.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id.
- Name string
- Resource Name.
- Type string
- Resource type.
- Branch string
- Name of branch to use for deployment.
- Deployment
Rollback boolEnabled - true to enable deployment rollback; otherwise, false.
- Git
Hub GitAction Configuration Hub Action Configuration Response - If GitHub Action is selected, than the associated configuration.
- Is
Git boolHub Action - true if this is deployed via GitHub action.
- Is
Manual boolIntegration - true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).
- Is
Mercurial bool - true for a Mercurial repository; false for a Git repository.
- Kind string
- Kind of resource.
- Repo
Url string - Repository or source control URL.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id.
- name String
- Resource Name.
- type String
- Resource type.
- branch String
- Name of branch to use for deployment.
- deployment
Rollback BooleanEnabled - true to enable deployment rollback; otherwise, false.
- git
Hub GitAction Configuration Hub Action Configuration Response - If GitHub Action is selected, than the associated configuration.
- is
Git BooleanHub Action - true if this is deployed via GitHub action.
- is
Manual BooleanIntegration - true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).
- is
Mercurial Boolean - true for a Mercurial repository; false for a Git repository.
- kind String
- Kind of resource.
- repo
Url String - Repository or source control URL.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource Id.
- name string
- Resource Name.
- type string
- Resource type.
- branch string
- Name of branch to use for deployment.
- deployment
Rollback booleanEnabled - true to enable deployment rollback; otherwise, false.
- git
Hub GitAction Configuration Hub Action Configuration Response - If GitHub Action is selected, than the associated configuration.
- is
Git booleanHub Action - true if this is deployed via GitHub action.
- is
Manual booleanIntegration - true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).
- is
Mercurial boolean - true for a Mercurial repository; false for a Git repository.
- kind string
- Kind of resource.
- repo
Url string - Repository or source control URL.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource Id.
- name str
- Resource Name.
- type str
- Resource type.
- branch str
- Name of branch to use for deployment.
- deployment_
rollback_ boolenabled - true to enable deployment rollback; otherwise, false.
- git_
hub_ Gitaction_ configuration Hub Action Configuration Response - If GitHub Action is selected, than the associated configuration.
- is_
git_ boolhub_ action - true if this is deployed via GitHub action.
- is_
manual_ boolintegration - true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).
- is_
mercurial bool - true for a Mercurial repository; false for a Git repository.
- kind str
- Kind of resource.
- repo_
url str - Repository or source control URL.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id.
- name String
- Resource Name.
- type String
- Resource type.
- branch String
- Name of branch to use for deployment.
- deployment
Rollback BooleanEnabled - true to enable deployment rollback; otherwise, false.
- git
Hub Property MapAction Configuration - If GitHub Action is selected, than the associated configuration.
- is
Git BooleanHub Action - true if this is deployed via GitHub action.
- is
Manual BooleanIntegration - true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).
- is
Mercurial Boolean - true for a Mercurial repository; false for a Git repository.
- kind String
- Kind of resource.
- repo
Url String - Repository or source control URL.
Supporting Types
GitHubActionCodeConfigurationResponse
- Runtime
Stack string - Runtime stack is used to determine the workflow file content for code base apps.
- Runtime
Version string - Runtime version is used to determine what build version to set in the workflow file.
- Runtime
Stack string - Runtime stack is used to determine the workflow file content for code base apps.
- Runtime
Version string - Runtime version is used to determine what build version to set in the workflow file.
- runtime
Stack String - Runtime stack is used to determine the workflow file content for code base apps.
- runtime
Version String - Runtime version is used to determine what build version to set in the workflow file.
- runtime
Stack string - Runtime stack is used to determine the workflow file content for code base apps.
- runtime
Version string - Runtime version is used to determine what build version to set in the workflow file.
- runtime_
stack str - Runtime stack is used to determine the workflow file content for code base apps.
- runtime_
version str - Runtime version is used to determine what build version to set in the workflow file.
- runtime
Stack String - Runtime stack is used to determine the workflow file content for code base apps.
- runtime
Version String - Runtime version is used to determine what build version to set in the workflow file.
GitHubActionConfigurationResponse
- Code
Configuration Pulumi.Azure Native. Web. Inputs. Git Hub Action Code Configuration Response - GitHub Action code configuration.
- Container
Configuration Pulumi.Azure Native. Web. Inputs. Git Hub Action Container Configuration Response - GitHub Action container configuration.
- Generate
Workflow boolFile - Workflow option to determine whether the workflow file should be generated and written to the repository.
- Is
Linux bool - This will help determine the workflow configuration to select.
- Code
Configuration GitHub Action Code Configuration Response - GitHub Action code configuration.
- Container
Configuration GitHub Action Container Configuration Response - GitHub Action container configuration.
- Generate
Workflow boolFile - Workflow option to determine whether the workflow file should be generated and written to the repository.
- Is
Linux bool - This will help determine the workflow configuration to select.
- code
Configuration GitHub Action Code Configuration Response - GitHub Action code configuration.
- container
Configuration GitHub Action Container Configuration Response - GitHub Action container configuration.
- generate
Workflow BooleanFile - Workflow option to determine whether the workflow file should be generated and written to the repository.
- is
Linux Boolean - This will help determine the workflow configuration to select.
- code
Configuration GitHub Action Code Configuration Response - GitHub Action code configuration.
- container
Configuration GitHub Action Container Configuration Response - GitHub Action container configuration.
- generate
Workflow booleanFile - Workflow option to determine whether the workflow file should be generated and written to the repository.
- is
Linux boolean - This will help determine the workflow configuration to select.
- code_
configuration GitHub Action Code Configuration Response - GitHub Action code configuration.
- container_
configuration GitHub Action Container Configuration Response - GitHub Action container configuration.
- generate_
workflow_ boolfile - Workflow option to determine whether the workflow file should be generated and written to the repository.
- is_
linux bool - This will help determine the workflow configuration to select.
- code
Configuration Property Map - GitHub Action code configuration.
- container
Configuration Property Map - GitHub Action container configuration.
- generate
Workflow BooleanFile - Workflow option to determine whether the workflow file should be generated and written to the repository.
- is
Linux Boolean - This will help determine the workflow configuration to select.
GitHubActionContainerConfigurationResponse
- image_
name str - The image name for the build.
- password str
- The password used to upload the image to the container registry.
- server_
url str - The server URL for the container registry where the build will be hosted.
- username str
- The username used to upload the image to the container registry.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0