Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 11. Applications


This chapter provides information on API resources that allow a client to create and manage OpenShift applications. OpenShift supports a number of application frameworks such as PHP, JBoss, and Ruby.
The following table describes each parameter associated with an OpenShift application.
Expand
Name Description
name Name of the application.
framework Application framework. For example, JBoss, PHP, or Ruby.
domain_id The domain ID of the application.
embedded List of cartridges that have been added to this application.
creation_time Time the application was created.
scalable Whether application is scaled or not scaled. The values are either true or false.
gear_count Number of gears for this application.
gear_profile Gear size of an application. For example, small.
aliases Application server aliases, if applicable.
app_url The URL to access this application.
git_url The URL to access the Git repository for this application.
ssh_url The URL to access this application using an SSH terminal.
health_check_path The URL to check if the application is running.
uuid Unique identifier for this application.
initial_git_url The URL that was used to initialize the Git repository for this application.

11.1. Resolve DNS

Description

Check whether the DNS is created with an actual DNS nameserver lookup that is not subject to caching. When DNS availability is checked with the client tools, the value gets cached for approximately 30 seconds. This REST API call checks for DNS availability by directly querying the DNS servers.

Method and URL Structure

Expand
Method URL Structure
GET /broker/rest/application/:id/dns_resolvable

Request Parameters

Not applicable

cURL Command Example

$ curl GET https://openshift.redhat.com/broker/rest/applications/534253991015616165707776/dns_resolvable --user user@example.com
Copy to Clipboard Toggle word wrap

JSON Response

The following is an example of the API response if the DNS is resolvable. If the DNS is not resolved an error message is returned.

{
    "api_version": 1.6,
    "data": true,
    "messages": [
        {
            "exit_code": 0,
            "field": null,
            "severity": "info",
            "text": "Resolved DNS myapp-mydomain.rhcloud.com"
        }
    ],
    "status": "ok",
    "supported_api_versions": [
	    1.0,
	    1.1,
	    1.2,
	    1.3,
	    1.4,
	    1.5,
	    1.6
	  ],
	  "type": "boolean",
	  "version": "1.6"
}
Copy to Clipboard Toggle word wrap

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat