Skip to content

gabdrakhmano/nebius-gosdk-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Usage

export IAM_TOKEN=$(nebius iam get-access-token)
go run main.go <INSTANCE_ID>

Example

rgabdra@ubuntu:…/gitrepos/nebius-gosdk-test# export IAM_TOKEN=$(nebius iam get-access-token)
rgabdra@ubuntu:…/gitrepos/nebius-gosdk-test# go run main.go computeinstance-e00fgr3f8qp202ex63
Instance ID: computeinstance-e00fgr3f8qp202ex63
Instance Name: mk8snodegroup-e00dxf609rfhq99a84-pgxnv-zj2gl
Instance Details: metadata:{id:"computeinstance-e00fgr3f8qp202ex63"  parent_id:"project-e00t007bm4epaaczw2"  name:"mk8snodegroup-e00dxf609rfhq99a84-pgxnv-zj2gl"  created_at:{seconds:1736505946  nanos:969240000}  labels:{key:"mk8s-cluster-id"  value:"mk8scluster-e00f7f9t183f9mp1t7"}  labels:{key:"mk8s-node-group-id"  value:"mk8snodegroup-e00dxf609rfhq99a84"}}  spec:{resources:{platform:"gpu-h100-sxm"  preset:"8gpu-128vcpu-1600gb"}  gpu_cluster:{id:"computegpucluster-e00d4m1hpx9bm3nzj8"}  network_interfaces:{subnet_id:"vpcsubnet-e00rcd8t02d0s3599a"  name:"eth0"  ip_address:{allocation_id:"vpcallocation-e00gapak12t140s8gh"}}  boot_disk:{attach_mode:READ_WRITE  existing_disk:{id:"computedisk-e00hka2zj3z67htxp1"}}  filesystems:{attach_mode:READ_WRITE  mount_tag:"jail"  existing_filesystem:{id:"computefilesystem-e00d06rw03a08pkax9"}}}  status:{state:RUNNING  network_interfaces:{name:"eth0"  ip_address:{address:"192.168.0.4/32"  allocation_id:"vpcallocation-e00gapak12t140s8gh"}  mac_address:"A2:2A:C2:8A:47:6A"}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages