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