get static method

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

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

Implementation

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