revisions_deployments
Creates, updates, deletes, gets or lists a revisions_deployments
resource.
Overview
Name | revisions_deployments |
Type | Resource |
Id | google.apigee.revisions_deployments |
Fields
Name | Datatype | Description |
---|---|---|
apiProxy | string | API proxy. |
deployStartTime | string | Time the API proxy was marked deployed in the control plane in millisconds since epoch. |
environment | string | Environment. |
errors | array | Errors reported for this deployment. Populated only when state == ERROR. Note: This field is displayed only when viewing deployment status. |
instances | array | Status reported by each runtime instance. Note: This field is displayed only when viewing deployment status. |
pods | array | Status reported by runtime pods. Note: This field is deprecated. Runtime versions 1.3 and above report instance level status rather than pod status. |
proxyDeploymentType | string | Output only. The type of the deployment (standard or extensible) Deployed proxy revision will be marked as extensible in following 2 cases. 1. The deployed proxy revision uses extensible policies. 2. If a environment supports flowhooks and flow hook is configured. |
revision | string | API proxy revision. |
routeConflicts | array | Conflicts in the desired state routing configuration. The presence of conflicts does not cause the state to be ERROR , but it will mean that some of the deployment's base paths are not routed to its environment. If the conflicts change, the state will transition to PROGRESSING until the latest configuration is rolled out to all instances. Note: This field is displayed only when viewing deployment status. |
serviceAccount | string | The full resource name of Cloud IAM Service Account that this deployment is using, eg, projects/-/serviceAccounts/{email} . |
state | string | Current state of the deployment. Note: This field is displayed only when viewing deployment status. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_environments_apis_revisions_get_deployments | SELECT | apisId, environmentsId, organizationsId, revisionsId | Gets the deployment of an API proxy revision and actual state reported by runtime pods. |
organizations_environments_sharedflows_revisions_get_deployments | SELECT | environmentsId, organizationsId, revisionsId, sharedflowsId | Gets the deployment of a shared flow revision and actual state reported by runtime pods. |
SELECT
examples
Gets the deployment of an API proxy revision and actual state reported by runtime pods.
SELECT
apiProxy,
deployStartTime,
environment,
errors,
instances,
pods,
proxyDeploymentType,
revision,
routeConflicts,
serviceAccount,
state
FROM google.apigee.revisions_deployments
WHERE apisId = '{{ apisId }}'
AND environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}'
AND revisionsId = '{{ revisionsId }}';