get Route Services
This data source provides CEN Route Service available to the user.
NOTE: Available in v1.102.0+
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.CenFunctions;
import com.pulumi.alicloud.cen.inputs.GetRouteServicesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = CenFunctions.getRouteServices(GetRouteServicesArgs.builder()
.cenId("cen-7qthudw0ll6jmc****")
.build());
ctx.export("firstCenRouteServiceId", example.applyValue(getRouteServicesResult -> getRouteServicesResult.services()[0].id()));
}
}
Return
A collection of values returned by getRouteServices.
Parameters
A collection of arguments for invoking getRouteServices.
Return
A collection of values returned by getRouteServices.
See also
Parameters
The region of the network instances that access the cloud services.
The ID of the CEN instance.
The domain name or IP address of the cloud service.
The region of the cloud service.
The VPC associated with the cloud service.
File name where to save data source results (after running pulumi preview
).
The status of the cloud service. Valid values: Active
, Creating
and Deleting
.
Return
A collection of values returned by getRouteServices.
See also
Parameters
Builder for com.pulumi.alicloud.cen.kotlin.inputs.GetRouteServicesPlainArgs.