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