get static method
WorkspaceServiceAccount
get(
- String name,
- Input<
String> id, { - WorkspaceServiceAccountState? state,
- CustomResourceOptions? options,
Gets an existing WorkspaceServiceAccount resource's state with the given name and id.
Implementation
static WorkspaceServiceAccount get(
String name,
pulumi.Input<String> id, {
WorkspaceServiceAccountState? state,
pulumi.CustomResourceOptions? options,
}) {
return WorkspaceServiceAccount._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}