getHl7V2StoreIamPolicy

Retrieves the current IAM policy data for a Google Cloud Healthcare HL7v2 store.

example

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const foo = gcp.healthcare.getHl7V2StoreIamPolicy({
hl7V2StoreId: google_healthcare_hl7_v2_store.hl7_v2_store.id,
});
import pulumi
import pulumi_gcp as gcp
foo = gcp.healthcare.get_hl7_v2_store_iam_policy(hl7_v2_store_id=google_healthcare_hl7_v2_store["hl7_v2_store"]["id"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var foo = Gcp.Healthcare.GetHl7V2StoreIamPolicy.Invoke(new()
{
Hl7V2StoreId = google_healthcare_hl7_v2_store.Hl7_v2_store.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/healthcare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := healthcare.GetHl7V2StoreIamPolicy(ctx, &healthcare.GetHl7V2StoreIamPolicyArgs{
Hl7V2StoreId: google_healthcare_hl7_v2_store.Hl7_v2_store.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.healthcare.HealthcareFunctions;
import com.pulumi.gcp.healthcare.inputs.GetHl7V2StoreIamPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = HealthcareFunctions.getHl7V2StoreIamPolicy(GetHl7V2StoreIamPolicyArgs.builder()
.hl7V2StoreId(google_healthcare_hl7_v2_store.hl7_v2_store().id())
.build());
}
}
variables:
foo:
fn::invoke:
Function: gcp:healthcare:getHl7V2StoreIamPolicy
Arguments:
hl7V2StoreId: ${google_healthcare_hl7_v2_store.hl7_v2_store.id}

Return

A collection of values returned by getHl7V2StoreIamPolicy.

Parameters

argument

A collection of arguments for invoking getHl7V2StoreIamPolicy.


Return

A collection of values returned by getHl7V2StoreIamPolicy.

Parameters

hl7V2StoreId

The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider's project setting will be used as a fallback.

See also


Return

A collection of values returned by getHl7V2StoreIamPolicy.

Parameters

argument

Builder for com.pulumi.gcp.healthcare.kotlin.inputs.GetHl7V2StoreIamPolicyPlainArgs.

See also