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