# CloudProfile

> Resource CloudProfile in pulumi-teamcity.

<!-- Generated from the pulumi-teamcity SDK. -->

Resource CloudProfile in pulumi-teamcity.

Pulumi type: `teamcity:index/cloudProfile:CloudProfile`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as teamcity from "pulumi-teamcity"

const resource = new teamcity.CloudProfile("cloudProfile", {
  cloudProviderId: "<cloudProviderId>",
  projectId: "<projectId>",
})
```

## Arguments

| Property          | Type                          | Required | Description                                                                                                                  |
| ----------------- | ----------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `cloudProviderId` | `string`                      | yes      | The TeamCity cloud provider ID, for example amazon.                                                                          |
| `images`          | `CloudProfileImage (input)[]` | no       | Cloud images managed by this profile.                                                                                        |
| `name`            | `string`                      | no       | The public cloud profile name displayed in TeamCity.                                                                         |
| `projectId`       | `string`                      | yes      | The TeamCity project that owns the cloud profile.                                                                            |
| `properties`      | `{ [key: string]: string }`   | no       | Cloud provider-specific properties. The complete map is sensitive because TeamCity cloud profiles can contain secure values. |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property          | Type                           | Computed | Description                                                                                                                  |
| ----------------- | ------------------------------ | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `cloudProviderId` | `string`                       | no       | The TeamCity cloud provider ID, for example amazon.                                                                          |
| `images`          | `CloudProfileImage (output)[]` | no       | Cloud images managed by this profile.                                                                                        |
| `name`            | `string`                       | no       | The public cloud profile name displayed in TeamCity.                                                                         |
| `projectId`       | `string`                       | no       | The TeamCity project that owns the cloud profile.                                                                            |
| `properties`      | `{ [key: string]: string }`    | no       | Cloud provider-specific properties. The complete map is sensitive because TeamCity cloud profiles can contain secure values. |

## `CloudProfileImage (input)`

Input object `CloudProfileImage`. Fields below belong to this object, not to the parent.

| Property      | Type                        | Required | Description                                                                                             |
| ------------- | --------------------------- | -------- | ------------------------------------------------------------------------------------------------------- |
| `agentPoolId` | `number`                    | no       | The agent pool that receives agents started from this image.                                            |
| `id`          | `string`                    | no       | The TeamCity cloud image ID.                                                                            |
| `name`        | `string`                    | yes      | The cloud image name displayed in TeamCity.                                                             |
| `properties`  | `{ [key: string]: string }` | no       | Image-specific provider properties. The complete map is sensitive because it can contain secure values. |

## `CloudProfileImage (output)`

Output object `CloudProfileImage`. Fields below belong to this object.

| Property      | Type                        | Always present | Description                                                                                             |
| ------------- | --------------------------- | -------------- | ------------------------------------------------------------------------------------------------------- |
| `agentPoolId` | `number`                    | no             | The agent pool that receives agents started from this image.                                            |
| `id`          | `string`                    | yes            | The TeamCity cloud image ID.                                                                            |
| `name`        | `string`                    | yes            | The cloud image name displayed in TeamCity.                                                             |
| `properties`  | `{ [key: string]: string }` | yes            | Image-specific provider properties. The complete map is sensitive because it can contain secure values. |
