Class: DatadogAPIClient::V2::NebiusCloudIntegrationAccountServiceAccountAuthUpdate

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

Overview

Service-account key pair authentication, the only method Nebius Cloud integration accounts support. Only the fields provided are changed; omit private_key and static_api_key to keep the stored ones.

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_update.rb', line 25

def auth_type
  @auth_type
end

#private_key ⇒ Object

The private key of the authorized key pair, in PEM format. Omit it to keep the stored one; an empty string is rejected with a 422 response.



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

def private_key
  @private_key
end

#public_key_id ⇒ Object

ID of the public key half of the authorized key pair. Omit it to keep the stored public key ID, send null or an empty string to remove it, or send a value to replace it. Removing it is rejected with a 422 response while log, resource, or service-quota collection is enabled.



31
32
33
# File 'lib/datadog_api_client/v2/models/nebius_cloud_integration_account_service_account_auth_update.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. It cannot be cleared; sending null or an empty string is rejected with a 422 response.



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

def 
  @service_account_id
end

#static_api_key ⇒ Object

Nebius static API key with the OBSERVABILITY scope. Omit it to keep the stored one; an empty string is rejected with a 422 response.



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

def static_api_key
  @static_api_key
end