# Brownfield ingest

> Create and delete OneFuse Managed Objects via API for brownfield implementations

---

Site [llms.txt](/llms.txt)

---

<div class="alert alert-info" role="alert">


**SwaggerHub API:** [OneFuse](https://app.swaggerhub.com/apis-docs/cloudbolt/OneFuse/) for Brownfield Ingest
</div>


<div class="alert alert-info" role="alert">


**VMware Aria Automation:** [Migration tools](/docs/onefuse/consume/vmware-aria-automation/migration-tools/) with Brownfield Ingest
</div>


## Features and highlights

Utilize OneFuse Brownfield Ingest APIs for scenarios where OneFuse is desired for management for previously integrated and provisioned resources.

- **POST** `Ingest`
  - Ability to create the [Managed object](/docs/onefuse/concepts/managed-object/) via Ingest API *without* provisioning and associate it to an existing OneFuse Policy.
- **DELETE** `Ingest`
  - Ability to delete the Managed Object via Ingest API *without* running any deprovisioning scenarios (only deletes the Managed Object).
- **DELETE** `Deprovisioning`
  - Ability to delete the Managed Object created via Ingest API **with** deprovisioning using normal delete API for the Module.
- The **Job Metadata** reflects everything created and deleted via API.
  - When `templateProperties` are passed in, it is stored on the Job Metadata `requestInfo.payload`

## Prerequisites

1. **OneFuse** [Installed](/docs/onefuse/installation/install-from-ova/) and [Setup](/docs/onefuse/installation/setup-and-license/)
1. **OneFuse Configured**
   - [Module credentials](/docs/onefuse/configure/module-credentials/) and/or [Connection info](/docs/onefuse/configure/connection-info/)
   - [Module endpoints](/docs/onefuse/configure/module-endpoints/)
   - Module Policies
1. **Identify resources to ingest** and be managed by OneFuse

## Ingest managed objects

The following can be created and maintained by OneFuse as an ingested OneFuse Managed Object.

<div class="alert alert-warning" role="alert">


The Ingest API has no validations and simply accepts the value provided. Any validations should occur before and/or after the Ingest API call.
</div>


### Summary

| Resource | OneFuse Module for Managed Object |
| --- | --- |
| Ansible Tower Deployments | [Ansible Tower](/docs/onefuse/configure/modules/ansible-tower/) |
| DNS Records | [DNS](/docs/onefuse/configure/modules/dns/) |
| IP Addresses | [IPAM](/docs/onefuse/configure/modules/ipam/) |
| Microsoft Active Directory Computer Accounts | [Microsoft Active Directory](/docs/onefuse/configure/modules/microsoft-active-directory/) |
| Name | [Naming](/docs/onefuse/configure/modules/naming/) |
| Scripts for a Resource | [Scripting](/docs/onefuse/configure/modules/scripting/) |
| ServiceNow CMDB CIs | [ServiceNow CMDB](/docs/onefuse/configure/modules/servicenow-cmdb/) |
| Aria Automation 8x Deployments | [Aria Automation](/docs/onefuse/consume/vmware-aria-automation/aria-automation-8x/modules/aria-automation/) |

### Global ingest request body parameters

The following table shows request body parameters that are common/global and **available** for all OneFuse Managed Object Ingest API POST calls.

Global request body parameters for all OneFuse Module Ingest:

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `workspace` | Required | API HREF Path to OneFuse Workspace |
| `policy` | Required | API REF Path to OneFuse Policy |
| `templateProperties` | Optional | JSON Properties that will be stored on the JobMetadata's requestInfo payload to render any `template` fields on the Policy during a deprovisioning delete (non-Ingest) of the Managed Object.<br>*Recommended when wanting to delete the Managed Object with a `Deprovisioning` Delete (will run deprovisioning scenarios).* |

Example `workspace` value:

```text
# Example
"workspace": "/api/v3/onefuse/workspaces/1/"
```

Example `policy` values for each OneFuse Module:

```text
#Example for each OneFuse Module
#Ansible Tower
"policy": "/api/v3/onefuse/ansibleTowerPolicies/{id}/"
#DNS
"policy": "/api/v3/onefuse/dnsPolicies/{id}/"
#IPAM
"policy": "/api/v3/onefuse/ipamPolicies/{id}/"
#Microsoft Active Directory
"policy": "/api/v3/onefuse/microsoftADPolicies/{id}/"
#Naming
"policy": "/api/v3/onefuse/namingPolicies/{id}/"
#Scripting
"policy": "/api/v3/onefuse/scriptingPolicies/{id}/"
#ServiceNow CMDB
"policy": "/api/v3/onefuse/servicenowCMDBPolicies/{id}/"
#vRealize Automation
"policy": "/api/v3/onefuse/vraPolicies/{id}/"
```

### Ansible Tower deployments

Ingest creates a corresponding OneFuse Ansible Tower Deployment, which tracks the host and its Job Templates for provisioning and optional Job Templates for deprovisioning and Inventory.

#### Prerequisite checks {#prerequisite-checks-ansible-tower}

1. OneFuse **Module Credential** for Ansible Tower
1. OneFuse **Module Endpoint** for Ansible Tower
1. OneFuse **Ansible Tower Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-ansible-tower}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/ansibleTowerDeployments/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/ansibleTowerDeployments/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/ansibleTowerDeployments/{id}/` |

Ansible Tower Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `inventoryName` | Optional | Ansible Tower Inventory Name |
| `hosts` | Optional | Ansible Tower Host(s) is an array of Hostname (FQDN) or IP Address of the Host for the Ansible Tower Inventory.<br>*Recommended when wanting to delete the Managed Object with a `Deprovisioning` delete.* |
| `limit` | Optional | Ansible Tower Limit is a valid Limit definition to pass to Ansible Tower. This can be a specific Hostname (FQDN) or IP Address or any valid Limit pattern.<br>Resource: [Patterns: targeting hosts and groups](https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html) |
| `provisioningJobResults` | Optional | Provisioning Job Results. Array of JSON objects |
| `deprovisioningJobResults` | Optional | Deprovisioning Job Results. Array of JSON objects |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/ansibleTowerPolicies/{id}/",
  "inventoryName": "myInventoryName",
  "hosts": [],
  "limit": "*",
  "provisioningJobResults": [],
  "deprovisioningJobResults": [],
  "templateProperties": {}
}
```

### DNS records

Ingest creates a corresponding OneFuse Managed DNS Record, which tracks the DNS Record(s) for a resource.

#### Prerequisite checks {#prerequisite-checks-dns}

1. OneFuse **Module Credential** for DNS Provider
1. OneFuse **Module Endpoint** for DNS Provider
1. OneFuse **DNS Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-dns}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/dnsReservations/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/dnsReservations/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/dnsReservations/{id}/` |

DNS Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `name` | Required | Hostname (without domain) for the Record(s) |
| `records` | Required | Array of JSON Objects containing: `type`, `name`, `value` |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/dnsPolicies/{id}/",
  "name": "pp-altlap124",
  "records": [
        {
            "type": "host",
            "name": "pp-altlap124.example.net",
            "value": "172.30.30.169"
    }
  ],
  "templateProperties": {}
}
```

### IP addresses

Ingest creates a corresponding OneFuse Managed IP Address, which tracks the IP Address for a resource.

#### Prerequisite checks {#prerequisite-checks-ipam}

1. OneFuse **Module Credential** for IPAM Provider
1. OneFuse **Module Endpoint** for IPAM Provider
1. OneFuse **IPAM Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-ipam}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/ipamReservations/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/ipamReservations/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/ipamReservations/{id}/` |

IPAM Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `hostname` | Required | Hostname in FQDN format |
| `ipAddress` | Required | IP Address for the resource |
| `subnet` | Required | Subnet (CIDR) |
| `primaryDns` | Optional | Primary DNS |
| `secondaryDns` | Optional | Secondary DNS |
| `dnsSuffix` | Optional | DNS Suffix |
| `dnsSearchSuffixes` | Optional | DNS Search Suffix(es), comma separated |
| `nicLabel` | Optional | NIC Label |
| `gateway` | Optional | Gateway |
| `netmask` | Optional | Netmask |
| `network` | Optional | Network Name |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/ipamPolicies/{id}/",
  "ipAddress": "10.10.10.19",
  "hostname": "pp-portlapp168.example.com",
  "primaryDns": "10.10.0.1",
  "secondaryDns": "10.10.0.2",
  "dnsSuffix": "example.com",
  "dnsSearchSuffixes": "example.com",
  "nicLabel": null,
  "subnet": "10.10.10.0/24",
  "gateway": "10.10.10.1",
  "network": "dvs_10.10.10.0_24",
  "netmask": "255.255.255.0",
  "templateProperties": {}
}
```

### Microsoft Active Directory computers

Ingest creates a corresponding OneFuse Managed Active Directory Computer, which tracks the Microsoft Active Directory Computer Account for a resource.

#### Prerequisite checks {#prerequisite-checks-microsoft-ad}

1. OneFuse **Module Credential** for Microsoft
1. OneFuse **Module Endpoint** for Microsoft
1. OneFuse **Microsoft Active Directory Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-microsoft-ad}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/microsoftADComputerAccounts/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/microsoftADComputerAccounts/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/microsoftADComputerAccounts/{id}/` |

Active Directory Computer Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `name` | Required | Computer Account Name |
| `state` | Required | State, determines which OU to place Computer Account in.<br>- `build`<br>- `final` |
| `finalOu` | Optional when `state: build` | Final OU to place Computer Account in.<br>*Recommended when wanting to delete the Managed Object with a `Deprovisioning` Delete (will run deprovisioning scenarios).* |
| `buildOu` | Optional when `state: final` | Build OU to place Computer Account in.<br>*Recommended when wanting to delete the Managed Object with a `Deprovisioning` Delete (will run deprovisioning scenarios).* |
| `securityGroups` | Optional | Array of Security Group(s)<br>*Recommended when ingested Computer Account is in Security Group(s) and wanting to delete the Managed Object with a `Deprovisioning` Delete (will run deprovisioning scenarios).* |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/microsoftADPolicies/{id}/",
  "name": "pp-portlapp168",
  "state": "final",
  "buildOu": "OU=PiedPiper,OU=build,DC=2k19ad,DC=example,DC=com",
  "finalOu": "OU=PiedPiper,OU=TST,OU=final,DC=2k19ad,DC=example,DC=com",
  "securityGroups": [
      "CN=PortlandLinuxApp,OU=Groups,OU=Company,DC=2k19ad,DC=example,DC=com"
  ],
  "templateProperties": {}
}
```

### Names

Ingest creates a corresponding OneFuse Managed Name, which tracks the Name for a resource.

#### Prerequisite checks {#prerequisite-checks-naming}

1. Optional OneFuse **Validator** for Naming
1. OneFuse **Naming Sequence**
1. OneFuse **Naming Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-naming}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/customNames/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/customNames/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/customNames/{id}/` |

Naming Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `name` | Required | Custom Name |
| `dnsSuffix` | Optional | DNS Suffix for the name<br>When ingesting a name without a DNS Suffix, provide `""` |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/namingPolicies/{id}/",
  "name": "pp-portlapp168",
  "dnsSuffix": "",          //Or, "dnsSuffix": "example.com"
  "templateProperties": {}
}
```

### Script deployments

Ingest creates a corresponding OneFuse Script Deployment, which tracks the Script execution for a resource.

#### Prerequisite checks {#prerequisite-checks-scripting}

1. OneFuse **Module Credential** for Target Host
1. OneFuse **Scripting Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-scripting}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/scriptingDeployments/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/scriptingDeployments/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/scriptingDeployments/{id}/` |

Scripting Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `hostname` | Optional | Hostname (for example, Target Host) in FQDN or IP Address format<br>*Recommended when wanting to delete the Managed Object with a `Deprovisioning` Delete (will run deprovisioning scenarios).* |
| `provisioningDetails` | Optional | Array of JSON objects of Provisioning Details |
| `deprovisioningDetails` | Optional | Array of JSON objects of Deprovisioning Details |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/scriptingPolicies/{id}/",
  "hostname": "pp-atltlap009.example.com",
  "provisioningDetails": {
      "status": "successful",
      "output": []
  },
  "deprovisioningDetails": {},
  "templateProperties": {}
}
```

### ServiceNow CMDB CIs

Ingest creates a corresponding OneFuse ServiceNow CMDB Deployment, which tracks the ServiceNow CIs for a resource.

#### Prerequisite checks {#prerequisite-checks-servicenow-cmdb}

1. OneFuse **Module Credential** for ServiceNow
1. OneFuse **Module Endpoint** for ServiceNow
1. OneFuse **ServiceNow CMDB Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-servicenow-cmdb}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/servicenowCMDBDeployments/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/servicenowCMDBDeployments/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/servicenowCMDBDeployments/{id}/` |

ServiceNow CMDB Deployment Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `configurationItemsInfo` | Required | Array of JSON objects of Configuration Items information |
| `executionDetails` | Required | Array of JSON objects of Execution Details<br>*Recommended when wanting to delete the Managed Object with a `Deprovisioning` Delete (will run deprovisioning scenarios).* |

Sample POST request body:

```json
{
    "workspace": "/api/v3/onefuse/workspaces/1/",
    "policy": "/api/v3/onefuse/servicenowCMDBPolicies/{id}/",
    "configurationItemsInfo": [{
        "ciClassName": "cmdb_ci_linux_server",
        "ciName": "pp-portlapp168"
    }],
    "executionDetails": {
        "latestExecution": {
            "lifecycle": "update",
            "timestamp": "2021-09-24T13:08:23.918423Z"
        },
        "response": {
            "result": {
                "items": [{
                    "className": "cmdb_ci_linux_server",
                    "operation": "UPDATE",
                    "sysId": "10e245211b3e7c10c61864a2604bcb8c",
                    "identifierEntrySysId": "567d0e03dba7ec10050e88d40596194d",
                    "identificationAttempts": [{
                            "info": "sys_object_source SKIPPED",
                            "identifierName": "",
                            "attemptResult": "SKIPPED",
                            "attributes": [],
                            "hybridEntryCiAttributes": []
                        },
                        {
                            "identifierName": "Linux Server rule",
                            "attemptResult": "MATCHED",
                            "attributes": [
                                "serial_number"
                            ],
                            "searchOnTable": "cmdb_ci_linux_server",
                            "hybridEntryCiAttributes": []
                        }
                    ],
                    "errorCount": 0,
                    "mergedPayloadIds": [],
                    "inputIndices": [
                        0
                    ],
                    "warningCount": 0,
                    "markers": []
                }],
                "additionalCommittedItems": [],
                "relations": [],
                "additionalCommittedRelations": []
            }
        }
    },
  "templateProperties": {}
}
```

### VMware Aria Automation 8x deployment

Ingest creates a corresponding OneFuse Aria Automation Deployment, which tracks the Aria Automation 8x/Cloud Deployment.

#### Prerequisite checks {#prerequisite-checks-aria-automation}

1. OneFuse **Module Credential** for Aria Automation 8
1. OneFuse **Module Endpoint** for Aria Automation 8.3+
1. OneFuse **Aria Automation Policy**

#### Ingest API and parameters {#ingest-api-and-parameters-aria-automation}

| Method | Operation | Endpoint |
| --- | --- | --- |
| POST | `Ingest` | `/api/v3/onefuse/vraDeployments/ingest/` |
| DELETE | `Ingest` | `/api/v3/onefuse/vraDeployments/{id}/ingest/` |
| DELETE | `Deprovisioning` | `/api/v3/onefuse/vraDeployments/{id}/` |

Aria Automation Deployment Managed Object specific parameter(s):

| Parameter Name | Required? | Description |
| --- | --- | --- |
| `name` | Required | Name of vRA Deployment |
| `deploymentInfo` | Required | Array of JSON objects of Deployment Information |
| `projectName` | Optional | vRA Deployment's Project Name |
| `blueprintName` | Optional | vRA Deployment's Blueprint Name |

Sample POST request body:

```json
{
  "workspace": "/api/v3/onefuse/workspaces/1/",
  "policy": "/api/v3/onefuse/vraPolicies/{id}/",
  "deploymentInfo": {
    "id": "d4a87400-8017-45f8-8b2d-7e24291f0097",
    "name": "vra-test-001",
    "description": "",
    "orgId": "731430cc-290e-47cf-9661-3a77a480e80e",
    "blueprintId": "e95e39dc-ee32-4d0e-93de-dc0e7625bb2f",
    "blueprintVersion": "3.4",
    "createdAt": "2021-09-23T21:05:17.526833Z",
    "createdBy": "onefusesvc",
    "ownedBy": "onefusesvc",
    "lastUpdatedAt": "2021-09-23T21:14:43.786968Z",
    "lastUpdatedBy": "onefusesvc",
    "inputs": {
      "machineCount": 2,
      "defaultInputs": {
        "app": "linux",
        "env": "test",
        "size": "small",
        "location": "por",
        "compliance": "None",
        "OneFuse_Tracking_Id": "b3ce6dc1-9c13-47c4-baf1-fb78ae95c527"
      },
      "OneFuse_Tracking_Id": "b3ce6dc1-9c13-47c4-baf1-fb78ae95c527"
    },
    "projectId": "7563b78a-1331-4f43-ae42-177ab7b43381",
    "status": "CREATE_SUCCESSFUL",
    "childResources": [{
        "id": "5229d821-a589-4714-8dac-4607b133811d",
        "name": "Cloud_Machine_1[0]",
        "type": "Cloud.Machine",
        "properties": {
          "resourceId": "5229d821-a589-4714-8dac-4607b133811d",
          "zone_overlapping_migrated": "true",
          "constraints": [{
            "tag": "demo01"
          }],
          "powerState": "ON",
          "environmentName": "On premise",
          "countIndex": "0",
          "hasSnapshots": "false",
          "computeHostType": "ClusterComputeResource",
          "id": "/resources/compute/5229d821-a589-4714-8dac-4607b133811d",
          "cpuCount": 1,
          "totalMemoryMB": 1024,
          "imageId": "Centos7.2",
          "endpointType": "vsphere",
          "OneFuse_Naming_DnsSuffix": "example.com",
          "tags": [],
          "OneFuse_IpamPolicy_Nic0": "onefuse_dev:{{ipamLocation}}{{ipamEnv}}{{ ipamcompliance }}",
          "OneFuse_Tracking_Id": "b3ce6dc1-9c13-47c4-baf1-fb78ae95c527",
          "OneFuse_DnsPolicy_Nic0": "onefuse_dev:{{dnsPolicy}}:{{OneFuse_Ipam_Nic0.dnsSuffix}}",
          "resourceLink": "/resources/compute/5229d821-a589-4714-8dac-4607b133811d",
          "hostName": "pp-portlapp163",
          "1FPS_Location": "ptk_location_por",
          "1FPS_Env": "ptk_env_test",
          "networks": [{
            "id": "/resources/network-interfaces/d79d1a96-f353-4312-9ccc-fc11e233ea33",
            "dns": [
              "10.10.0.1",
              "10.10.0.12"
            ],
            "name": "network_10.10.10.0_24",
            "domain": "example.com",
            "address": "10.10.10.55",
            "gateway": "10.10.10.1",
            "netmask": "255.255.255.0",
            "assignment": "static",
            "deviceIndex": 0,
            "mac_address": "00:50:56:a5:c2:aa",
            "resourceName": "network_10.10.10.0_24",
            "ipv6Addresses": [
              "fe80::250:56ff:fea5:c2aa"
            ],
            "dnsSearchDomains": [
              "example.com",
              "example.net"
            ]
          }],
          "1FPS_Group": "ptk_group_piedpiper",
          "resourcePool": "/resources/pools/1c42e2e52dbd0875-7f703c5265a63d87",
          "componentType": "Cloud.vSphere.Machine",
          "address": "10.10.10.55",
          "1FPS_GlobalProperties": "ptk_globalproperties",
          "datastoreName": "Nimble-DS2",
          "OneFuse_ServiceNowCmdbPolicy": "onefuse_dev:{{familyOS}}",
          "coreCount": "1",
          "OneFuse_Dns_Nic0": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/dnsReservations/235/\",\"title\":\"pp-portlapp163\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/dnsPolicies/7/\",\"title\":\"prod\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2230/\",\"title\":\"Job Metadata Record id 2230\"}},\"name\":\"pp-portlapp163\",\"id\":235,\"records\":[{\"type\":\"host\",\"name\":\"pp-portlapp163.example.com\",\"value\":\"10.10.10.55\"}],\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "1FPS_App": "ptk_app_linux",
          "flavorMappingName": "small",
          "resourceDescLink": "/resources/compute-descriptions/1ee9c5b4-a4cc-4cee-a91d-3dec588d87d2",
          "project": "7563b78a-1331-4f43-ae42-177ab7b43381",
          "zone": "Cluster1",
          "memoryGB": "1",
          "OneFuse_AD": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/microsoftADComputerAccounts/144/\",\"title\":\"pp-portlapp163\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/microsoftADPolicies/3/\",\"title\":\"dev\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2232/\",\"title\":\"Job Metadata Record id 2232\"}},\"name\":\"pp-portlapp163\",\"id\":144,\"state\":\"final\",\"buildOu\":\"OU=PiedPiper,OU=TST,OU=build,DC=2k19ad,DC=example,DC=com\",\"finalOu\":\"OU=PiedPiper,OU=TST,OU=final,DC=2k19ad,DC=example,DC=com\",\"securityGroups\":[\"CN=testDemoComputers,OU=Groups,OU=SovLabs,DC=2k19ad,DC=example,DC=com\"],\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "image": "CentOS7",
          "OneFuse_NamingPolicy": "onefuse_dev:machine",
          "count": "2",
          "1FPS_Size": "ptk_size_small",
          "resourceName": "pp-portlapp163",
          "OneFuse_ServiceNowCmdb": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/servicenowCMDBDeployments/168/\",\"title\":\"Service Now Cmdb Deployment id 168\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/servicenowCMDBPolicies/1/\",\"title\":\"linux\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2238/\",\"title\":\"Job Metadata Record id 2238\"}},\"id\":168,\"configurationItemsInfo\":[{\"ciClassName\":\"cmdb_ci_linux_server\",\"ciName\":\"pp-portlapp163\"}],\"executionDetails\":{\"latestExecution\":{\"lifecycle\":\"provision\",\"timestamp\":\"2021-09-23T21:13:39.157115Z\"},\"response\":{\"result\":{\"items\":[{\"className\":\"cmdb_ci_linux_server\",\"operation\":\"INSERT\",\"sysId\":\"2988e9191b327c10c61864a2604bcb03\",\"identifierEntrySysId\":\"Unknown\",\"identificationAttempts\":[{\"info\":\"sys_object_source SKIPPED\",\"identifierName\":\"\",\"attemptResult\":\"SKIPPED\",\"attributes\":[],\"hybridEntryCiAttributes\":[]},{\"identifierName\":\"Linux Server rule\",\"attemptResult\":\"NO_MATCH\",\"attributes\":[\"serial_number\"],\"searchOnTable\":\"cmdb_ci_linux_server\",\"hybridEntryCiAttributes\":[]}],\"errorCount\":0,\"mergedPayloadIds\":[],\"inputIndices\":[0],\"warningCount\":0,\"markers\":[]}],\"additionalCommittedItems\":[],\"relations\":[],\"additionalCommittedRelations\":[]}}},\"archived\":false,\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "flavor": "small",
          "softwareName": "Red Hat Enterprise Linux 7 (64-bit)",
          "OneFuse_Naming": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/customNames/305/\",\"title\":\"pp-portlapp163\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/namingPolicies/8/\",\"title\":\"machine\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2226/\",\"title\":\"Job Metadata Record id 2226\"}},\"name\":\"pp-portlapp163\",\"id\":305,\"dnsSuffix\":\"example.com\",\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "name": "Cloud_Machine_1[0]",
          "region": "SovLabs",
          "OneFuse_ADPolicy": "onefuse_dev:{{adPolicy}}",
          "OneFuse_Ipam_Nic0": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/ipamReservations/246/\",\"title\":\"10.10.10.55\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/ipamPolicies/16/\",\"title\":\"portest\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2227/\",\"title\":\"Job Metadata Record id 2227\"}},\"id\":246,\"ipAddress\":\"10.10.10.55\",\"hostname\":\"pp-portlapp163.example.com\",\"primaryDns\":\"10.10.0.1\",\"secondaryDns\":\"10.10.0.12\",\"dnsSuffix\":\"example.com\",\"dnsSearchSuffixes\":\"example.com,example.net\",\"nicLabel\":null,\"subnet\":\"10.10.10.0/24\",\"gateway\":\"10.10.10.1\",\"network\":\"network_10.10.10.0_24\",\"netmask\":\"255.255.255.0\",\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"networkId\":\"ed6553a7-2848-40a3-9200-8a3318bf604e\",\"endpoint\":\"onefuse_dev\"}",
          "storage": {
            "disks": [{
                "vm": "VirtualMachine:vm-772630",
                "name": "pp-portlapp163-boot-disk",
                "type": "HDD",
                "shares": "1000",
                "vcUuid": "634f89cd-bcf8-421b-bfa3-65f09557abca",
                "bootOrder": 1,
                "encrypted": false,
                "limitIops": "-1",
                "capacityGb": 16,
                "persistent": false,
                "independent": "false",
                "sharesLevel": "normal",
                "controllerKey": "1000",
                "diskPlacementRef": "StoragePod:group-p627707",
                "provisioningType": "thin",
                "controllerUnitNumber": "0"
              },
              {
                "vm": "VirtualMachine:vm-772630",
                "name": "CD/DVD drive 1",
                "type": "CDROM",
                "vcUuid": "634f89cd-bcf8-421b-bfa3-65f09557abca",
                "encrypted": false,
                "capacityGb": 0,
                "persistent": false,
                "controllerKey": "15000",
                "controllerUnitNumber": "0"
              }
            ]
          },
          "OneFuse_SPS_GlobalProperties": "ptk_globalproperties",
          "providerId": "5025e079-5c66-9001-59b6-91b6066f1528",
          "osType": "LINUX",
          "instanceUUID": "5025e079-5c66-9001-59b6-91b6066f1528",
          "endpointId": "6a27e645-5625-4b71-806a-3af84309bf6b",
          "datacenter": "Datacenter:datacenter-21",
          "OneFuse_AD_State": "final",
          "primaryMAC": "00:50:56:a5:c2:aa",
          "computeHostRef": "ClusterComputeResource:domain-c26",
          "OneFuse_IsVra8GroupDeployment": "false",
          "account": "vcenter01",
          "vcUuid": "634f89cd-bcf8-421b-bfa3-65f09557abca"
        },
        "createdAt": "2021-09-23T21:07:19.232470Z",
        "state": "OK"
      },
      {
        "id": "a5e64a46-a6f4-4ece-aef8-1f71a8027d7b",
        "name": "Cloud_Machine_1[1]",
        "type": "Cloud.Machine",
        "properties": {
          "resourceId": "a5e64a46-a6f4-4ece-aef8-1f71a8027d7b",
          "zone_overlapping_migrated": "true",
          "constraints": [{
            "tag": "demo01"
          }],
          "powerState": "ON",
          "environmentName": "On premise",
          "countIndex": "1",
          "hasSnapshots": "false",
          "computeHostType": "ClusterComputeResource",
          "id": "/resources/compute/a5e64a46-a6f4-4ece-aef8-1f71a8027d7b",
          "cpuCount": 1,
          "totalMemoryMB": 1024,
          "imageId": "Centos7.2",
          "endpointType": "vsphere",
          "OneFuse_Naming_DnsSuffix": "example.com",
          "tags": [],
          "OneFuse_IpamPolicy_Nic0": "onefuse_dev:{{ipamLocation}}{{ipamEnv}}{{ ipamcompliance }}",
          "OneFuse_Tracking_Id": "b3ce6dc1-9c13-47c4-baf1-fb78ae95c527",
          "OneFuse_DnsPolicy_Nic0": "onefuse_dev:{{dnsPolicy}}:{{OneFuse_Ipam_Nic0.dnsSuffix}}",
          "resourceLink": "/resources/compute/a5e64a46-a6f4-4ece-aef8-1f71a8027d7b",
          "hostName": "pp-portlapp164",
          "1FPS_Location": "ptk_location_por",
          "1FPS_Env": "ptk_env_test",
          "networks": [{
            "id": "/resources/network-interfaces/df351035-8093-4cbb-803b-4b4ea66a9cfc",
            "dns": [
              "10.10.0.1",
              "10.10.0.12"
            ],
            "name": "network_10.10.10.0_24",
            "domain": "example.com",
            "address": "10.10.10.56",
            "gateway": "10.10.10.1",
            "netmask": "255.255.255.0",
            "assignment": "static",
            "deviceIndex": 0,
            "mac_address": "00:50:56:a5:6c:e5",
            "resourceName": "network_10.10.10.0_24",
            "ipv6Addresses": [
              "fe80::250:56ff:fea5:6ce5"
            ],
            "dnsSearchDomains": [
              "example.com",
              "example.net"
            ]
          }],
          "1FPS_Group": "ptk_group_piedpiper",
          "resourcePool": "/resources/pools/1c42e2e52dbd0875-7f703c5265a63d87",
          "componentType": "Cloud.vSphere.Machine",
          "address": "10.10.10.56",
          "1FPS_GlobalProperties": "ptk_globalproperties",
          "datastoreName": "Nimble-DS3",
          "OneFuse_ServiceNowCmdbPolicy": "onefuse_dev:{{familyOS}}",
          "coreCount": "1",
          "OneFuse_Dns_Nic0": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/dnsReservations/236/\",\"title\":\"pp-portlapp164\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/dnsPolicies/7/\",\"title\":\"prod\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2231/\",\"title\":\"Job Metadata Record id 2231\"}},\"name\":\"pp-portlapp164\",\"id\":236,\"records\":[{\"type\":\"host\",\"name\":\"pp-portlapp164.example.com\",\"value\":\"10.10.10.56\"}],\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "1FPS_App": "ptk_app_linux",
          "flavorMappingName": "small",
          "resourceDescLink": "/resources/compute-descriptions/3aff62de-b94f-40bc-a94d-4954f0de5eb5",
          "project": "7563b78a-1331-4f43-ae42-177ab7b43381",
          "zone": "Cluster1",
          "memoryGB": "1",
          "OneFuse_AD": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/microsoftADComputerAccounts/145/\",\"title\":\"pp-portlapp164\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/microsoftADPolicies/3/\",\"title\":\"dev\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2233/\",\"title\":\"Job Metadata Record id 2233\"}},\"name\":\"pp-portlapp164\",\"id\":145,\"state\":\"final\",\"buildOu\":\"OU=PiedPiper,OU=TST,OU=build,DC=2k19ad,DC=example,DC=com\",\"finalOu\":\"OU=PiedPiper,OU=TST,OU=final,DC=2k19ad,DC=example,DC=com\",\"securityGroups\":[\"CN=testDemoComputers,OU=Groups,OU=SovLabs,DC=2k19ad,DC=example,DC=com\"],\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "image": "CentOS7",
          "OneFuse_NamingPolicy": "onefuse_dev:machine",
          "count": "2",
          "1FPS_Size": "ptk_size_small",
          "resourceName": "pp-portlapp164",
          "OneFuse_ServiceNowCmdb": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/servicenowCMDBDeployments/169/\",\"title\":\"Service Now Cmdb Deployment id 169\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/servicenowCMDBPolicies/1/\",\"title\":\"linux\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2240/\",\"title\":\"Job Metadata Record id 2240\"}},\"id\":169,\"configurationItemsInfo\":[{\"ciClassName\":\"cmdb_ci_linux_server\",\"ciName\":\"pp-portlapp164\"}],\"executionDetails\":{\"latestExecution\":{\"lifecycle\":\"provision\",\"timestamp\":\"2021-09-23T21:14:29.129373Z\"},\"response\":{\"result\":{\"items\":[{\"className\":\"cmdb_ci_linux_server\",\"operation\":\"INSERT\",\"sysId\":\"bdb8a19d1bfe3c10c61864a2604bcbf1\",\"identifierEntrySysId\":\"Unknown\",\"identificationAttempts\":[{\"info\":\"sys_object_source SKIPPED\",\"identifierName\":\"\",\"attemptResult\":\"SKIPPED\",\"attributes\":[],\"hybridEntryCiAttributes\":[]},{\"identifierName\":\"Linux Server rule\",\"attemptResult\":\"NO_MATCH\",\"attributes\":[\"serial_number\"],\"searchOnTable\":\"cmdb_ci_linux_server\",\"hybridEntryCiAttributes\":[]}],\"errorCount\":0,\"mergedPayloadIds\":[],\"inputIndices\":[0],\"warningCount\":0,\"markers\":[]}],\"additionalCommittedItems\":[],\"relations\":[],\"additionalCommittedRelations\":[]}}},\"archived\":false,\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "flavor": "small",
          "softwareName": "Red Hat Enterprise Linux 7 (64-bit)",
          "OneFuse_Naming": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/customNames/306/\",\"title\":\"pp-portlapp164\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/namingPolicies/8/\",\"title\":\"machine\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2228/\",\"title\":\"Job Metadata Record id 2228\"}},\"name\":\"pp-portlapp164\",\"id\":306,\"dnsSuffix\":\"example.com\",\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"endpoint\":\"onefuse_dev\"}",
          "name": "Cloud_Machine_1[1]",
          "region": "SovLabs",
          "OneFuse_ADPolicy": "onefuse_dev:{{adPolicy}}",
          "OneFuse_Ipam_Nic0": "{\"_links\":{\"self\":{\"href\":\"/api/v3/onefuse/ipamReservations/247/\",\"title\":\"10.10.10.56\"},\"workspace\":{\"href\":\"/api/v3/onefuse/workspaces/2/\",\"title\":\"Default\"},\"policy\":{\"href\":\"/api/v3/onefuse/ipamPolicies/16/\",\"title\":\"portest\"},\"jobMetadata\":{\"href\":\"/api/v3/onefuse/jobMetadata/2229/\",\"title\":\"Job Metadata Record id 2229\"}},\"id\":247,\"ipAddress\":\"10.10.10.56\",\"hostname\":\"pp-portlapp164.example.com\",\"primaryDns\":\"10.10.0.1\",\"secondaryDns\":\"10.10.0.12\",\"dnsSuffix\":\"example.com\",\"dnsSearchSuffixes\":\"example.com,example.net\",\"nicLabel\":null,\"subnet\":\"10.10.10.0/24\",\"gateway\":\"10.10.10.1\",\"network\":\"network_10.10.10.0_24\",\"netmask\":\"255.255.255.0\",\"trackingId\":\"b3ce6dc1-9c13-47c4-baf1-fb78ae95c527\",\"networkId\":\"ed6553a7-2848-40a3-9200-8a3318bf604e\",\"endpoint\":\"onefuse_dev\"}",
          "storage": {
            "disks": [{
                "vm": "VirtualMachine:vm-772631",
                "name": "pp-portlapp164-boot-disk",
                "type": "HDD",
                "vcUuid": "634f89cd-bcf8-421b-bfa3-65f09557abca",
                "bootOrder": 1,
                "encrypted": false,
                "capacityGb": 16,
                "persistent": false,
                "independent": "false",
                "controllerKey": "1000",
                "diskPlacementRef": "StoragePod:group-p627707",
                "provisioningType": "thin",
                "controllerUnitNumber": "0"
              },
              {
                "name": "CD/DVD drive 1",
                "type": "CDROM",
                "encrypted": false,
                "capacityGb": 0,
                "persistent": false,
                "controllerKey": "15000",
                "controllerUnitNumber": "0"
              }
            ]
          },
          "OneFuse_SPS_GlobalProperties": "ptk_globalproperties",
          "providerId": "5025b59a-46d2-cec6-b3b2-ba6682a64d1f",
          "osType": "LINUX",
          "instanceUUID": "5025b59a-46d2-cec6-b3b2-ba6682a64d1f",
          "endpointId": "6a27e645-5625-4b71-806a-3af84309bf6b",
          "datacenter": "Datacenter:datacenter-21",
          "OneFuse_AD_State": "final",
          "primaryMAC": "00:50:56:a5:6c:e5",
          "computeHostRef": "ClusterComputeResource:domain-c26",
          "OneFuse_IsVra8GroupDeployment": "false",
          "account": "vcenter01",
          "vcUuid": "634f89cd-bcf8-421b-bfa3-65f09557abca"
        },
        "createdAt": "2021-09-23T21:09:09.182450Z",
        "state": "OK"
      }
    ]
  },
  "projectName": "Pied Piper",
  "blueprintName": "Cloud Server",
  "templateProperties": {}
}
```
