1. Packages
  2. Azure Native
  3. API Docs
  4. devhub
  5. IacProfile
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.devhub.IacProfile

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Resource representation of a IacProfile. Azure REST API version: 2024-05-01-preview.

    Example Usage

    Create IacProfile

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var iacProfile = new AzureNative.DevHub.IacProfile("iacProfile", new()
        {
            IacProfileName = "profile1",
            Location = "location1",
            RepositoryMainBranch = "main",
            RepositoryName = "localtest",
            RepositoryOwner = "owner",
            ResourceGroupName = "resourceGroup1",
            Stages = new[]
            {
                new AzureNative.DevHub.Inputs.StagePropertiesArgs
                {
                    Dependencies = new() { },
                    GitEnvironment = "Terraform",
                    StageName = "dev",
                },
                new AzureNative.DevHub.Inputs.StagePropertiesArgs
                {
                    Dependencies = new[]
                    {
                        "dev",
                    },
                    GitEnvironment = "Terraform",
                    StageName = "qa",
                },
                new AzureNative.DevHub.Inputs.StagePropertiesArgs
                {
                    Dependencies = new[]
                    {
                        "qa",
                    },
                    GitEnvironment = "Terraform",
                    StageName = "prod",
                },
            },
            StorageAccountName = "hybridiac",
            StorageAccountResourceGroup = "hybrid-iac",
            StorageAccountSubscription = "subscription",
            StorageContainerName = "hybridiac",
            Tags = 
            {
                { "appname", "testApp" },
            },
            Templates = new[]
            {
                new AzureNative.DevHub.Inputs.IacTemplatePropertiesArgs
                {
                    InstanceName = "contoso",
                    InstanceStage = "dev",
                    SourceResourceId = "/subscriptions/xxxx/resourceGroups/xxxx",
                    TemplateDetails = new[]
                    {
                        new AzureNative.DevHub.Inputs.IacTemplateDetailsArgs
                        {
                            Count = 1,
                            NamingConvention = "$sitid-hci",
                            ProductName = "HCI",
                        },
                        new AzureNative.DevHub.Inputs.IacTemplateDetailsArgs
                        {
                            Count = 1,
                            NamingConvention = "$sitid-aks",
                            ProductName = "AKSarc",
                        },
                    },
                    TemplateName = "base",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	devhub "github.com/pulumi/pulumi-azure-native-sdk/devhub/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := devhub.NewIacProfile(ctx, "iacProfile", &devhub.IacProfileArgs{
    			IacProfileName:       pulumi.String("profile1"),
    			Location:             pulumi.String("location1"),
    			RepositoryMainBranch: pulumi.String("main"),
    			RepositoryName:       pulumi.String("localtest"),
    			RepositoryOwner:      pulumi.String("owner"),
    			ResourceGroupName:    pulumi.String("resourceGroup1"),
    			Stages: devhub.StagePropertiesArray{
    				&devhub.StagePropertiesArgs{
    					Dependencies:   pulumi.StringArray{},
    					GitEnvironment: pulumi.String("Terraform"),
    					StageName:      pulumi.String("dev"),
    				},
    				&devhub.StagePropertiesArgs{
    					Dependencies: pulumi.StringArray{
    						pulumi.String("dev"),
    					},
    					GitEnvironment: pulumi.String("Terraform"),
    					StageName:      pulumi.String("qa"),
    				},
    				&devhub.StagePropertiesArgs{
    					Dependencies: pulumi.StringArray{
    						pulumi.String("qa"),
    					},
    					GitEnvironment: pulumi.String("Terraform"),
    					StageName:      pulumi.String("prod"),
    				},
    			},
    			StorageAccountName:          pulumi.String("hybridiac"),
    			StorageAccountResourceGroup: pulumi.String("hybrid-iac"),
    			StorageAccountSubscription:  pulumi.String("subscription"),
    			StorageContainerName:        pulumi.String("hybridiac"),
    			Tags: pulumi.StringMap{
    				"appname": pulumi.String("testApp"),
    			},
    			Templates: devhub.IacTemplatePropertiesArray{
    				&devhub.IacTemplatePropertiesArgs{
    					InstanceName:     pulumi.String("contoso"),
    					InstanceStage:    pulumi.String("dev"),
    					SourceResourceId: pulumi.String("/subscriptions/xxxx/resourceGroups/xxxx"),
    					TemplateDetails: devhub.IacTemplateDetailsArray{
    						&devhub.IacTemplateDetailsArgs{
    							Count:            pulumi.Int(1),
    							NamingConvention: pulumi.String("$sitid-hci"),
    							ProductName:      pulumi.String("HCI"),
    						},
    						&devhub.IacTemplateDetailsArgs{
    							Count:            pulumi.Int(1),
    							NamingConvention: pulumi.String("$sitid-aks"),
    							ProductName:      pulumi.String("AKSarc"),
    						},
    					},
    					TemplateName: pulumi.String("base"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.devhub.IacProfile;
    import com.pulumi.azurenative.devhub.IacProfileArgs;
    import com.pulumi.azurenative.devhub.inputs.StagePropertiesArgs;
    import com.pulumi.azurenative.devhub.inputs.IacTemplatePropertiesArgs;
    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) {
            var iacProfile = new IacProfile("iacProfile", IacProfileArgs.builder()
                .iacProfileName("profile1")
                .location("location1")
                .repositoryMainBranch("main")
                .repositoryName("localtest")
                .repositoryOwner("owner")
                .resourceGroupName("resourceGroup1")
                .stages(            
                    StagePropertiesArgs.builder()
                        .dependencies()
                        .gitEnvironment("Terraform")
                        .stageName("dev")
                        .build(),
                    StagePropertiesArgs.builder()
                        .dependencies("dev")
                        .gitEnvironment("Terraform")
                        .stageName("qa")
                        .build(),
                    StagePropertiesArgs.builder()
                        .dependencies("qa")
                        .gitEnvironment("Terraform")
                        .stageName("prod")
                        .build())
                .storageAccountName("hybridiac")
                .storageAccountResourceGroup("hybrid-iac")
                .storageAccountSubscription("subscription")
                .storageContainerName("hybridiac")
                .tags(Map.of("appname", "testApp"))
                .templates(IacTemplatePropertiesArgs.builder()
                    .instanceName("contoso")
                    .instanceStage("dev")
                    .sourceResourceId("/subscriptions/xxxx/resourceGroups/xxxx")
                    .templateDetails(                
                        IacTemplateDetailsArgs.builder()
                            .count(1)
                            .namingConvention("$sitid-hci")
                            .productName("HCI")
                            .build(),
                        IacTemplateDetailsArgs.builder()
                            .count(1)
                            .namingConvention("$sitid-aks")
                            .productName("AKSarc")
                            .build())
                    .templateName("base")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    iac_profile = azure_native.devhub.IacProfile("iacProfile",
        iac_profile_name="profile1",
        location="location1",
        repository_main_branch="main",
        repository_name="localtest",
        repository_owner="owner",
        resource_group_name="resourceGroup1",
        stages=[
            azure_native.devhub.StagePropertiesArgs(
                dependencies=[],
                git_environment="Terraform",
                stage_name="dev",
            ),
            azure_native.devhub.StagePropertiesArgs(
                dependencies=["dev"],
                git_environment="Terraform",
                stage_name="qa",
            ),
            azure_native.devhub.StagePropertiesArgs(
                dependencies=["qa"],
                git_environment="Terraform",
                stage_name="prod",
            ),
        ],
        storage_account_name="hybridiac",
        storage_account_resource_group="hybrid-iac",
        storage_account_subscription="subscription",
        storage_container_name="hybridiac",
        tags={
            "appname": "testApp",
        },
        templates=[azure_native.devhub.IacTemplatePropertiesArgs(
            instance_name="contoso",
            instance_stage="dev",
            source_resource_id="/subscriptions/xxxx/resourceGroups/xxxx",
            template_details=[
                azure_native.devhub.IacTemplateDetailsArgs(
                    count=1,
                    naming_convention="$sitid-hci",
                    product_name="HCI",
                ),
                azure_native.devhub.IacTemplateDetailsArgs(
                    count=1,
                    naming_convention="$sitid-aks",
                    product_name="AKSarc",
                ),
            ],
            template_name="base",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const iacProfile = new azure_native.devhub.IacProfile("iacProfile", {
        iacProfileName: "profile1",
        location: "location1",
        repositoryMainBranch: "main",
        repositoryName: "localtest",
        repositoryOwner: "owner",
        resourceGroupName: "resourceGroup1",
        stages: [
            {
                dependencies: [],
                gitEnvironment: "Terraform",
                stageName: "dev",
            },
            {
                dependencies: ["dev"],
                gitEnvironment: "Terraform",
                stageName: "qa",
            },
            {
                dependencies: ["qa"],
                gitEnvironment: "Terraform",
                stageName: "prod",
            },
        ],
        storageAccountName: "hybridiac",
        storageAccountResourceGroup: "hybrid-iac",
        storageAccountSubscription: "subscription",
        storageContainerName: "hybridiac",
        tags: {
            appname: "testApp",
        },
        templates: [{
            instanceName: "contoso",
            instanceStage: "dev",
            sourceResourceId: "/subscriptions/xxxx/resourceGroups/xxxx",
            templateDetails: [
                {
                    count: 1,
                    namingConvention: "$sitid-hci",
                    productName: "HCI",
                },
                {
                    count: 1,
                    namingConvention: "$sitid-aks",
                    productName: "AKSarc",
                },
            ],
            templateName: "base",
        }],
    });
    
    resources:
      iacProfile:
        type: azure-native:devhub:IacProfile
        properties:
          iacProfileName: profile1
          location: location1
          repositoryMainBranch: main
          repositoryName: localtest
          repositoryOwner: owner
          resourceGroupName: resourceGroup1
          stages:
            - dependencies: []
              gitEnvironment: Terraform
              stageName: dev
            - dependencies:
                - dev
              gitEnvironment: Terraform
              stageName: qa
            - dependencies:
                - qa
              gitEnvironment: Terraform
              stageName: prod
          storageAccountName: hybridiac
          storageAccountResourceGroup: hybrid-iac
          storageAccountSubscription: subscription
          storageContainerName: hybridiac
          tags:
            appname: testApp
          templates:
            - instanceName: contoso
              instanceStage: dev
              sourceResourceId: /subscriptions/xxxx/resourceGroups/xxxx
              templateDetails:
                - count: 1
                  namingConvention: $sitid-hci
                  productName: HCI
                - count: 1
                  namingConvention: $sitid-aks
                  productName: AKSarc
              templateName: base
    

    Create IacProfile Resource

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

    Constructor syntax

    new IacProfile(name: string, args: IacProfileArgs, opts?: CustomResourceOptions);
    @overload
    def IacProfile(resource_name: str,
                   args: IacProfileArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def IacProfile(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   repository_main_branch: Optional[str] = None,
                   location: Optional[str] = None,
                   branch_name: Optional[str] = None,
                   repository_name: Optional[str] = None,
                   repository_owner: Optional[str] = None,
                   iac_profile_name: Optional[str] = None,
                   stages: Optional[Sequence[StagePropertiesArgs]] = None,
                   storage_account_name: Optional[str] = None,
                   storage_account_resource_group: Optional[str] = None,
                   storage_account_subscription: Optional[str] = None,
                   storage_container_name: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   templates: Optional[Sequence[IacTemplatePropertiesArgs]] = None)
    func NewIacProfile(ctx *Context, name string, args IacProfileArgs, opts ...ResourceOption) (*IacProfile, error)
    public IacProfile(string name, IacProfileArgs args, CustomResourceOptions? opts = null)
    public IacProfile(String name, IacProfileArgs args)
    public IacProfile(String name, IacProfileArgs args, CustomResourceOptions options)
    
    type: azure-native:devhub:IacProfile
    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 IacProfileArgs
    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 IacProfileArgs
    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 IacProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IacProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IacProfileArgs
    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 iacProfileResource = new AzureNative.DevHub.IacProfile("iacProfileResource", new()
    {
        ResourceGroupName = "string",
        RepositoryMainBranch = "string",
        Location = "string",
        BranchName = "string",
        RepositoryName = "string",
        RepositoryOwner = "string",
        IacProfileName = "string",
        Stages = new[]
        {
            new AzureNative.DevHub.Inputs.StagePropertiesArgs
            {
                Dependencies = new[]
                {
                    "string",
                },
                GitEnvironment = "string",
                StageName = "string",
            },
        },
        StorageAccountName = "string",
        StorageAccountResourceGroup = "string",
        StorageAccountSubscription = "string",
        StorageContainerName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Templates = new[]
        {
            new AzureNative.DevHub.Inputs.IacTemplatePropertiesArgs
            {
                InstanceName = "string",
                InstanceStage = "string",
                SourceResourceId = "string",
                TemplateDetails = new[]
                {
                    new AzureNative.DevHub.Inputs.IacTemplateDetailsArgs
                    {
                        Count = 0,
                        NamingConvention = "string",
                        ProductName = "string",
                    },
                },
                TemplateName = "string",
            },
        },
    });
    
    example, err := devhub.NewIacProfile(ctx, "iacProfileResource", &devhub.IacProfileArgs{
    ResourceGroupName: pulumi.String("string"),
    RepositoryMainBranch: pulumi.String("string"),
    Location: pulumi.String("string"),
    BranchName: pulumi.String("string"),
    RepositoryName: pulumi.String("string"),
    RepositoryOwner: pulumi.String("string"),
    IacProfileName: pulumi.String("string"),
    Stages: devhub.StagePropertiesArray{
    &devhub.StagePropertiesArgs{
    Dependencies: pulumi.StringArray{
    pulumi.String("string"),
    },
    GitEnvironment: pulumi.String("string"),
    StageName: pulumi.String("string"),
    },
    },
    StorageAccountName: pulumi.String("string"),
    StorageAccountResourceGroup: pulumi.String("string"),
    StorageAccountSubscription: pulumi.String("string"),
    StorageContainerName: pulumi.String("string"),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Templates: devhub.IacTemplatePropertiesArray{
    &devhub.IacTemplatePropertiesArgs{
    InstanceName: pulumi.String("string"),
    InstanceStage: pulumi.String("string"),
    SourceResourceId: pulumi.String("string"),
    TemplateDetails: devhub.IacTemplateDetailsArray{
    &devhub.IacTemplateDetailsArgs{
    Count: pulumi.Int(0),
    NamingConvention: pulumi.String("string"),
    ProductName: pulumi.String("string"),
    },
    },
    TemplateName: pulumi.String("string"),
    },
    },
    })
    
    var iacProfileResource = new IacProfile("iacProfileResource", IacProfileArgs.builder()
        .resourceGroupName("string")
        .repositoryMainBranch("string")
        .location("string")
        .branchName("string")
        .repositoryName("string")
        .repositoryOwner("string")
        .iacProfileName("string")
        .stages(StagePropertiesArgs.builder()
            .dependencies("string")
            .gitEnvironment("string")
            .stageName("string")
            .build())
        .storageAccountName("string")
        .storageAccountResourceGroup("string")
        .storageAccountSubscription("string")
        .storageContainerName("string")
        .tags(Map.of("string", "string"))
        .templates(IacTemplatePropertiesArgs.builder()
            .instanceName("string")
            .instanceStage("string")
            .sourceResourceId("string")
            .templateDetails(IacTemplateDetailsArgs.builder()
                .count(0)
                .namingConvention("string")
                .productName("string")
                .build())
            .templateName("string")
            .build())
        .build());
    
    iac_profile_resource = azure_native.devhub.IacProfile("iacProfileResource",
        resource_group_name="string",
        repository_main_branch="string",
        location="string",
        branch_name="string",
        repository_name="string",
        repository_owner="string",
        iac_profile_name="string",
        stages=[azure_native.devhub.StagePropertiesArgs(
            dependencies=["string"],
            git_environment="string",
            stage_name="string",
        )],
        storage_account_name="string",
        storage_account_resource_group="string",
        storage_account_subscription="string",
        storage_container_name="string",
        tags={
            "string": "string",
        },
        templates=[azure_native.devhub.IacTemplatePropertiesArgs(
            instance_name="string",
            instance_stage="string",
            source_resource_id="string",
            template_details=[azure_native.devhub.IacTemplateDetailsArgs(
                count=0,
                naming_convention="string",
                product_name="string",
            )],
            template_name="string",
        )])
    
    const iacProfileResource = new azure_native.devhub.IacProfile("iacProfileResource", {
        resourceGroupName: "string",
        repositoryMainBranch: "string",
        location: "string",
        branchName: "string",
        repositoryName: "string",
        repositoryOwner: "string",
        iacProfileName: "string",
        stages: [{
            dependencies: ["string"],
            gitEnvironment: "string",
            stageName: "string",
        }],
        storageAccountName: "string",
        storageAccountResourceGroup: "string",
        storageAccountSubscription: "string",
        storageContainerName: "string",
        tags: {
            string: "string",
        },
        templates: [{
            instanceName: "string",
            instanceStage: "string",
            sourceResourceId: "string",
            templateDetails: [{
                count: 0,
                namingConvention: "string",
                productName: "string",
            }],
            templateName: "string",
        }],
    });
    
    type: azure-native:devhub:IacProfile
    properties:
        branchName: string
        iacProfileName: string
        location: string
        repositoryMainBranch: string
        repositoryName: string
        repositoryOwner: string
        resourceGroupName: string
        stages:
            - dependencies:
                - string
              gitEnvironment: string
              stageName: string
        storageAccountName: string
        storageAccountResourceGroup: string
        storageAccountSubscription: string
        storageContainerName: string
        tags:
            string: string
        templates:
            - instanceName: string
              instanceStage: string
              sourceResourceId: string
              templateDetails:
                - count: 0
                  namingConvention: string
                  productName: string
              templateName: string
    

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

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    BranchName string
    Repository Branch Name
    IacProfileName string
    The name of the IacProfile.
    Location string
    The geo-location where the resource lives
    RepositoryMainBranch string
    Repository Main Branch
    RepositoryName string
    Repository Name
    RepositoryOwner string
    Repository Owner
    Stages List<Pulumi.AzureNative.DevHub.Inputs.StageProperties>
    StorageAccountName string
    Terraform Storage Account Name
    StorageAccountResourceGroup string
    Terraform Storage Account Resource Group
    StorageAccountSubscription string
    Terraform Storage Account Subscription
    StorageContainerName string
    Terraform Container Name
    Tags Dictionary<string, string>
    Resource tags.
    Templates List<Pulumi.AzureNative.DevHub.Inputs.IacTemplateProperties>
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    BranchName string
    Repository Branch Name
    IacProfileName string
    The name of the IacProfile.
    Location string
    The geo-location where the resource lives
    RepositoryMainBranch string
    Repository Main Branch
    RepositoryName string
    Repository Name
    RepositoryOwner string
    Repository Owner
    Stages []StagePropertiesArgs
    StorageAccountName string
    Terraform Storage Account Name
    StorageAccountResourceGroup string
    Terraform Storage Account Resource Group
    StorageAccountSubscription string
    Terraform Storage Account Subscription
    StorageContainerName string
    Terraform Container Name
    Tags map[string]string
    Resource tags.
    Templates []IacTemplatePropertiesArgs
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    branchName String
    Repository Branch Name
    iacProfileName String
    The name of the IacProfile.
    location String
    The geo-location where the resource lives
    repositoryMainBranch String
    Repository Main Branch
    repositoryName String
    Repository Name
    repositoryOwner String
    Repository Owner
    stages List<StageProperties>
    storageAccountName String
    Terraform Storage Account Name
    storageAccountResourceGroup String
    Terraform Storage Account Resource Group
    storageAccountSubscription String
    Terraform Storage Account Subscription
    storageContainerName String
    Terraform Container Name
    tags Map<String,String>
    Resource tags.
    templates List<IacTemplateProperties>
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    branchName string
    Repository Branch Name
    iacProfileName string
    The name of the IacProfile.
    location string
    The geo-location where the resource lives
    repositoryMainBranch string
    Repository Main Branch
    repositoryName string
    Repository Name
    repositoryOwner string
    Repository Owner
    stages StageProperties[]
    storageAccountName string
    Terraform Storage Account Name
    storageAccountResourceGroup string
    Terraform Storage Account Resource Group
    storageAccountSubscription string
    Terraform Storage Account Subscription
    storageContainerName string
    Terraform Container Name
    tags {[key: string]: string}
    Resource tags.
    templates IacTemplateProperties[]
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    branch_name str
    Repository Branch Name
    iac_profile_name str
    The name of the IacProfile.
    location str
    The geo-location where the resource lives
    repository_main_branch str
    Repository Main Branch
    repository_name str
    Repository Name
    repository_owner str
    Repository Owner
    stages Sequence[StagePropertiesArgs]
    storage_account_name str
    Terraform Storage Account Name
    storage_account_resource_group str
    Terraform Storage Account Resource Group
    storage_account_subscription str
    Terraform Storage Account Subscription
    storage_container_name str
    Terraform Container Name
    tags Mapping[str, str]
    Resource tags.
    templates Sequence[IacTemplatePropertiesArgs]
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    branchName String
    Repository Branch Name
    iacProfileName String
    The name of the IacProfile.
    location String
    The geo-location where the resource lives
    repositoryMainBranch String
    Repository Main Branch
    repositoryName String
    Repository Name
    repositoryOwner String
    Repository Owner
    stages List<Property Map>
    storageAccountName String
    Terraform Storage Account Name
    storageAccountResourceGroup String
    Terraform Storage Account Resource Group
    storageAccountSubscription String
    Terraform Storage Account Subscription
    storageContainerName String
    Terraform Container Name
    tags Map<String>
    Resource tags.
    templates List<Property Map>

    Outputs

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

    AuthStatus string
    Determines the authorization status of requests.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PrStatus string
    The status of the Pull Request submitted against the users repository.
    PullNumber int
    The number associated with the submitted pull request.
    SystemData Pulumi.AzureNative.DevHub.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AuthStatus string
    Determines the authorization status of requests.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PrStatus string
    The status of the Pull Request submitted against the users repository.
    PullNumber int
    The number associated with the submitted pull request.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    authStatus String
    Determines the authorization status of requests.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    prStatus String
    The status of the Pull Request submitted against the users repository.
    pullNumber Integer
    The number associated with the submitted pull request.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    authStatus string
    Determines the authorization status of requests.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    prStatus string
    The status of the Pull Request submitted against the users repository.
    pullNumber number
    The number associated with the submitted pull request.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    auth_status str
    Determines the authorization status of requests.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    pr_status str
    The status of the Pull Request submitted against the users repository.
    pull_number int
    The number associated with the submitted pull request.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    authStatus String
    Determines the authorization status of requests.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    prStatus String
    The status of the Pull Request submitted against the users repository.
    pullNumber Number
    The number associated with the submitted pull request.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    IacTemplateDetails, IacTemplateDetailsArgs

    Count int
    Count of the product
    NamingConvention string
    Naming convention of this product
    ProductName string
    The name of the products.
    Count int
    Count of the product
    NamingConvention string
    Naming convention of this product
    ProductName string
    The name of the products.
    count Integer
    Count of the product
    namingConvention String
    Naming convention of this product
    productName String
    The name of the products.
    count number
    Count of the product
    namingConvention string
    Naming convention of this product
    productName string
    The name of the products.
    count int
    Count of the product
    naming_convention str
    Naming convention of this product
    product_name str
    The name of the products.
    count Number
    Count of the product
    namingConvention String
    Naming convention of this product
    productName String
    The name of the products.

    IacTemplateDetailsResponse, IacTemplateDetailsResponseArgs

    Count int
    Count of the product
    NamingConvention string
    Naming convention of this product
    ProductName string
    The name of the products.
    Count int
    Count of the product
    NamingConvention string
    Naming convention of this product
    ProductName string
    The name of the products.
    count Integer
    Count of the product
    namingConvention String
    Naming convention of this product
    productName String
    The name of the products.
    count number
    Count of the product
    namingConvention string
    Naming convention of this product
    productName string
    The name of the products.
    count int
    Count of the product
    naming_convention str
    Naming convention of this product
    product_name str
    The name of the products.
    count Number
    Count of the product
    namingConvention String
    Naming convention of this product
    productName String
    The name of the products.

    IacTemplateProperties, IacTemplatePropertiesArgs

    InstanceName string
    the sample instance name of the template
    InstanceStage string
    the source stage of the template
    SourceResourceId string
    the source store of the template
    TemplateDetails List<Pulumi.AzureNative.DevHub.Inputs.IacTemplateDetails>
    TemplateName string
    Template Name
    InstanceName string
    the sample instance name of the template
    InstanceStage string
    the source stage of the template
    SourceResourceId string
    the source store of the template
    TemplateDetails []IacTemplateDetails
    TemplateName string
    Template Name
    instanceName String
    the sample instance name of the template
    instanceStage String
    the source stage of the template
    sourceResourceId String
    the source store of the template
    templateDetails List<IacTemplateDetails>
    templateName String
    Template Name
    instanceName string
    the sample instance name of the template
    instanceStage string
    the source stage of the template
    sourceResourceId string
    the source store of the template
    templateDetails IacTemplateDetails[]
    templateName string
    Template Name
    instance_name str
    the sample instance name of the template
    instance_stage str
    the source stage of the template
    source_resource_id str
    the source store of the template
    template_details Sequence[IacTemplateDetails]
    template_name str
    Template Name
    instanceName String
    the sample instance name of the template
    instanceStage String
    the source stage of the template
    sourceResourceId String
    the source store of the template
    templateDetails List<Property Map>
    templateName String
    Template Name

    IacTemplatePropertiesResponse, IacTemplatePropertiesResponseArgs

    QuickStartTemplateType string
    Determines the authorization status of requests.
    InstanceName string
    the sample instance name of the template
    InstanceStage string
    the source stage of the template
    SourceResourceId string
    the source store of the template
    TemplateDetails List<Pulumi.AzureNative.DevHub.Inputs.IacTemplateDetailsResponse>
    TemplateName string
    Template Name
    QuickStartTemplateType string
    Determines the authorization status of requests.
    InstanceName string
    the sample instance name of the template
    InstanceStage string
    the source stage of the template
    SourceResourceId string
    the source store of the template
    TemplateDetails []IacTemplateDetailsResponse
    TemplateName string
    Template Name
    quickStartTemplateType String
    Determines the authorization status of requests.
    instanceName String
    the sample instance name of the template
    instanceStage String
    the source stage of the template
    sourceResourceId String
    the source store of the template
    templateDetails List<IacTemplateDetailsResponse>
    templateName String
    Template Name
    quickStartTemplateType string
    Determines the authorization status of requests.
    instanceName string
    the sample instance name of the template
    instanceStage string
    the source stage of the template
    sourceResourceId string
    the source store of the template
    templateDetails IacTemplateDetailsResponse[]
    templateName string
    Template Name
    quick_start_template_type str
    Determines the authorization status of requests.
    instance_name str
    the sample instance name of the template
    instance_stage str
    the source stage of the template
    source_resource_id str
    the source store of the template
    template_details Sequence[IacTemplateDetailsResponse]
    template_name str
    Template Name
    quickStartTemplateType String
    Determines the authorization status of requests.
    instanceName String
    the sample instance name of the template
    instanceStage String
    the source stage of the template
    sourceResourceId String
    the source store of the template
    templateDetails List<Property Map>
    templateName String
    Template Name

    StageProperties, StagePropertiesArgs

    Dependencies List<string>
    GitEnvironment string
    StageName string
    Stage Name
    Dependencies []string
    GitEnvironment string
    StageName string
    Stage Name
    dependencies List<String>
    gitEnvironment String
    stageName String
    Stage Name
    dependencies string[]
    gitEnvironment string
    stageName string
    Stage Name
    dependencies Sequence[str]
    git_environment str
    stage_name str
    Stage Name
    dependencies List<String>
    gitEnvironment String
    stageName String
    Stage Name

    StagePropertiesResponse, StagePropertiesResponseArgs

    Dependencies List<string>
    GitEnvironment string
    StageName string
    Stage Name
    Dependencies []string
    GitEnvironment string
    StageName string
    Stage Name
    dependencies List<String>
    gitEnvironment String
    stageName String
    Stage Name
    dependencies string[]
    gitEnvironment string
    stageName string
    Stage Name
    dependencies Sequence[str]
    git_environment str
    stage_name str
    Stage Name
    dependencies List<String>
    gitEnvironment String
    stageName String
    Stage Name

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:devhub:IacProfile profile1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi