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