get static method

DeployPolicy get(
  1. String name,
  2. Input<String> id, {
  3. DeployPolicyState? state,
  4. CustomResourceOptions? options,
})

Gets an existing DeployPolicy resource's state with the given name and id.

Implementation

static DeployPolicy get(
  String name,
  pulumi.Input<String> id, {
  DeployPolicyState? state,
  pulumi.CustomResourceOptions? options,
}) {
  return DeployPolicy._get(
    name,
    state: state?.toMap(),
    options: pulumi.CustomResourceOptions(id: id).merge(options),
  );
}