デプロイは、API がホストされている場所を記述する API Hub エンティティです。たとえば、デプロイは、Apigee API プロキシ、Google Cloud API ゲートウェイにデプロイされた API、または他の Google Cloud サービスや Google Cloud 以外のサービスにデプロイされた API を表すことができます。
API バージョンを複数のデプロイに関連付けることで、特定のバージョンに対応する開発環境、ステージング、ユニバーサル受け入れテスト(UAT)、本番環境のデプロイなどのシナリオをモデル化できます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThis content is applicable to both Apigee and Apigee hybrid platforms.\u003c/p\u003e\n"],["\u003cp\u003eA deployment, within the context of API Hub, defines where an API is hosted, and may represent various environments like dev, staging, or production.\u003c/p\u003e\n"],["\u003cp\u003eMultiple API versions can be associated with a single deployment, and a single version may have multiple deployments.\u003c/p\u003e\n"],["\u003cp\u003eCreating a deployment requires specifying its type, resource URI, and the endpoints it's listening on.\u003c/p\u003e\n"]]],[],null,["# Introduction to deployments\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\nA deployment is an API hub entity that describes where an API is hosted. For example,\na deployment could represent an Apigee API proxy, an API deployed to Google Cloud API\nGateway, or APIs deployed to other Google Cloud services or non-Google Cloud services.\n\nYou can associate an API version with multiple deployments to model scenarios such as dev,\nstaging, user acceptance testing (UAT), and production deployments corresponding to a\ngiven version.\n\nYou can also associate multiple versions with a deployment in cases where multiple\nversions of an API (or potentially different APIs) are deployed together.\n\nA deployment entity includes metadata such as name, display name, description, associated\nversions, and so on. The following three attributes specify details about the deployed API and\nare required to create a deployment in API hub:\n**Figure 1.** A deployment entity includes a deployment type, a resource URI, and endpoint URLs.\n\n- **Deployment type**: Specifies the type of deployment, such as Apigee, Apigee hybrid, Apigee Edge Private Cloud, and others.\n- **Resource URI** : A URI to the deployment resource. For example, if the deployment resource is an Apigee API proxy, then this field must specify the URI to the management user interface of the proxy. **Note:** For **Apigee** deployment types, we recommend that the Resource URI conforms to the following format: `organizations/([^/]+)/environments/([^/]+)/apis/([^/]+)$`\n |\n |\n | For example, the Resource URI for an Apigee API proxy deployed to the `prod`\n | environment of the `myorg` organization is\n | `organizations/myorg/environments/prod/apis/iloveapis`.\n- **Endpoints**: The endpoints on which the actual deployment of the API is listening to requests. For example, this field could be a list of IP addresses or hostnames.\n\nFor details on creating and managing deployments, see [Manage deployments](./manage-api-deployments)."]]