getNamespace function
Gets a namespace.
args Arguments passed to this invoke. Arguments for getNamespace.
options Invoke options controlling this call.
Implementation
Future<GetNamespaceResult> getNamespace(
GetNamespaceArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:servicedirectory/v1:getNamespace',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetNamespaceResult.fromMap(result);
}