getEnvironment function
Gets details of a single Environment.
args Arguments passed to this invoke. Arguments for getEnvironment.
options Invoke options controlling this call.
Implementation
Future<GetEnvironmentResult> getEnvironment(
GetEnvironmentArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:notebooks/v1:getEnvironment',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetEnvironmentResult.fromMap(result);
}