getRelease function
Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default live channel and any active preview channels for the specified site.
args Arguments passed to this invoke. Arguments for getRelease.
options Invoke options controlling this call.
Implementation
Future<GetReleaseResult> getRelease(
GetReleaseArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:firebasehosting/v1beta1:getRelease',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetReleaseResult.fromMap(result);
}