vCenter
Create vCenter
Endpoint to create a new vCenter
post/vmware-vcenter
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"
},
"datacenterCount": 42,
"clusterCount": 42,
"hostCount": 42,
"vmCount": 42,
"poweredOnVmCount": 42,
"datastoreCount": 42,
"resourcePoolCount": 42,
"datastoreCapacityBytes": 100,
"datastoreUsedBytes": 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
}
},
"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"
},
"collectionMethod": "Example Text",
"vcenterUrl": "This is an example of longer text content that provides detailed information.",
"vcenterUsername": "This is an example of longer text content that provides detailed information.",
"isVCenterPasswordSet": true,
"vcenterCredentialsUpdatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"collectionProbe": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"collectionProbeId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"trustedCertificateFingerprint": "Example Text",
"collectionIntervalInMinutes": 42,
"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
}
}Changes
No recorded changes to this operation across all 1 revision of this API.