Class: DatadogAPIClient::V2::NebiusCloudIntegrationAccountServiceAccountAuthRequest

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_request.rb

Overview

Service-account key pair authentication, the only method Nebius Cloud integration accounts support. Create a service account in the Nebius console, add it to the admin group, upload an authorized key pair to it, and issue a static API key with the OBSERVABILITY scope through the Nebius CLI.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#auth_type ⇒ Object

The authentication method type.



25
26
27
# File 'lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_request.rb', line 25

def auth_type
  @auth_type
end

#private_key ⇒ Object

The private key of the authorized key pair, in PEM format. Required when log, resource, or service-quota collection is enabled; a request that enables one of them without it is rejected with a 422 response.



28
29
30
# File 'lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_request.rb', line 28

def private_key
  @private_key
end

#public_key_id ⇒ Object

ID of the public key half of the authorized key pair, such as publickey-xxxxxxxx. Required when log, resource, or service-quota collection is enabled; a request that enables one of them without it is rejected with a 422 response.



31
32
33
# File 'lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_request.rb', line 31

def public_key_id
  @public_key_id
end

#service_account_id ⇒ Object

Non-secret ID of the Nebius service account the account authenticates as.



34
35
36
# File 'lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_request.rb', line 34

def 
  @service_account_id
end

#static_api_key ⇒ Object

Nebius static API key with the OBSERVABILITY scope, used to query logs. Required when log, resource, or service-quota collection is enabled; a request that enables one of them without it is rejected with a 422 response.



37
38
39
# File 'lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_request.rb', line 37

def static_api_key
  @static_api_key
end