OpenStack API Belgelendirmesi

Sunucu örnekleri başlatmak, imajlar oluşturmak, örneklere ve imajlara üstveri atamak, depolama konteynerleri ve nesneleri oluşturmak ve OpenStack bulutunuzdaki diğer eylemleri tamamlamak için OpenStack API’lerini kullanın.

Not

The links below are grouped according to the API status that reflects the state of the endpoint on the service.

  • ‘Current’ indicates a stable version that is up-to-date, recent, and might receive future versions. This endpoint should be prioritized over all others.

  • ‘Supported’ is a stable version that is available on the server. However, it is not likely the most recent available and might not be updated or might be deprecated at some time in the future.

  • ‘Deprecated’ is a stable version that is still available but is being deprecated and might be removed in the future.

  • ‘Experimental’ is not a stable version. This version is under development or contains features that are otherwise subject to change.

For more information about API status values and version information, see Version Discovery.

The notation ‘(microversions)’ next to the link to an API reference indicates that the API follows a pattern established by the Compute service to enable small, documented changes to the API on a resource-by-resource basis.

Mevcut API sürümleri

Acceleration API v2

Admin Logic API

Application Catalog API v1

Application Container Service API (microversions)

Backup API v1

Bare Metal API v1 (microversions)

Block Storage API v3 (microversions)

Not

Blok Depolama API v3, Blok Depolama API v2 ile işlevsel olarak özdeştir. Sonraki API v3 mikrosürümleri, 3.1 gibi, API v2’den farklıdır.

Clustering API v1

Compute API (microversions)

Container Infrastructure Management API (microversions)

Data Processing v1.1

Data Protection Orchestration v1

Database Service API v1.0

Domain Name Server (DNS) API v2

EC2 API Service

Function Engine

Identity API v3

Identity API v3 extensions

Image service API v2

Key Manager API v1

Load Balancer API v2

Messaging API v2

Networking API v2.0

NFV Orchestration API v1.0

Object Storage API v1

Orchestration API v1

Placement API (microversions)

Resource Optimization API v1

Search API v1

Shared File Systems API v2 (microversions)

Not

Paylaşılan Dosya Sistemleri API v1, Paylaşılan Dosya Sistemleri API v2 ile işlevsel olarak özdeştir. Sonraki API v2 mikrosürümleri, v2.1 gibi, API v1’den farklıdır.

Desteklenen API sürümleri

Eski API sürümleri

Block Storage API v2

Not

Blok Depolama API v3, Blok Depolama API v2 ile işlevsel olarak özdeştir. Sonraki API v3 mikrosürümleri, 3.1 gibi, API v2’den farklıdır.

Identity API v2.0 extensions

API hızlı başlama örnekleri

With the TryStack OpenStack installation, these services work together in the background of the installation, and many of these examples work on TryStack.

Kimlik ile kimlik doğruladıktan sonra OpenStack bulutunuzdaki kaynakları oluşturmak ve yönetmek için diğer OpenStack API’lerini kullanabilirsiniz. Hesaplama API’si veya openstack komut satırı istemcisini kullanarak imajlardan örnekler başlatabilir ve örneklere üstveri atayabilirsiniz.

API istekleri göndermeye başlamak için aşağıdaki yöntemlerden birini kullanabilirsiniz:

  • cURL

    HTTP istekleri göndermenizi ve cevapları almanızı sağlayan bir komut satırı aracı. OpenStack API’leri isimli bölüme bakın.

  • OpenStack komut satırı istemcisi

    OpenStack projesi, kolay kullanılabilir komutlar yardımıyla API’lere erişmenizi sağlayan bir komut satırı istemcisi sağlar. OpenStack komut satırı istemcileri isimli bölüme bakın.

  • REST istemcileri

    Both Mozilla and Google provide browser-based graphical interfaces for REST. For Firefox, see RESTClient. For Chrome, see rest-client.

  • OpenStack Python Yazılım Geliştirme Kiti (SDK)

    OpenStack bulutunuzda kaynak yaratan ve yöneten Python otomasyon betik dosyalarını yazmak için bu SDK’yi kullanın. SDK, doğrudan Python çağrıları yapmak yerine, Python nesneleri üzerinde çağrılar yaparak Python’da otomasyon görevleri gerçekleştirmenize olanak tanıyan OpenStack API’sine Python bağları uygular. Tüm OpenStack komut satırı araçları Python SDK kullanılarak gerçekleştirilmiştir. OpenStack Son Kullanıcı Kılavuzu nda OpenStack Python SDK <https://docs.openstack.org/user-guide/sdk.html> __ ya bakın.