Skip to content

Get Service Instance

proton_get_service_instance R Documentation

Get detailed data for a service instance

Description

Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.

Usage

proton_get_service_instance(name, serviceName)

Arguments

name

[required] The name of a service instance that you want to get the detailed data for.

serviceName

[required] The name of the service that you want the service instance input for.

Value

A list with the following syntax:

list(
  serviceInstance = list(
    arn = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    deploymentStatus = "IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"CANCELLING"|"CANCELLED",
    deploymentStatusMessage = "string",
    environmentName = "string",
    lastAttemptedDeploymentId = "string",
    lastClientRequestToken = "string",
    lastDeploymentAttemptedAt = as.POSIXct(
      "2015-01-01"
    ),
    lastDeploymentSucceededAt = as.POSIXct(
      "2015-01-01"
    ),
    lastSucceededDeploymentId = "string",
    name = "string",
    serviceName = "string",
    spec = "string",
    templateMajorVersion = "string",
    templateMinorVersion = "string",
    templateName = "string"
  )
)

Request syntax

svc$get_service_instance(
  name = "string",
  serviceName = "string"
)