Compute Audit Trails Events: CreateInstance
- Event JSON schema
- Field description
- IamAuthentication
- IamTokenInfo
- Authorization
- ResourceMetadata
- Resource
- RequestMetadata
- Status
- EventDetails
- NetworkSettings
- PlacementPolicy
- HostAffinityRule
- Os
- Nvidia
- MetadataOptions
- ResourcesSpec
- AttachedDiskSpec
- DiskSpec
- DiskPlacementPolicy
- AttachedFilesystemSpec
- NetworkInterfaceSpec
- PrimaryAddressSpec
- OneToOneNatSpec
- DnsRecordSpec
- Resources
- AttachedDisk
- AttachedFilesystem
- NetworkInterface
- PrimaryAddress
- OneToOneNat
- DnsRecord
Event JSON schema
{
"eventId": "string",
"eventSource": "string",
"eventType": "string",
"eventTime": "string",
"authentication": {
"authenticated": "boolean",
"subjectType": "string",
"subjectId": "string",
"subjectName": "string",
"federationId": "string",
"federationName": "string",
"federationType": "string",
"tokenInfo": {
"maskedIamToken": "string",
"iamTokenId": "string",
"impersonatorId": "string",
"impersonatorType": "string",
"impersonatorName": "string",
"impersonatorFederationId": "string",
"impersonatorFederationName": "string",
"impersonatorFederationType": "string"
}
},
"authorization": {
"authorized": "boolean"
},
"resourceMetadata": {
"path": [
{
"resourceType": "string",
"resourceId": "string",
"resourceName": "string"
}
]
},
"requestMetadata": {
"remoteAddress": "string",
"userAgent": "string",
"requestId": "string",
"remotePort": "string"
},
"eventStatus": "string",
"error": {
"code": "integer",
"message": "string",
"details": [
"object"
]
},
"details": {
"instanceId": "string",
"instanceName": "string",
"description": "string",
"labels": "object",
"zoneId": "string",
"platformId": "string",
"metadataKeys": [
"string"
],
"metadataSerialPortEnable": "string",
"metadataOsloginEnable": "string",
"serviceAccountId": "string",
"networkSettings": {
"type": "string"
},
"placementPolicy": {
"placementGroupId": "string",
"hostAffinityRules": [
{
"key": "string",
"op": "string",
"values": [
"string"
]
}
],
"placementGroupPartition": "string"
},
"os": {
"type": "string",
"nvidia": {
"driver": "string"
}
},
"productIds": [
"string"
],
"metadataOptions": {
"gceHttpEndpoint": "string",
"awsV1HttpEndpoint": "string",
"gceHttpToken": "string",
"awsV1HttpToken": "string"
},
"reservedInstancePoolId": "string",
"resourcesSpec": {
"memory": "string",
"cores": "string",
"coreFraction": "string",
"gpus": "string"
},
"bootDiskSpec": {
"mode": "string",
"deviceName": "string",
"autoDelete": "boolean",
// Includes only one of the fields `diskSpec`, `diskId`
"diskSpec": {
"name": "string",
"description": "string",
"typeId": "string",
"size": "string",
// Includes only one of the fields `imageId`, `snapshotId`
"imageId": "string",
"snapshotId": "string",
// end of the list of possible fields
"diskPlacementPolicy": {
"placementGroupId": "string",
"placementGroupPartition": "string"
},
"blockSize": "string",
"kmsKeyId": "string"
},
"diskId": "string"
// end of the list of possible fields
},
"secondaryDiskSpecs": [
{
"mode": "string",
"deviceName": "string",
"autoDelete": "boolean",
// Includes only one of the fields `diskSpec`, `diskId`
"diskSpec": {
"name": "string",
"description": "string",
"typeId": "string",
"size": "string",
// Includes only one of the fields `imageId`, `snapshotId`
"imageId": "string",
"snapshotId": "string",
// end of the list of possible fields
"diskPlacementPolicy": {
"placementGroupId": "string",
"placementGroupPartition": "string"
},
"blockSize": "string",
"kmsKeyId": "string"
},
"diskId": "string"
// end of the list of possible fields
}
],
"filesystemSpecs": [
{
"mode": "string",
"deviceName": "string",
"filesystemId": "string"
}
],
"networkInterfaceSpecs": [
{
"subnetId": "string",
"primaryV4AddressSpec": {
"address": "string",
"oneToOneNatSpec": {
"ipVersion": "string",
"address": "string",
"dnsRecordSpecs": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"dnsRecordSpecs": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"primaryV6AddressSpec": {
"address": "string",
"oneToOneNatSpec": {
"ipVersion": "string",
"address": "string",
"dnsRecordSpecs": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"dnsRecordSpecs": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"securityGroupIds": [
"string"
],
"index": "string"
}
],
"hostname": "string",
"resources": {
"memory": "string",
"cores": "string",
"coreFraction": "string",
"gpus": "string"
},
"bootDisk": {
"mode": "string",
"deviceName": "string",
"autoDelete": "boolean",
"diskId": "string"
},
"secondaryDisks": [
{
"mode": "string",
"deviceName": "string",
"autoDelete": "boolean",
"diskId": "string"
}
],
"filesystems": [
{
"mode": "string",
"deviceName": "string",
"filesystemId": "string"
}
],
"networkInterfaces": [
{
"index": "string",
"macAddress": "string",
"subnetId": "string",
"primaryV4Address": {
"address": "string",
"oneToOneNat": {
"address": "string",
"ipVersion": "string",
"dnsRecords": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"dnsRecords": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"primaryV6Address": {
"address": "string",
"oneToOneNat": {
"address": "string",
"ipVersion": "string",
"dnsRecords": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"dnsRecords": [
{
"fqdn": "string",
"dnsZoneId": "string",
"ttl": "string",
"ptr": "boolean"
}
]
},
"securityGroupIds": [
"string"
]
}
],
"fqdn": "string"
},
"requestParameters": "object",
"response": "object"
}
Field description
|
Field |
Description |
|
eventId |
string |
|
eventSource |
string |
|
eventType |
string |
|
eventTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
authentication |
|
|
authorization |
|
|
resourceMetadata |
|
|
requestMetadata |
|
|
eventStatus |
enum (EventStatus)
|
|
error |
The error result of the operation in case of failure or cancellation. |
|
details |
|
|
requestParameters |
object |
|
response |
object |
IamAuthentication
|
Field |
Description |
|
authenticated |
boolean |
|
subjectType |
enum (IamSubjectType)
|
|
subjectId |
string |
|
subjectName |
string |
|
federationId |
string |
|
federationName |
string |
|
federationType |
enum (FederationType)
|
|
tokenInfo |
IamTokenInfo
|
Field |
Description |
|
maskedIamToken |
string |
|
iamTokenId |
string |
|
impersonatorId |
string |
|
impersonatorType |
enum (IamSubjectType)
|
|
impersonatorName |
string |
|
impersonatorFederationId |
string |
|
impersonatorFederationName |
string |
|
impersonatorFederationType |
enum (FederationType)
|
Authorization
|
Field |
Description |
|
authorized |
boolean |
ResourceMetadata
|
Field |
Description |
|
path[] |
Resource
|
Field |
Description |
|
resourceType |
string |
|
resourceId |
string |
|
resourceName |
string |
RequestMetadata
|
Field |
Description |
|
remoteAddress |
string |
|
userAgent |
string |
|
requestId |
string |
|
remotePort |
string (int64) |
Status
The error result of the operation in case of failure or cancellation.
|
Field |
Description |
|
code |
integer (int32) Error code. An enum value of google.rpc.Code |
|
message |
string An error message. |
|
details[] |
object A list of messages that carry the error details. |
EventDetails
|
Field |
Description |
|
instanceId |
string |
|
instanceName |
string |
|
description |
string |
|
labels |
object (map<string, string>) |
|
zoneId |
string |
|
platformId |
string |
|
metadataKeys[] |
string |
|
metadataSerialPortEnable |
string |
|
metadataOsloginEnable |
string |
|
serviceAccountId |
string |
|
networkSettings |
|
|
placementPolicy |
|
|
os |
|
|
productIds[] |
string |
|
metadataOptions |
|
|
reservedInstancePoolId |
string |
|
resourcesSpec |
|
|
bootDiskSpec |
|
|
secondaryDiskSpecs[] |
|
|
filesystemSpecs[] |
|
|
networkInterfaceSpecs[] |
|
|
hostname |
string |
|
resources |
|
|
bootDisk |
|
|
secondaryDisks[] |
|
|
filesystems[] |
|
|
networkInterfaces[] |
|
|
fqdn |
string |
NetworkSettings
|
Field |
Description |
|
type |
enum (Type)
|
PlacementPolicy
|
Field |
Description |
|
placementGroupId |
string |
|
hostAffinityRules[] |
|
|
placementGroupPartition |
string (int64) |
HostAffinityRule
|
Field |
Description |
|
key |
string |
|
op |
enum (Operator)
|
|
values[] |
string |
Os
|
Field |
Description |
|
type |
enum (Type)
|
|
nvidia |
Nvidia
|
Field |
Description |
|
driver |
string |
MetadataOptions
|
Field |
Description |
|
gceHttpEndpoint |
enum (MetadataOption)
|
|
awsV1HttpEndpoint |
enum (MetadataOption)
|
|
gceHttpToken |
enum (MetadataOption)
|
|
awsV1HttpToken |
enum (MetadataOption)
|
ResourcesSpec
|
Field |
Description |
|
memory |
string (int64) The maximum value is 274877906944. |
|
cores |
string (int64) |
|
coreFraction |
string (int64) |
|
gpus |
string (int64) |
AttachedDiskSpec
|
Field |
Description |
|
mode |
enum (Mode)
|
|
deviceName |
string Value must match the regular expression |
|
autoDelete |
boolean |
|
diskSpec |
Includes only one of the fields |
|
diskId |
string The maximum string length in characters is 50. Includes only one of the fields |
DiskSpec
|
Field |
Description |
|
name |
string Value must match the regular expression |
|
description |
string The maximum string length in characters is 256. |
|
typeId |
string The maximum string length in characters is 50. |
|
size |
string (int64) Acceptable values are 4194304 to 4398046511104, inclusive. |
|
imageId |
string The maximum string length in characters is 50. Includes only one of the fields |
|
snapshotId |
string The maximum string length in characters is 50. Includes only one of the fields |
|
diskPlacementPolicy |
|
|
blockSize |
string (int64) |
|
kmsKeyId |
string The maximum string length in characters is 50. |
DiskPlacementPolicy
|
Field |
Description |
|
placementGroupId |
string |
|
placementGroupPartition |
string (int64) |
AttachedFilesystemSpec
|
Field |
Description |
|
mode |
enum (Mode)
|
|
deviceName |
string Value must match the regular expression |
|
filesystemId |
string The maximum string length in characters is 50. |
NetworkInterfaceSpec
|
Field |
Description |
|
subnetId |
string The maximum string length in characters is 50. |
|
primaryV4AddressSpec |
|
|
primaryV6AddressSpec |
|
|
securityGroupIds[] |
string |
|
index |
string |
PrimaryAddressSpec
|
Field |
Description |
|
address |
string |
|
oneToOneNatSpec |
|
|
dnsRecordSpecs[] |
OneToOneNatSpec
|
Field |
Description |
|
ipVersion |
enum (IpVersion)
|
|
address |
string |
|
dnsRecordSpecs[] |
DnsRecordSpec
|
Field |
Description |
|
fqdn |
string |
|
dnsZoneId |
string |
|
ttl |
string (int64) Acceptable values are 0 to 86400, inclusive. |
|
ptr |
boolean |
Resources
|
Field |
Description |
|
memory |
string (int64) |
|
cores |
string (int64) |
|
coreFraction |
string (int64) |
|
gpus |
string (int64) |
AttachedDisk
|
Field |
Description |
|
mode |
enum (Mode)
|
|
deviceName |
string |
|
autoDelete |
boolean |
|
diskId |
string |
AttachedFilesystem
|
Field |
Description |
|
mode |
enum (Mode)
|
|
deviceName |
string |
|
filesystemId |
string |
NetworkInterface
|
Field |
Description |
|
index |
string |
|
macAddress |
string |
|
subnetId |
string |
|
primaryV4Address |
|
|
primaryV6Address |
|
|
securityGroupIds[] |
string |
PrimaryAddress
|
Field |
Description |
|
address |
string |
|
oneToOneNat |
|
|
dnsRecords[] |
OneToOneNat
|
Field |
Description |
|
address |
string |
|
ipVersion |
enum (IpVersion)
|
|
dnsRecords[] |
DnsRecord
|
Field |
Description |
|
fqdn |
string |
|
dnsZoneId |
string |
|
ttl |
string (int64) |
|
ptr |
boolean |