getVersion function
Get the specified version that has been created for the specified site. This can include versions that were created for the default live channel or for any active preview channels for the specified site.
args Arguments passed to this invoke. Arguments for getVersion.
options Invoke options controlling this call.
Implementation
Future<GetVersionResult> getVersion(
GetVersionArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:firebasehosting/v1beta1:getVersion',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetVersionResult.fromMap(result);
}