UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

124 lines (123 loc) 4.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource representation of a IacProfile. * * Uses Azure REST API version 2024-05-01-preview. * * Other available API versions: 2024-08-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native devhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getIacProfile(args: GetIacProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetIacProfileResult>; export interface GetIacProfileArgs { /** * The name of the IacProfile. */ iacProfileName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Resource representation of a IacProfile. */ export interface GetIacProfileResult { /** * Determines the authorization status of requests. */ readonly authStatus: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Repository Branch Name */ readonly branchName?: string; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * The status of the Pull Request submitted against the users repository. */ readonly prStatus: string; /** * The number associated with the submitted pull request. */ readonly pullNumber: number; /** * Repository Main Branch */ readonly repositoryMainBranch?: string; /** * Repository Name */ readonly repositoryName?: string; /** * Repository Owner */ readonly repositoryOwner?: string; readonly stages?: outputs.devhub.StagePropertiesResponse[]; /** * Terraform Storage Account Name */ readonly storageAccountName?: string; /** * Terraform Storage Account Resource Group */ readonly storageAccountResourceGroup?: string; /** * Terraform Storage Account Subscription */ readonly storageAccountSubscription?: string; /** * Terraform Container Name */ readonly storageContainerName?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.devhub.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; readonly templates?: outputs.devhub.IacTemplatePropertiesResponse[]; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Resource representation of a IacProfile. * * Uses Azure REST API version 2024-05-01-preview. * * Other available API versions: 2024-08-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native devhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getIacProfileOutput(args: GetIacProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIacProfileResult>; export interface GetIacProfileOutputArgs { /** * The name of the IacProfile. */ iacProfileName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }