| <html><body> |
| <style> |
| |
| body, h1, h2, h3, div, span, p, pre, a { |
| margin: 0; |
| padding: 0; |
| border: 0; |
| font-weight: inherit; |
| font-style: inherit; |
| font-size: 100%; |
| font-family: inherit; |
| vertical-align: baseline; |
| } |
| |
| body { |
| font-size: 13px; |
| padding: 1em; |
| } |
| |
| h1 { |
| font-size: 26px; |
| margin-bottom: 1em; |
| } |
| |
| h2 { |
| font-size: 24px; |
| margin-bottom: 1em; |
| } |
| |
| h3 { |
| font-size: 20px; |
| margin-bottom: 1em; |
| margin-top: 1em; |
| } |
| |
| pre, code { |
| line-height: 1.5; |
| font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| } |
| |
| pre { |
| margin-top: 0.5em; |
| } |
| |
| h1, h2, h3, p { |
| font-family: Arial, sans serif; |
| } |
| |
| h1, h2, h3 { |
| border-bottom: solid #CCC 1px; |
| } |
| |
| .toc_element { |
| margin-top: 0.5em; |
| } |
| |
| .firstline { |
| margin-left: 2 em; |
| } |
| |
| .method { |
| margin-top: 1em; |
| border: solid 1px #CCC; |
| padding: 1em; |
| background: #EEE; |
| } |
| |
| .details { |
| font-weight: bold; |
| font-size: 14px; |
| } |
| |
| </style> |
| |
| <h1><a href="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.environments.html">environments</a> . <a href="apigee_v1.organizations.environments.deployments.html">deployments</a></h1> |
| <h2>Instance Methods</h2> |
| <p class="toc_element"> |
| <code><a href="#list">list(parent, sharedFlows=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Lists all deployments of API proxies or shared flows in an environment.</p> |
| <h3>Method Details</h3> |
| <div class="method"> |
| <code class="details" id="list">list(parent, sharedFlows=None, x__xgafv=None)</code> |
| <pre>Lists all deployments of API proxies or shared flows in an environment. |
| |
| Args: |
| parent: string, Required. Name of the environment for which to return deployment information in the |
| following format: |
| `organizations/{org}/environments/{env}` (required) |
| sharedFlows: boolean, Optional. Flag that specifies whether to return shared flow or API proxy deployments. |
| Set to `true` to return shared flow deployments; set to `false` |
| to return API proxy deployments. Defaults to `false`. |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { |
| "deployments": [ # List of deployments. |
| { |
| "pods": [ # Status reported by runtime pods. |
| { |
| "statusCodeDetails": "A String", # Human-readable message associated with the status code. |
| "deploymentTime": "A String", # Time the proxy was deployed in milliseconds since epoch. |
| "statusCode": "A String", # Code associated with the deployment status. |
| "podStatus": "A String", # Overall status of the pod (not this specific deployment). Valid values |
| # include: |
| # - `active`: Up to date. |
| # - `stale` : Recently out of date. |
| # |
| # Pods that have not reported status in a |
| # long time are excluded from the output. |
| "podName": "A String", # Name of the pod which is reporting the status. |
| "appVersion": "A String", # Version of the application running in the pod. |
| "deploymentStatusTime": "A String", # Time the deployment status was reported in milliseconds since epoch. |
| "deploymentStatus": "A String", # Status of the deployment. Valid values |
| # include: |
| # - `deployed`: Successful. |
| # - `error` : Failed. |
| # - `pending` : Pod has not yet reported on the deployment. |
| "podStatusTime": "A String", # Time the pod status was reported in milliseconds since epoch. |
| }, |
| ], |
| "environment": "A String", # Environment. |
| "basePath": "A String", # Base path for the deployment. |
| "deployStartTime": "A String", # Time the API proxy was marked `deployed` in the control plane in |
| # millisconds since epoch. |
| "apiProxy": "A String", # API proxy. |
| "revision": "A String", # API proxy revision. |
| }, |
| ], |
| }</pre> |
| </div> |
| |
| </body></html> |