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