OpenStack Cloud
Create OpenStack Cloud
Endpoint to create a new OpenStack Cloud
post/openstack-cloud
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Example Text"
}
}Response
Created successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Example Text",
"slug": "example-slug",
"description": "This is an example of longer text content that provides detailed information.",
"otelCollectorStatus": "Example Text",
"agentVersion": "Example Text",
"lastSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"regionCount": 42,
"availabilityZoneCount": 42,
"hypervisorCount": 42,
"instanceCount": 42,
"activeInstanceCount": 42,
"volumeCount": 42,
"networkCount": 42,
"routerCount": 42,
"floatingIpCount": 42,
"projectCount": 42,
"serviceCount": 42,
"downServiceCount": 42,
"vcpuCapacity": 42,
"vcpuAllocated": 42,
"memoryCapacityBytes": 100,
"memoryAllocatedBytes": 100,
"storageCapacityBytes": 100,
"storageUsedBytes": 100,
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"isArchived": true,
"archivedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"archivedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"archivedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deletedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"deletedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"labels": [
{
"_id": "cccccccc-cccc-cccc-cccc-cccccccccccc"
},
{
"_id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
}
],
"retainTelemetryDataForDays": 42,
"telemetryRetentionConfig": {
"key": "value",
"nested": {
"data": 123
}
},
"collectionMethod": "Example Text",
"authUrl": "This is an example of longer text content that provides detailed information.",
"endpointInterface": "Example Text",
"collectionRegions": {
"key": "value",
"nested": {
"data": 123
}
},
"credentialKind": "Example Text",
"applicationCredentialId": "This is an example of longer text content that provides detailed information.",
"keystoneUsername": "This is an example of longer text content that provides detailed information.",
"userDomainName": "This is an example of longer text content that provides detailed information.",
"projectName": "This is an example of longer text content that provides detailed information.",
"projectDomainName": "This is an example of longer text content that provides detailed information.",
"isCredentialSet": true,
"credentialsUpdatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"collectionProbe": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"collectionProbeId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"trustedCertificateFingerprints": {
"key": "value",
"nested": {
"data": 123
}
},
"collectionIntervalInMinutes": 42,
"collectionOptions": {
"key": "value",
"nested": {
"data": 123
}
},
"instanceMetricsOptions": {
"key": "value",
"nested": {
"data": 123
}
},
"capacitySnapshot": {
"key": "value",
"nested": {
"data": 123
}
},
"spendSnapshot": {
"key": "value",
"nested": {
"data": 123
}
},
"usageReadAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"priceList": {
"key": "value",
"nested": {
"data": 123
}
},
"collectionStatus": "Example Text",
"collectionErrorCode": "Example Text",
"collectionError": "This is an example of longer text content that provides detailed information.",
"presentedCertificate": {
"key": "value",
"nested": {
"data": 123
}
},
"collectionSummary": {
"key": "value",
"nested": {
"data": 123
}
},
"nextCollectionAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastCollectionAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastSuccessfulCollectionAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"collectionSettingsVersion": 42,
"isAiInvestigationEnabled": true,
"aiRemediationMode": "Example Text",
"aiCommandAllowlist": {
"key": "value",
"nested": {
"data": 123
}
},
"aiAccessLastVerifiedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"aiAccessLastError": "This is an example of longer text content that provides detailed information.",
"aiAccessConfiguredAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.