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