getServingConfig function
Future<GetServingConfigResult>
getServingConfig(
- GetServingConfigArgs args, {
- InvokeOptions? options,
Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
args Arguments passed to this invoke. Arguments for getServingConfig.
options Invoke options controlling this call.
Implementation
Future<GetServingConfigResult> getServingConfig(
GetServingConfigArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:retail/v2:getServingConfig',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetServingConfigResult.fromMap(result);
}