getLicenseComputeV1 function

Future<GetLicenseComputeV1Result> getLicenseComputeV1(
  1. GetLicenseComputeV1Args args, {
  2. InvokeOptions? options,
})

Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. args Arguments passed to this invoke. Arguments for getLicense. options Invoke options controlling this call.

Implementation

Future<GetLicenseComputeV1Result> getLicenseComputeV1(
  GetLicenseComputeV1Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:compute/v1:getLicense',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetLicenseComputeV1Result.fromMap(result);
}