getMicroservice

On this page
Back to index

Summary

Retrieves a microservice by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringrequired
The name of the application.
microserviceName
Stringrequired
The name of the microservice.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getMicroservice( projectName: "test-projectName", applicationName: "test-applicationName", microserviceName: "test-microserviceName" )